Skip to content

gabrielalastra/machine_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    Willkommen!

This is my repository of studies on Machine Learning.
Here you'll find examples of Machine Learning exercises for the types of models:    

  • Linear Regression

  • from sklearn import datasets, linear_model
    from sklearn.metrics import mean_squared_error, r2_score
    from sklearn.model_selection import train_test_split

  • Decision Tree and Random Forest

  • from sklearn import tree
    from sklearn.tree import DecisionTreeClassifier, export_graphviz
    from sklearn.ensemble import RandomForestClassifier
    from sklearn.model_selection import train_test_split
    from sklearn.preprocessing import StandardScaler
    from sklearn.metrics import classification_report, accuracy_score, confusion_matrix, r2_score, mean_squared_error
    import graphviz

  • k-Nearest Neighbors

  • from sklearn.preprocessing import StandardScaler
    from sklearn.model_selection import train_test_split
    from sklearn.neighbors import KNeighborsClassifier
    from sklearn.metrics import classification_report,confusion_matrix

About

my ML studies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published