To try the examples run
python -m hltopt.examples.simple_functionOr
python -m hltopt.examples.sklearn_opinionBasic requirements are Python 3.5 or greater.
The sklearn_opinion example requires sklearn, nltk and the movie_reviews corpus.
To install these requirements, follow the instructions here
and here.
If you have pip installed, some quick steps are:
pip install -U sklearn
pip install -U nltk
python
>>> import nltk
>>> nltk.download("movie_reviews")Licensed under the MIT open source license.