Skip to content

Commit

Permalink
labsheets
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashKobal committed Jan 12, 2024
1 parent 077f16e commit 082772f
Show file tree
Hide file tree
Showing 12 changed files with 16,796 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Machine Learning/12. K Means/K-Means.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"source": [
"from sklearn.cluster import KMeans\n",
"import pandas as pd\n",
"from sklearn.preprocessing import MinMaxScaler\n",
"from matplotlib import pyplot as plt\n",
"from sklearn.preprocessing import MinMaxScalerx\n",
"from matplotlib import pyplot as plt \n",
"%matplotlib inline"
]
},
Expand Down Expand Up @@ -125,7 +125,7 @@
}
],
"source": [
"#\n",
"# ploting the scatter plot using age and income\n",
"plt.scatter(df.Age,df['Income($)'])\n",
"plt.xlabel('Age')\n",
"plt.ylabel('Income($)')"
Expand Down
2 changes: 1 addition & 1 deletion Machine Learning/12. K Means/k_means.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
}
],
"source": [
"# ploting the scatter plot using age and income\n",
"\n",
"plt.scatter(df.Age,df['Income($)'])\n",
"plt.xlabel('Age')\n",
"plt.ylabel(\"Income in $\")"
Expand Down
1 change: 1 addition & 0 deletions Machine Learning/Labsheet5.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 082772f

Please sign in to comment.