Skip to main content

Gaussian distributions

Project description

Regressionmodels

A package which can be used to fit linear- as well as polynomial Regression Models to n-dimensional data.

Installation

The installation requires a Python Version of 3.6+.

You can install the package via:

pip install regressionmodels

If you already installed the package you can update it via:

pip install --upgrade sdllib

#Installation for Developers

Locally, the package and its development-dependencies can be installed via:

pip install .[dev]

and in the main directory of the package via

python setup.py sdist bdistwheel

the package can be built as Source- and Binary-Distribution.

Unittests

You can run Unittests with pytest. You can conduct them locally via

pytest test.py

Overview of the Modules

model.py

Includes a class Regression, which can be initialized via

Regression(deg=1)

with the parameter deg (default =1) to determine which degree of Regression function should be fit on the data.

The beta vector can be estimated using the method:

.fit(X,y)

After that, the fitted beta can be used to predict unseen data via:

.predict(X)

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

regressionmodels-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file regressionmodels-0.0.1.tar.gz.

File metadata

  • Download URL: regressionmodels-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.1

File hashes

Hashes for regressionmodels-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b805e1c7e298b0775c5e2ff6faf7cf6675c3eeb3f0a86bc8e7a09c12a0939373
MD5 3fc8bcc46e0589d11770dde8b21479c0
BLAKE2b-256 9680269266a4e4d37289738ee27f7c6dabf211447005e924c5e477505cbab1b7

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