Py-hyperpy

Latest version: v0.0.5

Safety actively analyzes 623586 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.5

Changelog:

- Fix documentation: [HyperPy](https://hyperapy.readthedocs.io/en/latest/)

0.0.4

Changelog:

- Build __init__.py
- library import was made easier

**Full Changelog**: https://github.com/sergiomora03/py-hyperpy/compare/v0.0.3...v0.0.4

0.0.3

The package name is in used. So to install:

py
pip install py-hyperpy

Example

Import the library:

py
import hyperpy.core as hy
from hyperpy.util import ExampleConfig Just for example


Reading data:

py
data=ExampleConfig()
train, test, sub = data.readData()


Extract features:

py
feat_X = train.filter(['Pclass','Age', 'SibSp', 'Parch','Fare']).values
Y = train.Survived.values


Run the optimization:

py
running=hy.run(feat_X, Y)
study = running.buildStudy()


See the results:

py
print("best params: ", study.best_params)
print("best test accuracy: ", study.best_value)
best_params, best_value = hy.results.results(study)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.