Skip to content

Commit 57cb476

Browse files
committed
UPDATE Simplified_Notebook
1 parent db7084e commit 57cb476

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Simplified_Notebook/Ruban_Models.ipynb renamed to Simplified_Notebook/ML_Models.ipynb

+19-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,23 @@
99
"## **Linear Regression**"
1010
]
1111
},
12+
{
13+
"cell_type": "code",
14+
"source": [
15+
"# Linear regression libraries\n",
16+
"from sklearn.linear_model import LinearRegression, LogisticRegression, Perceptron\n",
17+
"from sklearn.metrics import r2_score, f1_score, recall_score, precision_score\n",
18+
"from sklearn.metrics import silhouette_score, accuracy_score, mean_squared_error\n",
19+
"from sklearn.metrics import mean_absolute_error\n",
20+
"\n",
21+
"from sklearn.neural_network import MLPRegressor, MLPClassifier"
22+
],
23+
"metadata": {
24+
"id": "7aIqgnt34161"
25+
},
26+
"execution_count": null,
27+
"outputs": []
28+
},
1229
{
1330
"cell_type": "code",
1431
"execution_count": null,
@@ -1425,7 +1442,7 @@
14251442
"id": "LHHVrOA5d0NX"
14261443
},
14271444
"source": [
1428-
"# ##**LOGISTIC REGRESSION** "
1445+
"# **LOGISTIC REGRESSION** "
14291446
]
14301447
},
14311448
{
@@ -2121,6 +2138,7 @@
21212138
"cell_type": "code",
21222139
"source": [
21232140
"#eta0 is the Learning rate\n",
2141+
"\n",
21242142
"model = Perceptron(random_state= 100, eta0 = 0.5)\n",
21252143
"\n",
21262144
"model.fit(xtrain, ytrain)"
@@ -4912,7 +4930,6 @@
49124930
}
49134931
],
49144932
"metadata": {
4915-
"accelerator": "GPU",
49164933
"colab": {
49174934
"provenance": []
49184935
},

0 commit comments

Comments
 (0)