Skip to content

Commit

Permalink
Change designation of the "Species" array from 'feature' to 'target a…
Browse files Browse the repository at this point in the history
…rray', as was likely intended.
  • Loading branch information
Sebastiaan committed Jan 28, 2017
1 parent 6b4f391 commit c649385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/05.02-Introducing-Scikit-Learn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"While some Scikit-Learn estimators do handle multiple target values in the form of a two-dimensional, ``[n_samples, n_targets]`` target array, we will primarily be working with the common case of a one-dimensional target array.\n",
"\n",
"Often one point of confusion is how the target array differs from the other features columns. The distinguishing feature of the target array is that it is usually the quantity we want to *predict from the data*: in statistical terms, it is the dependent variable.\n",
"For example, in the preceding data we may wish to construct a model that can predict the species of flower based on the other measurements; in this case, the ``species`` column would be considered the feature.\n",
"For example, in the preceding data we may wish to construct a model that can predict the species of flower based on the other measurements; in this case, the ``species`` column would be considered the target array.\n",
"\n",
"With this target array in mind, we can use Seaborn (see [Visualization With Seaborn](04.14-Visualization-With-Seaborn.ipynb)) to conveniently visualize the data:"
]
Expand Down

0 comments on commit c649385

Please sign in to comment.