/PyCpp-FTRL

Primary LanguageCMakeMIT LicenseMIT

PyCpp-FTRL

PyCpp-FTRL is an implementation of FTRL Logistic Regression

Requirements

  • python3.6
  • cmake
  • eigen3
  • pybind11 (submodule)

Usage

For macOS

brew install eigen
  • Set python config

set PYTHON_EXECUTABLE (default: pyenv path)

set(PYTHON_VERSION {your python3.6 path})
set(PYENV_VERSION_DIRECTORY $ENV{HOME}/.pyenv/versions/${PYTHON_VERSION})
set(PYTHON_EXECUTABLE ${PYENV_VERSION_DIRECTORY}/bin/python)
  • Build
$ cd {reposigory home}

$ mkdir build && cd build

$ cmake ..

$ make

References

License

MIT License

Author

kazk1018