Skip to content

qnbhd/feijoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e947d2f · Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Oct 17, 2022
Jul 29, 2022
Aug 10, 2022
Aug 3, 2022
Aug 5, 2022
Aug 10, 2022
Jul 29, 2022
Oct 17, 2022
Aug 18, 2022
Aug 18, 2022

Repository files navigation

PyPI - Python Version PyPI Codecov

Feijoa is a Python framework for hyperparameter's optimization.

The Feijoa API is very easy to use, effective for optimizing machine learning algorithms and various software. Feijoa contains many different use cases.

Compatibility

Feijoa works with Linux and OS X. Requires Python 3.8 or later.

Feijoa works with Jupyter notebooks with no additional configuration required.

Installing

Install with pip or your favourite PyPI package manager.

python -m pip install feijoa

Code example

from feijoa import create_job, SearchSpace, Real
from math import sin


def objective(experiment):
    x = experiment.params.get('x')
    y = experiment.params.get('y')

    return sin(x * y)
    
space = SearchSpace()
space.insert(Real('x', low=0.0, high=2.0))
space.insert(Real('y', low=0.0, high=2.0))

job = create_job(search_space=space)
job.do(objective)