Nearest-Neighbor Methods

This chapter will focus on nearest-neighbor methods, and how to implement them in TensorFlow. We will start with an introduction to the methods, and we will illustrate how to implement various forms. The chapter will end with examples of address matching and image recognition.

In this chapter, we will cover the following:

  • Working with nearest-neighbors
  • Working with text based distances
  • Computing mixed distance functions
  • Using an address matching example
  • Using nearest-neighbors for image recognition

Get TensorFlow Machine Learning Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.