|
1 | 1 | Data Science from Scratch |
2 | 2 | ========================= |
3 | 3 |
|
4 | | -Here's all the code and examples from the second edition of my book _Data Science from Scratch_. |
| 4 | +Here's all the code and examples from the second edition of my book _Data Science from Scratch_. They require at least Python 3.6. |
5 | 5 |
|
6 | 6 | (If you're looking for the code and examples from the first edition, that's in the `first-edition` folder.) |
7 | 7 |
|
| 8 | +If you want to use the code, you should be able to clone the repo and just do things like |
| 9 | + |
| 10 | +``` |
| 11 | +In [1]: from scratch.linear_algebra import dot |
| 12 | +
|
| 13 | +In [2]: dot([1, 2, 3], [4, 5, 6]) |
| 14 | +Out[2]: 32 |
| 15 | +``` |
| 16 | + |
| 17 | +and so on and so forth. |
8 | 18 |
|
9 | 19 | ## Table of Contents |
10 | 20 |
|
11 | 21 | 1. Introduction |
12 | 22 | 2. A Crash Course in Python |
13 | | -3. [Visualizing Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/visualizing_data.py) |
14 | | -4. [Linear Algebra](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/linear_algebra.py) |
15 | | -5. [Statistics](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/statistics.py) |
16 | | -6. [Probability](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/probability.py) |
17 | | -7. [Hypothesis and Inference](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/hypothesis_and_inference.py) |
18 | | -8. [Gradient Descent](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/gradient_descent.py) |
19 | | -9. [Getting Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/getting_data.py) |
20 | | -10. [Working With Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/working_with_data.py) |
21 | | -11. [Machine Learning](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/machine_learning.py) |
22 | | -12. [k-Nearest Neighbors](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/nearest_neighbors.py) |
23 | | -13. [Naive Bayes](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/naive_bayes.py) |
24 | | -14. [Simple Linear Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/simple_linear_regression.py) |
25 | | -15. [Multiple Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/multiple_regression.py) |
26 | | -16. [Logistic Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/logistic_regression.py) |
27 | | -17. [Decision Trees](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/decision_trees.py) |
28 | | -18. [Neural Networks](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/neural_networks.py) |
| 23 | +3. [Visualizing Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/visualizing_data.py) |
| 24 | +4. [Linear Algebra](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/linear_algebra.py) |
| 25 | +5. [Statistics](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/statistics.py) |
| 26 | +6. [Probability](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/probability.py) |
| 27 | +7. [Hypothesis and Inference](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/hypothesis_and_inference.py) |
| 28 | +8. [Gradient Descent](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/gradient_descent.py) |
| 29 | +9. [Getting Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/getting_data.py) |
| 30 | +10. [Working With Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/working_with_data.py) |
| 31 | +11. [Machine Learning](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/machine_learning.py) |
| 32 | +12. [k-Nearest Neighbors](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/nearest_neighbors.py) |
| 33 | +13. [Naive Bayes](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/naive_bayes.py) |
| 34 | +14. [Simple Linear Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/simple_linear_regression.py) |
| 35 | +15. [Multiple Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/multiple_regression.py) |
| 36 | +16. [Logistic Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/logistic_regression.py) |
| 37 | +17. [Decision Trees](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/decision_trees.py) |
| 38 | +18. [Neural Networks](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/neural_networks.py) |
29 | 39 | 19. [Deep Learning] |
30 | | -20. [Clustering](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/clustering.py) |
31 | | -21. [Natural Language Processing](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/natural_language_processing.py) |
32 | | -22. [Network Analysis](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/network_analysis.py) |
33 | | -23. [Recommender Systems](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/recommender_systems.py) |
34 | | -24. [Databases and SQL](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/databases.py) |
35 | | -25. [MapReduce](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/mapreduce.py) |
| 40 | +20. [Clustering](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/clustering.py) |
| 41 | +21. [Natural Language Processing](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/natural_language_processing.py) |
| 42 | +22. [Network Analysis](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/network_analysis.py) |
| 43 | +23. [Recommender Systems](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/recommender_systems.py) |
| 44 | +24. [Databases and SQL](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/databases.py) |
| 45 | +25. [MapReduce](https://github.com/joelgrus/data-science-from-scratch/blob/master/scratch/mapreduce.py) |
36 | 46 | 26. Data Ethics |
37 | 47 | 27. Go Forth And Do Data Science |
0 commit comments