ageron/handson-ml Installation Guide
How to install ageron/handson-ml. Official project installation instructions and setup guide.
Automated Install (Recommended)
Quick installation instructions for ageron/handson-ml. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i ageron/handson-mlInstall via npx
npx @hexmos/ipm i ageron/handson-mlPrerequisites
Python
languageVersion: 3.7, 3.8, 3.9 (or later) - Python 3.7 is recommended for compatibility with the project's codebase and most of the exercises. However, you can use other versions as long as they are compatible with the project's dependencies. If you encounter issues, try using a version that is supported by the project.
Anaconda
package_managerVersion: latest (recommended)
git
system_toolA version control system used for tracking changes to code.
Docker
build_toolVersion: latest (recommended)
Manual Installation Methods
Manual installation instructions. How to install from GitHub source.
Local Installation (Anaconda)
git clone https://github.com/ageron/handson-ml.git
cd handson-ml
conda env create -f environment.yml
conda activate tf1
python -m ipykernel install --user --name=python3
jupyter notebookSource Installation (Zip)
cd handson-mlPost Installation Steps
- Start the server using `python -m http.server` to access the application in your browser.
- Run database migrations using `python manage.py makemigrations` and then `python manage.py migrate`.
