Posts

Download course assignments from coursera (deeplearning.ai)

Download course assignments from coursera (in my case deeplearning.ai course assignments) First, try instructions listed here: https://learner.coursera.help/hc/en-us/articles/360004990332-Download-Jupyter-Workspace-files If that doesn't work because of network error, then try splitting it, as suggested in this post: https://www.reddit.com/r/learnmachinelearning/comments/7er5ps/coursera_downloading_all_the_assignments_jupyter/ Even with that, the file size limit of about 5Mb will still exist. To increase the file size limit to about 15 Mb , include the word 'out' in archive file name or create a folder named ' out' and move the archive file or parts into it. This is a weird hack. Disclaimer: I have not tested this thoroughly. May not work always. How did I think about it? There's a folder /scripts  on the coursera virtual machine. Read file  setup_files.py (using cat setup_files.py ) This file contains the function: def should_clobber(source

Linear Regression in R and Python - रस ग्रहणाचे प्रयत्न

R library functions for Linear Regression package:  stats function: lm() Returns an object of type: list > typeof(lm.D9) [1] "list" > class(lm.D9) [1] "lm" > attributes(lm.D9) $`names`  [1] "coefficients"  "residuals"     "effects"       "rank"           [5] "fitted.values" "assign"        "qr"            "df.residual"    [9] "contrasts"     "xlevels"       "call"          "terms"         [13] "model"         $class [1] "lm" Further reading:   https://www.machinelearningplus.com/machine-learning/complete-introduction-linear-regression-r/ Alternatives to lm: http://www.sumsar.net/blog/2015/03/a-speed-comparison-between-flexible-linear-regression-alternatives-in-r/ Python library functions for Linear Regression library: scikitlearn object? : linear_model Example: copied from py