op-secure/ML-Python-Scikit-Notes
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Some notes that may help understand some concepts when learning machine learning in Python with Scikit-learn. Setting up IPython (Jupyter): 1. Install Jupyter (IPython) 2. Run Jupyter notebook - 'jupyter notebook'. 3. Enter into cell: %matplotlib inline import matplotlib import numpy as np import matplotlib.pyplot as plt import pandas as pd from sklearn import datasets iris = datasets.load_iris() iris_df = pd.DataFrame(iris.data, columns = iris.feature_names) iris_df['sepal length (cm)'].hist(bins=30) 4. Run the cell