These are chat archives for FreeCodeCamp/DataScience

20th
Aug 2018
Alice Jiang
@becausealice2
Aug 20 2018 00:25
JavaScript's biggest appeal over both R and Python is speed, but it has a tendency to behave "unpredictably", which is really just a fancy way of saying the programmer doesn't understand the language
and it's not faster when you have to spend seven years learning to understand async code..... so.....
I have nothing against JS for DS prototyping otherwise, but think that it should be set aside with R and Python for languages that scale better to swim around in bigger lakes.
Alice Jiang
@becausealice2
Aug 20 2018 00:35
I was perusing edx looking to see what offering exist in the data and CS subjects that weren't by Microsoft which turned out to be basically none. But, Microsoft has really fleshed out their curriculum for their professional certificate offerings. I'm mildly impressed, and tempted to work through one to see if the courses are as impressive
Based on my memory of the courses back in the day, the content is basic, more intended to teach how to use their product than how their product works (so that you could theoretically reproduce the same thing outside of AzureML), but the extra resources they linked to were always really good (and free!)
mstellaluna
@mstellaluna
Aug 20 2018 01:22
@becausealice2 :wave:
Alice Jiang
@becausealice2
Aug 20 2018 02:35
:wave:
Abhimanyu Aryan
@AbhimanyuAryan
Aug 20 2018 07:13

@GoldbergData Javascript has very popular Data Visulation library. Just like people use Node for OS automation & Runtime, Express & Koa for backend, React for Frontend, React 360 for 360, Three.js & AFrame for(VR), PWA, Web Assembly

TensorFlowJS is future of ML in Javascript & there’s are n number of Data Science tools in javascript that can achieve anything that you would in Python/R.

Language has never been a barrier

I know it’s hard but Javascript is going to fast. ML is fancy way of saying Data Science by computer scientists. DS is a term used by Mathematicians & Stats people. There’s not much of a difference between both. Google launched TensorFlowJS for a reason
Abhimanyu Aryan
@AbhimanyuAryan
Aug 20 2018 07:32

Not to mention Karpathy also uses Javascript to write ML

https://cs.stanford.edu/~karpathy/svmjs/demo/demoforest.html

Skilearn has this SVMs, Random Forest etc etc implementation but Karpathy has re-wrote them in Javascript
Josh Goldberg
@GoldbergData
Aug 20 2018 12:03

@AbhimanyuAryan If you’re referring to D3, I agree. D3 is awesome, though the learning curve is steep and it's incredibly verbose compared to other exploratory visualization libaries in R (and even python). D3 has been more so used to showcase final results after all the work has been done. It typically hasn’t served well for the day to day grind of doing data science work, at least in my experience. I know Mike B. has created a notebook product to try to make it more interactive.

JS is fast, but is it faster than other compiled languages like C/C++? These languages are called by R and python to perform all the heavy lifting, so the intense operations are not interpreted. If JS is not faster than C/C++, then maybe Google’s play with TensorflowJS is somewhere elsewhere. Maybe JS will have some unforseen innovation in DS/AI given it’s the canonical web language.

The label put on this kind of work is another discussion (I’m not sure it’s entirely important what we call it) and highly subjective.

As for tools, I don’t doubt there are libraries available in JS to do the work (cool link you sent). The question is it easier or harder to do the job? By how much? Any friction has a cost on daily work, and could dramatically slow down or cause a project to fail. Some times the friction is mild enough that it does not matter though. I think JS is cool! I just think there are better tools to do DS work at the moment. Maybe that will change in the future.