Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -45,13 +45,13 @@
" [1., 1., 1.]])"
]
},
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"np.matrix(np.ones((3,3)))"
"np.matrix(np.ones([3,3]))"
]
},
{
Expand Down Expand Up @@ -102,7 +102,9 @@
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"X = np.matrix([5,5]).transpose()\n",
Expand All @@ -119,7 +121,9 @@
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# ====================== YOUR CODE HERE ======================\n",
Expand Down
14 changes: 9 additions & 5 deletions Module 1/Getting Familiar with Numpy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -45,13 +45,13 @@
" [1., 1., 1.]])"
]
},
"execution_count": 5,
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"np.matrix(np.ones((3,3)))"
"np.matrix(np.ones([3,3]))"
]
},
{
Expand Down Expand Up @@ -102,7 +102,9 @@
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"X = np.matrix([5,5]).transpose()\n",
Expand All @@ -119,7 +121,9 @@
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# ====================== YOUR CODE HERE ======================\n",
Expand Down
8 changes: 8 additions & 0 deletions Module 1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

Module 1 - Anaconda Installation

Anaconda is a python data science platform which helps you install and manage python packages on your systems.

Downloading Anaconda will help save you the hassle of installing the libraries that this course requires manually, as it already includes most commonly used libraries.

Download Link - https://www.anaconda.com/download
1 change: 1 addition & 0 deletions Module 2/Linear Regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"theta = np.zeros((2,1))\n",
"theta = np.matrix(theta)\n",
"X = np.matrix(X)\n",
"y=y_init\n",
"X[0:5]"
]
},
Expand Down
4 changes: 4 additions & 0 deletions Module 2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Task 2
1. Complete the implementation of linear regression.
2. Go through the first section of https://scikit-learn.org/stable/tutorial/index.html - Introduction to machine learining with scikit learn.
3. Refer to the blog (https://medium.com/deep-math-machine-learning-ai/chapter-1-complete-linear-regression-with-math-25b2639dde23?fbclid=IwAR1hyAw2RWw-eLcKrPKLDaVmfhXvDkY-u4hxk5tlBiqX9k4Au95yoJ9x4-w) for clarity on linear regression.
438 changes: 438 additions & 0 deletions Module 3/.ipynb_checkpoints/Logistic Regression-checkpoint.ipynb

Large diffs are not rendered by default.

269 changes: 269 additions & 0 deletions Module 3/Logistic Regression using Scikit-Learn.ipynb

Large diffs are not rendered by default.

322 changes: 240 additions & 82 deletions Module 3/Logistic Regression.ipynb

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Module 3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Task 3

1. Go through week 3 of the Andrew Ng course on Coursera
2. Use "git pull" to get the latest version of the repository
3. Complete the implementation of Logistic Regression in module 3.
Loading