Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applied-Data-Science-with-Python #1

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
ecdd653
add slides
MaxPoon Mar 12, 2017
ff0b189
make directories
MaxPoon Mar 12, 2017
508992d
add assignment
MaxPoon Mar 12, 2017
0d9d64a
add slides
MaxPoon Mar 12, 2017
0c3fb36
add demo
MaxPoon Mar 14, 2017
faed386
add assignment solution
MaxPoon Mar 15, 2017
34768b8
add demo
MaxPoon Mar 16, 2017
aa42428
add practice assignment
MaxPoon Mar 17, 2017
7b552b0
add assignment code
MaxPoon Mar 17, 2017
5f6c2ea
add demo
MaxPoon Mar 18, 2017
d18f2f4
add slide
MaxPoon Mar 18, 2017
988935f
add assignment codes
MaxPoon Mar 18, 2017
6d1fc03
add certificate
MaxPoon Mar 19, 2017
14cb176
add ipython module
MaxPoon Jun 11, 2017
cf560c9
run the module
MaxPoon Jun 12, 2017
d593888
finish assignment
MaxPoon Jun 12, 2017
b923b74
add modules
MaxPoon Jun 13, 2017
4d19311
finish assignment
MaxPoon Jun 13, 2017
99e1c8d
add module
MaxPoon Jun 14, 2017
5c01415
finish assignment
MaxPoon Jun 14, 2017
0ca6e6c
add module
MaxPoon Jun 15, 2017
47075b2
add module
MaxPoon Jun 15, 2017
bf917e0
finish assignment
MaxPoon Jun 15, 2017
53b81da
add certificate
MaxPoon Jun 15, 2017
6f505c8
add week1 practice file
MaxPoon Oct 20, 2017
15dea51
add practice
MaxPoon Oct 20, 2017
9d4fc0f
borrow solutions...
MaxPoon Oct 20, 2017
1767e8c
add ipython file
MaxPoon Oct 21, 2017
b866b0c
finish assignment2
MaxPoon Oct 21, 2017
b540b68
add practice file
MaxPoon Oct 21, 2017
10a3b91
finish assignment3
MaxPoon Oct 21, 2017
dace701
add slides
MaxPoon Oct 21, 2017
ebeb783
finish assignment4
MaxPoon Oct 21, 2017
ea5edd7
add certificate
MaxPoon Oct 21, 2017
da24a96
add slides
MaxPoon Oct 24, 2017
d4e4df5
add practice file
MaxPoon Oct 25, 2017
4523f37
add solution to assignment1
MaxPoon Oct 25, 2017
7f45d1a
add slides
MaxPoon Oct 25, 2017
627018d
add practice file
MaxPoon Oct 25, 2017
02e08b3
add solutions to assignment2
MaxPoon Oct 25, 2017
a6a6969
add slides
MaxPoon Oct 25, 2017
204c397
add solution to assignment3
MaxPoon Oct 25, 2017
281ee03
add slides
MaxPoon Oct 26, 2017
ff01784
add practice file
MaxPoon Oct 26, 2017
fa618f8
add solution to assignment4
MaxPoon Oct 26, 2017
a8cc150
add certificate
MaxPoon Oct 26, 2017
68fb869
add certificate
MaxPoon Oct 26, 2017
d202fd1
Delete jupyter_notebooks.txt
MaxPoon Oct 27, 2017
8a4eb0e
Update Assignment2.ipynb
Vipul115 Nov 23, 2017
4c968b4
Merge pull request #4 from Vipul115/patch-1
MaxPoon Nov 24, 2017
c34860e
update solution
MaxPoon Dec 19, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Assignment2.ipynb
In Q2, you have calculated the normal score and not the R^2 Score. Please correct me if I'm wrong, thanks  :)
Vipul115 authored Nov 23, 2017
commit 8a4eb0e9576ecea4f9bb892ea0b3decaf037bff0
4 changes: 2 additions & 2 deletions Applied-Machine-Learning-In-Python/week2/Assignment2.ipynb
Original file line number Diff line number Diff line change
@@ -1829,9 +1829,9 @@
" poly = PolynomialFeatures(degree=degree)\n",
" X_poly = poly.fit_transform(X_train.reshape(11,1))\n",
" linreg = LinearRegression().fit(X_poly, y_train)\n",
" r2_train[degree] = linreg.score(X_poly, y_train)\n",
" r2_train[degree] = r2_score(y_train,linreg.predict(X_poly)\n",
" X_test_poly = poly.fit_transform(X_test.reshape(4,1))\n",
" r2_test[degree] = linreg.score(X_test_poly, y_test)\n",
" r2_test[degree] =r2_score(y_test,linreg.predict(X_test_poly)\n",
" return (r2_train, r2_test)"
]
},