ISLR (Gareth James, Daniela Witten, Trevor Hastie and Robert Tibshirani) Examples in Julia

188 views
Skip to first unread message

webus...@gmail.com

unread,
Dec 14, 2014, 10:36:22 AM12/14/14
to julia...@googlegroups.com
I'm going through ISRL and find the book very useful. I see that someone has loaded the data from the book:


Someone has also taken the chapters in R and implemented in numpy:


The book is great, and I would love to see the examples implemented in Julia...

 

John Myles White

unread,
Dec 14, 2014, 10:41:02 AM12/14/14
to julia...@googlegroups.com
This would be a great first project for someone interested in learning Julia.

FWIW, the RDatasets.jl repo doesn't have anything to do with ISRL -- except insofar as ISRL decided to use common R datasets.

 -- John

Johan Sigfrids

unread,
Dec 14, 2014, 11:07:05 AM12/14/14
to julia...@googlegroups.com
There is a ISLR package for R with a bunch of example datasets used in the book. Those datasets are also available in RDatasets.jl

Doing the ISLR example in Julia would involve a lot of writing of functionality. Last summer I browsed through the statistics functionality available in Julia and something like 60-70% of the stuff used in ISLR isn't yet implemented.

webus...@gmail.com

unread,
Dec 14, 2014, 12:10:13 PM12/14/14
to julia...@googlegroups.com
That's interesting. What sort of stuff was not implemented? I would have thought (by now) the coverage would be much higher than 30-40%...

Johan Sigfrids

unread,
Dec 14, 2014, 1:42:05 PM12/14/14
to julia...@googlegroups.com
If you just look at the main chapters thing looks pretty good. Julia has packages for regression, resampling, trees, SVM, PCA, clustering and so on. But when you start looking into the details of what the packages offer you find that the Julia offerings are very spars compared to what ISLR uses in R.

Viral Shah

unread,
Dec 15, 2014, 1:25:33 AM12/15/14
to julia...@googlegroups.com
We certainly have some ways to go. I think that matching R is unrealistic, but to start with, having a good working set would be great. I think that John's rework of DataFrames will give us a great push. Also, I am hopeful that with greater demand, more developers will be interested, and that the state of statistics in julia will greatly improve in the 0.4 and 0.5 timeframe.

-viral
Reply all
Reply to author
Forward
0 new messages