autogam
Automate the Creation of Generalized Additive Models (GAMs)
Installation
$ pip install autogam
Usage
Example 1: Fitting AutoGAM on a Random Dataset
import numpy as np
import pandas as pd
from autogam.autogam import AutoGAM
# Generate a random dataset
df_random = pd.DataFrame({
'x1': np.random.uniform(0, 10, 100),
'x2': np.random.uniform(0, 10, 100),
'y': np.random.uniform(0, 10, 100)
})
# Fit the model using AutoGAM
ag_random = AutoGAM(df_random, 'y')
# Display the model summary
ag_random.summary()
# Display the performance metrics
ag_random.print()
Example 2: Fitting AutoGAM on the df_autos Dataset
import pandas as pd
from statsmodels.gam.tests.test_penalized import df_autos
from autogam.autogam import AutoGAM
# Use the `df_autos` dataset from statsmodels
ag_autos = AutoGAM(df_autos, 'city_mpg')
# Display the model summary
ag_autos.summary()
# Display the performance metrics
ag_autos.print()
License
autogam was created by Chitu Okoli. It is licensed under the terms of the MIT license.
Credits
autogam was created with cookiecutter and the py-pkgs-cookiecutter template.
Metadata
Release files for autogam 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autogam-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for autogam-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autogam-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for autogam-0.1.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / autogam-0.1.0.tar.gz
| Download URL | autogam-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e68dd3e452ce5d8e6ebad6ab95217fe400d55474e283ab8144b6c3e952c45b7
|
|
BLAKE2b-256 checksum How to use checksums |
2bc667fb4402efa6fa8545f5beeb2c68e842163c2a859c4faf73d989c5bc06ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.8 Windows/11
|
Release files / autogam-0.1.0-py3-none-any.whl
| Download URL | autogam-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
332811d91ae082be60a6ef94b601e68152e900fc85fdbac880615de7da0131f8
|
|
BLAKE2b-256 checksum How to use checksums |
9c974c75331f7b4b6414ad6acb498f0d7f7f8e1537b9a61e484aa810b45b06d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.12.8 Windows/11
|
Security for autogam 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.