kazk1018 / PyCpp-FTRL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:CMake 59.1%Language:C++ 40.9%