If gtest is installed on your machine, Sensei will use the installed library.
Otherwise, you can put gtest as a subdirectory in Sensei top-level directory.
You can do so by running:
Sensei is configured and controlled by commands defined in sensei/config.proto
and sensei/common_config.proto. The commands must be provided in text
protobufer format. You can read more about specific command options in comments
in aforementioned files.
To execute Sensei with a specified config run:
./sensei_bin --config_files path/to/config_file
You can find sample configuration files in the examples directory.
Sensei
Sensei is a logistic regression engine. It is intended to be run on one machine on medium-sized data.
It is currently capable of:
Build
To build Sensei you need to install the following prerequisites:
If you use Ubuntu you can install all the prerequisites by running the following command:
With all the necessary dependencies installed you can build Sensei by running:
To build a debug version of the binary, you can run:
Test
To build Sensei unit tests you need to install the following additional prerequisites:
If gtest is installed on your machine, Sensei will use the installed library. Otherwise, you can put gtest as a subdirectory in Sensei top-level directory. You can do so by running:
To build and run Sensei unit tests run:
Usage
Sensei is configured and controlled by commands defined in
sensei/config.protoandsensei/common_config.proto. The commands must be provided in text protobufer format. You can read more about specific command options in comments in aforementioned files.To execute Sensei with a specified config run:
You can find sample configuration files in the
examplesdirectory.Sample config file