Dockerfile containing installed dependencies to run the examples in this repo
359
Here's all the code and examples from my book Data Science from Scratch. 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):
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):
python recommender_systems.py
Additionally, I've collected all the links from the book.
Content type
Image
Digest
sha256:fc2b8c6fd…
Size
383.2 MB
Last updated
about 10 years ago
docker pull bradleybossard/data-science-from-scratch