How it works...

Here is the classification of I. setosa results for four different gamma values (1, 10, 25, and 100). Note how the higher the gamma value, the more of an effect each individual point has on the classification boundary:

Figure 9: Classification results of I. setosa using a Gaussian kernel SVM with four different values of gamma

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.