Generate synthetic dataset
In this lesson, let's see how to generate data based on a certain distribution.
We'll cover the following...
In the last lesson, we showed how to load the built-in dataset.
In addition to those built-in datasets, scikit-learn
also provides some functions that could generate data that follows some distributions.
Generate classification dataset
As we have already mentioned above, scikit-learn provides some functions to build artificial datasets. As you can see from the code below, make_classification
generates a random n-class classification dataset.
Notice: The ...