First, let's look at the functions contained in the Python package called sklearn. The code has just three lines:
import sklearn as sk x=dir(sk) print(x)
The related output is shown here:
For one specific submodule, it is called sklearn.cluster, as shown:
from sklearn import cluster x=dir(cluster) print(x)
The output is shown here:
In addition, we can show many embedded datasets by using the following three lines of Python code:
import sklearn.datasets as datasets x=dir(datasets) print(x) ...