To try the examples run
python -m hltopt.examples.simple_function
Or
python -m hltopt.examples.sklearn_opinion
Basic 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.