Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

parsing-science/pymc3_models

Repository files navigation

Custom PyMC3 models built on top of the scikit-learn API. Check out thedocs.

Features

  • Reusable PyMC3 models including LinearRegression and HierarchicalLogisticRegression
  • A base class, BayesianModel, for building your own PyMC3 models

Installation

The latest release of PyMC3 Models can be installed from PyPI usingpip:

pip install pymc3_models

The current development branch of PyMC3 Models can be installed from GitHub, also usingpip:

pip install git+https://github.com/parsing-science/pymc3_models.git

To run the package locally (in a virtual environment):

git clone https://github.com/parsing-science/pymc3_models.gitcd pymc3_modelsvirtualenv venvsource venv/bin/activatepip install -r requirements.txt

Usage

Since PyMC3 Models is built on top of scikit-learn, you can use the same methods as with a scikit-learn model.

frompymc3_modelsimportLinearRegressionLR=LinearRegression()LR.fit(X,Y)LR.predict(X)LR.score(X,Y)

Contribute

For more info, seeCONTRIBUTING.

Contributor Code of Conduct

Please note that this project is released with aContributor Code of Conduct. By participating in this project you agree to abide by its terms. SeeCODE_OF_CONDUCT.

Acknowledgments

This library is built on top ofPyMC3 andscikit-learn.

License

Apache License, Version 2.0

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp