Python-Machine-Learning
Python-Machine-Learning copied to clipboard
D-Lab's 6 hour introduction to machine learning in Python. Learn how to perform classification, regression, clustering, and do model selection using scikit-learn in Python.
Error with data.corr() in Exploratory Data Analysis: Error message: ValueError: could not convert string to float: 'chevrolet chevelle malibu' Solution: data.drop('car name',axis=1).corr()
pd.read_csv("../data/world_happiness.csv")
PicklingError: ("Can't pickle : it's not found as numpy.dtype[float64]", 'PicklingError while hashing {\'X\': array([[-0.8137693 , 0.91314495, 0.57967737, 0.00940568, 0.89901425,\n -0.49161791],\n [ 1.63793717, -0.2249728 , -1.51950333, 0.40881057, -0.92860994,\n -0.29477607],\n [-0.9352552 ,...
Issue with seaborn when plotting histograms. doesn't seem to be an issue with other machines besides Renata's. tried updating seaborn
The code breaks at the following line: data = data.dropna(subset='sex') See comments in the notebook. Likely an issue with dependencies.
- Replace Iris dataset - There is no baseline model for classification (decision tree?). What about logistic regression? - Feel like some sections lack explanations (e.g., feature importances, comparing different...
1. General Note: May be useful to add some content on dimensionality reduction (e.g., PCA, SVD, LCA). 2. K-Means Clustering: May want to touch upon the problem of determine the...