Data Science from Scratch
=========================
Here's all the code and examples from the first edition of my book __[Data Science from Scratch](http://joelgrus.com/2015/04/26/data-science-from-scratch-first-principles-with-python/)__. The `code` directory contains Python 2.7 versions, and the `code-python3` direction contains the Python 3 equivalents. (I tested them in 3.5, but they should work in any 3.x.)
Each can be imported as a module, for example (after you cd into the /code directory):
```python
from linear_algebra import distance, vector_mean
v = [1, 2, 3]
w = [4, 5, 6]
print distance(v, w)
print vector_mean([v, w])
```
Or can be run from the command line to get a demo of what it does (and to execute the examples from the book):
```bat
python recommender_systems.py
```
Additionally, I've collected all the [links](https://github.com/joelgrus/data-science-from-scratch/blob/master/links.md) from the book.
And, by popular demand, I made an index of functions defined in the book, by chapter and page number.
The data is in a [spreadsheet](https://docs.google.com/spreadsheets/d/1mjGp94ehfxWOEaAFJsPiHqIeOioPH1vN1PdOE6v1az8/edit?usp=sharing), or I also made a toy (experimental) [searchable webapp](http://joelgrus.com/experiments/function-index/).
## Table of Contents
1. Introduction
2. A Crash Course in Python
3. [Visualizing Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/visualizing_data.py)
4. [Linear Algebra](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/linear_algebra.py)
5. [Statistics](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/statistics.py)
6. [Probability](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/probability.py)
7. [Hypothesis and Inference](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/hypothesis_and_inference.py)
8. [Gradient Descent](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/gradient_descent.py)
9. [Getting Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/getting_data.py)
10. [Working With Data](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/working_with_data.py)
11. [Machine Learning](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/machine_learning.py)
12. [k-Nearest Neighbors](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/nearest_neighbors.py)
13. [Naive Bayes](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/naive_bayes.py)
14. [Simple Linear Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/simple_linear_regression.py)
15. [Multiple Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/multiple_regression.py)
16. [Logistic Regression](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/logistic_regression.py)
17. [Decision Trees](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/decision_trees.py)
18. [Neural Networks](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/neural_networks.py)
19. [Clustering](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/clustering.py)
20. [Natural Language Processing](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/natural_language_processing.py)
21. [Network Analysis](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/network_analysis.py)
22. [Recommender Systems](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/recommender_systems.py)
23. [Databases and SQL](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/databases.py)
24. [MapReduce](https://github.com/joelgrus/data-science-from-scratch/blob/master/code/mapreduce.py)
25. Go Forth And Do Data Science
没有合适的资源?快使用搜索试试~ 我知道了~
Data Science from Scratch
共108个文件
py:85个
txt:11个
md:6个
需积分: 5 0 下载量 141 浏览量
2024-12-19
22:00:58
上传
评论
收藏 870KB ZIP 举报
温馨提示
Data Science from Scratch
资源推荐
资源详情
资源评论
收起资源包目录
Data Science from Scratch (108个子文件)
stocks.csv 1.65MB
comma_delimited_stock_prices.csv 119B
comma_delimited_stock_prices.csv 118B
comma_delimited_stock_prices.csv 118B
.gitignore 19B
LICENSE 1KB
links.md 9KB
README.md 4KB
README.md 4KB
README.md 4KB
INSTALL.md 339B
README.md 0B
nlp.py 25KB
deep_learning.py 23KB
crash_course_in_python.py 20KB
working_with_data.py 18KB
working_with_data.py 16KB
working_with_data.py 16KB
databases.py 13KB
recommender_systems.py 13KB
multiple_regression.py 11KB
getting_data.py 11KB
clustering.py 10KB
natural_language_processing.py 10KB
natural_language_processing.py 10KB
multiple_regression.py 8KB
multiple_regression.py 8KB
neural_networks.py 8KB
introduction.py 8KB
introduction.py 8KB
databases.py 8KB
introduction.py 8KB
databases.py 8KB
logistic_regression.py 7KB
nearest_neighbors.py 7KB
nearest_neighbors.py 7KB
decision_trees.py 7KB
network_analysis.py 7KB
network_analysis.py 7KB
inference.py 7KB
mapreduce.py 7KB
statistics.py 7KB
network_analysis.py 7KB
neural_networks.py 6KB
getting_data.py 6KB
clustering.py 6KB
neural_networks.py 6KB
clustering.py 6KB
getting_data.py 6KB
recommender_systems.py 6KB
recommender_systems.py 6KB
logistic_regression.py 6KB
naive_bayes.py 6KB
logistic_regression.py 6KB
hypothesis_and_inference.py 6KB
hypothesis_and_inference.py 6KB
gradient_descent.py 6KB
decision_trees.py 6KB
gradient_descent.py 6KB
statistics.py 6KB
stats.py 6KB
decision_trees.py 6KB
mapreduce.py 6KB
linear_algebra.py 5KB
mapreduce.py 5KB
gradient_descent.py 5KB
visualizing_data.py 5KB
visualizing_data.py 5KB
k_nearest_neighbors.py 5KB
probability.py 5KB
visualization.py 5KB
naive_bayes.py 4KB
naive_bayes.py 4KB
simple_linear_regression.py 4KB
simple_linear_regression.py 4KB
probability.py 4KB
probability.py 4KB
linear_algebra.py 4KB
linear_algebra.py 3KB
simple_linear_regression.py 3KB
machine_learning.py 2KB
machine_learning.py 1KB
machine_learning.py 1KB
most_common_words.py 740B
nlp_advanced.py 690B
most_common_words.py 667B
plot_state_borders.py 625B
plot_state_borders.py 597B
egrep.py 444B
egrep.py 444B
line_count.py 165B
line_count.py 163B
__init__.py 0B
__init__.py 0B
charts.py 0B
__init__.py 0B
charts.py 0B
stocks.txt 344KB
stocks.txt 344KB
states.txt 130KB
共 108 条
- 1
- 2
资源评论
科技小游侠
- 粉丝: 140
- 资源: 8704
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功