boostsrl-0.4.3


توضیحات

Python wrappers for using BoostSRL jar files.
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل boostsrl-0.4.3
نام boostsrl
نسخه کتابخانه 0.4.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Alexander L. Hayes (hayesall)
ایمیل نویسنده alexander@batflyer.net
آدرس صفحه اصلی https://starling.utdallas.edu/software/boostsrl-python-wrappers/
آدرس اینترنتی https://pypi.org/project/boostsrl/
مجوز GPL-3.0
######## boostsrl ######## .. image:: https://raw.githubusercontent.com/starling-lab/boostsrl-python-package/master/docs/source/_static/preview.png :alt: Repository preview image: "boostsrl. Python wrappers around BoostSRL with a scikit-learn-style interface. pip install boostsrl." |License|_ |Travis|_ |AppVeyor|_ |Codecov|_ |CircleCi|_ |ReadTheDocs|_ .. |License| image:: https://img.shields.io/github/license/starling-lab/boostsrl-python-package.svg :alt: License .. _License: LICENSE .. |Travis| image:: https://travis-ci.org/starling-lab/boostsrl-python-package.svg?branch=master :alt: Travis CI continuous integration build status .. _Travis: https://travis-ci.org/starling-lab/boostsrl-python-package .. |AppVeyor| image:: https://ci.appveyor.com/api/projects/status/mxi2kffhr7a14rpt?svg=true :alt: AppVeyor Windows build status .. _AppVeyor: https://ci.appveyor.com/project/hayesall/boostsrl-python-package .. |Codecov| image:: https://codecov.io/gh/starling-lab/boostsrl-python-package/branch/master/graphs/badge.svg?branch=master :alt: Code coverage status .. _Codecov: https://codecov.io/github/starling-lab/boostsrl-python-package?branch=master .. |CircleCI| image:: https://circleci.com/gh/starling-lab/boostsrl-python-package.svg?style=shield .. _CircleCi: https://circleci.com/gh/starling-lab/boostsrl-python-package .. |ReadTheDocs| image:: https://readthedocs.org/projects/boostsrl/badge/?version=latest :alt: Documentation status .. _ReadTheDocs: https://boostsrl.readthedocs.io/en/latest/ **boostsrl** is a set of Python wrappers around `BoostSRL <https://starling.utdallas.edu/software/BoostSRL>`_ with a scikit-learn interface. - **Documentation**: https://boostsrl.readthedocs.io/en/latest/ - **Questions?** Contact `Alexander L. Hayes <https://hayesall.com>`_ (`hayesall <https://github.com/hayesall>`_) Getting Started --------------- **Prerequisites**: - Java 1.8 - Python (3.6, 3.7) **Installation** .. code-block:: bash pip install boostsrl Basic Usage ----------- The general setup should be similar to scikit-learn. But there are a few extra requirements in terms of setting background knowledge and formatting the data. A minimal working example (using the Toy-Cancer data set imported with 'example_data') is: .. code-block:: python >>> from boostsrl.rdn import RDN >>> from boostsrl import Background >>> from boostsrl import example_data >>> bk = Background( ... modes=example_data.train.modes, ... use_std_logic_variables=True, ... ) >>> clf = RDN( ... background=bk, ... target='cancer', ... ) >>> clf.fit(example_data.train) >>> clf.predict_proba(example_data.test) array([0.88079619, 0.88079619, 0.88079619, 0.3075821 , 0.3075821 ]) >>> clf.classes_ array([1., 1., 1., 0., 0.]) ``example_data.train`` and ``example_data.test`` are each ``boostsrl.Database`` objects, so this hides some of the complexity behind the scenes. This example abstracts away some complexity in exchange for compactness. For more thorough examples, see the `'docs/examples/' <https://github.com/starling-lab/boostsrl-python-package/tree/master/docs/examples>`_ directory. Contributing ------------ We have adopted the `Contributor Covenant Code of Conduct <.github/CODE_OF_CONDUCT.md>`_ version 1.4. Please read, follow, and report any incidents which violate this. Questions, Issues, and Pull Requests are welcome. Please refer to `CONTRIBUTING.md <.github/CONTRIBUTING.md>`_ for information on submitting issues and pull requests. Versioning and Releases ----------------------- We use `SemVer <https://semver.org>`_ for versioning. See `Releases <https://github.com/starling-lab/boostsrl-python-package/releases>`_ for stable versions that are available, or the `Project Page on PyPi <https://pypi.org/project/boostsrl/>`_.


نیازمندی

مقدار نام
- graphviz
- numpy
- scipy
- scikit-learn
- sphinx
- sphinx-rtd-theme
- sphinx-gallery
- numpydoc
- matplotlib
- coverage
- pytest


نحوه نصب


نصب پکیج whl boostsrl-0.4.3:

    pip install boostsrl-0.4.3.whl


نصب پکیج tar.gz boostsrl-0.4.3:

    pip install boostsrl-0.4.3.tar.gz