Scikit-Learn


Scikit-Learn is a Python library built upon SciPy. This library is commonly used in machine learning to:

  • Use matplotlib and Principal Component Analysis analyze your data
  • Preprocess the data using normalization to split the data into training and test data sets
  • Construct learning models that can be used to fit, predict, and validate the data models using KMeans algorithm

To install the Scikit-Learn library, install onto your version of Python from command line using the following command:

                
                    
                        
                        pip install sklearn
                    
                
            

To import the Scikit-Learn library into your scripts, use the following code to have access to it as a reference:

                
                    
                
            

Source: Python Machine Learning: Scikit-Learn Tutorial