2
$\begingroup$

I've been a Data Scientist for a few years now, but I've only recently started to do most of my work in Python (boy, do I miss ggplot2! But altair is coming to the rescue).

I want to improve my Python skills and, since most of my work is related to developing Data Science & Analytics applications, I'd rather learn from a book about these topics than from a book on, say, Application Server frameworks. Also, since I mostly develop Deep Learning models, I was looking for a PyTorch book. However I could only find two, of which one is really crappy, and the other one is from authors I really respect, but on a topic I don't work with (NLP):

https://www.amazon.com/Natural-Language-Processing-PyTorch-Applications/dp/1491978236

So I've done a bit of research and found about the following books:

Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems

Data Science from Scratch: First Principles with Python

Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython(second edition recently came out)

Python Data Science Handbook: Essential Tools for Working with Data

Which book would you choose? You're free to suggest other titles. Requirements, in order of importance:

  1. It should be a good book about Python, so the code should be Pythonic
  2. It should be about about PyTorch, but not only about NLP (this requirement will probably be unfulfilled, for reasons above). Not about Keras, or mainly about Keras: I already have a reference for that.
  3. It should be about Data Science

Price is not an issue.

$\endgroup$
1
  • 3
    $\begingroup$ Take a look at coursera's datascience in python 5 specialization. They introduce good free books. They are also available in their reference page. $\endgroup$ May 5, 2018 at 12:37

2 Answers 2

2
$\begingroup$

I am reading Hands-On Machine Learning with Scikit-Learn and TensorFlow, its a great book (1/2 way thru). However it uses Scikit as per the title and some of the mechanics inside Sckit are a black box (not explained in depth). The general concepts however are still quite well written.

The 2nd half of the book is about TensorFlow so again, perhaps not what you want if you're focused on PyTorch ?

$\endgroup$
2
  • 2
    $\begingroup$ Tensorflow could be ok, as long as it's proper Tensorflow, not Keras (I already have a reference for that). I'm not exclusively focused on PyTorch, but I admit I like it quite a lot - writing code in PyTorch feels a lot more Pythonic than in Tensorflow (to be precise, it feels like coding in NumPy), so I thought that a book on PyTorch would easily double as a book to learn about NumPy/Python $\endgroup$
    – DeltaIV
    May 5, 2018 at 13:13
  • 2
    $\begingroup$ Yes, so far (haven't done much in TF) I agree it feels un-Py like since its more graph oriented. I can't remember where I heard (podcast) that Google was working on some newer API's there were less graph oriented (for more Pythonic feel??) $\endgroup$
    – Doug F
    May 5, 2018 at 13:36
1
$\begingroup$

Use the random.randint function to have Python recommend a book for you.

Probably none is objectively best. And I don't see any training data to predict this.

$\endgroup$
4
  • 3
    $\begingroup$ One of the most useless answers ever. $\endgroup$
    – DeltaIV
    May 6, 2018 at 8:01
  • 1
    $\begingroup$ It does help you choose a book, doesn't it? $\endgroup$ May 6, 2018 at 16:50
  • 1
    $\begingroup$ you don't understand the concept of the tag [reference-request], do you? $\endgroup$
    – DeltaIV
    May 6, 2018 at 22:06
  • $\begingroup$ No, please explain it to me, why my answer "book 2 because my random number said so" does not recommend a book. $\endgroup$ May 6, 2018 at 22:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.