Tensorflow or Scikit for intro/junior level
[removed]
Posted Dec 28, 2018, 7:36 PM UTC
[removed]
Posted Dec 28, 2018, 7:36 PM UTC
I would focus on scikit first. All the data wrangling, getting your experiments in place properly and plotting the results is already a lot of work to learn properly and the mental overhead from the added complexity that is required for tensorflow seems not worth it while still learning everything, especially because the added benefit of tensorflow starts to happen with deep learning, when solving more traditional ML problems there is almost no benefit.
+1 for learning to make plots!
Scikit. It's so much easier to a) learn how data needs to be processed and manipulated and b) develop an easy classification pipeline to get results than tensorflow.
That's not to say TF is not valuable or sexy at the moment (it is, certainly) but for someone new, scikit is just easier to handle.
If it helps, think about it this way: using TF well requires a decent understanding of how neural networks operate; scikit covers a lot of the same topics as an intro to machine learning course
TF is very complicated, and (while I'm not an expert in it yet) to the extent I've spent time playing with it, the API seems far from ideal. It's versatile enough to do even non ML tasks (maybe think of it as a wierd CUDA front end, letting you use the GPU for arbitrary computational tasks with some built in ML helper functions?) but... man. Don't start with TF. Start with sklearn, and (when you're ready) learning pytorch or keras for NN stuff. When you're already a beast, able to tackle a whole slew of practical projects... when you need the full power and versatility that TF offers, then dive in and use that to take your skills to the next level. But starting there is going to be damn hard, and a little pointless given the powerful, much higher level tools available elsewhere.
I found everything about the structure of tensor flow to be confusing and non-intuitive while scikit made a lot of sense. Even if Tensor flow is more valuable, which I'm not convinced of either, it makes more sense to have intro level people get accustomed to easier to handle libraries.
RemindMe! 2 days
I will be messaging you on [2018-12-30 20:03:09 UTC](http://www.wolframalpha.com/input/?i=2018-12-30 20:03:09 UTC To Local Time) to remind you of this link.
[CLICK THIS LINK](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=[https://www.reddit.com/r/datascience/comments/aadhxu/tensorflow_or_scikit_for_introjunior_level/]%0A%0ARemindMe! 2 days) to send a PM to also be reminded and to reduce spam.
^(Parent commenter can ) [^(delete this message to hide from others.)](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Delete Comment&message=Delete! ecr3t8z)
| ^(FAQs) | [^(Custom)](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=Reminder&message=[LINK INSIDE SQUARE BRACKETS else default to FAQs]%0A%0ANOTE: Don't forget to add the time options after the command.%0A%0ARemindMe!) | [^(Your Reminders)](http://np.reddit.com/message/compose/?to=RemindMeBot&subject=List Of Reminders&message=MyReminders!) | ^(Feedback) | ^(Code) | ^(Browser Extensions) |
|---|
You should definitely learn sklearn over tensorflow. Sklearn has a very easy to understand API that will allow you to use linear/logistic regression (including ridge and lasso), random forests, and gradient boosting trees. Those are basically the bread and butter of sklearn.
When you move on to neural networks you can move away from sklearn. But even then I would recommend learning keras before tensorflow because the API is much easier to use (FYI keras is a high-level API for tensorflow). If you start to move onto problems that keras can't handle or you really need to optimize for speed, that's when you should learn tensorflow.
On a side note - I definitely wouldn't say tensorflow is "where things are headed", as the average company doesn't have the resources or even the need to truly utilize neural networks. So get good at all the other stuff (using sklearn), then get to neural networks/keras/tensorflow down the road.