November 2017
Intermediate to advanced
1035 pages
11h 31m
English
I will again implore you to use some of your own data for this book, but in the event you cannot, we'll learn how we can use scikit-learn to create toy data.
Very similar to getting built-in datasets, fetching new datasets, and creating sample datasets, the functions that are used follow the naming convention make_<the data set>. Just to be clear, this data is purely artificial:
>>> datasets.make_*? datasets.make_biclusters datasets.make_blobs datasets.make_checkerboard datasets.make_circles datasets.make_classification ...
To save typing, import the datasets module as d , and numpy as np:
>>> import sklearn.datasets as d >>> import numpy as np
This section will walk you through ...
Read now
Unlock full access