Andrews curve

Let's start with something easy. We will see how to use Andrews curve to visualize our Iris data. Andrews curve is a very simple visualization method yet it is sometimes an effective way to spot clusters in multi-dimensional data.

The way it works is really simple. Each row is plotted as a separate curve. Suppose we have a row Andrews curve, where Andrews curveis the value of the ith attribute for that row. Then, the curve corresponding to this row is given here:

, where .

Therefore, each row defines a finite Fourier series. This curve is then plotted. We will ...

Get Scientific Computing with Scala 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.