Skip to main content

Python Machine Learning Regression Example: Life Expectancy

Project description

pyml-regression-example1

Example from Chapter 1 of the book Hands-on Machine Learning with Scikit-Learn, Keras and TensorFlow. This example illustrates regression techniques.

Installation from Git source

$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .

or if you plan to change the source code, install for development like this:

$ uv venv
$ uv sync   # Install dependencies
$ source .venv/bin/activate
$ source shell_completion/bash.sh   # optionally enable shell completions

Then, test the installed script:

$ life-expectancy --help
# Test a sub command, e.g. download-data
$ life-expectancy download-data

For more information, see the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyml_regression_example1-0.1.0.tar.gz (237.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyml_regression_example1-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file pyml_regression_example1-0.1.0.tar.gz.

File metadata

  • Download URL: pyml_regression_example1-0.1.0.tar.gz
  • Upload date:
  • Size: 237.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pyml_regression_example1-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a7fe4c313290631671735a32767156bff8e8c6f7e17658f337e5201f5fd730f2
MD5 61bec5ae65b148a5dc1cd13ea63447eb
BLAKE2b-256 6c8fac41fda9a6b2592aafad4f404d5ae6cd8f6444a5cec8645f8eefc7b80eee

See more details on using hashes here.

File details

Details for the file pyml_regression_example1-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyml_regression_example1-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 901534f74d269a18fab9d6c6ad46944f245bee8e42784dc9092203c6b58b07e0
MD5 823c21229adee4e22c6d376005577df1
BLAKE2b-256 d34bad61661dbc89291ab06c78808b2aa9b52d1ebfd564bea3c15ff1d4d460a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page