Turi Create
4.0
|
#include <model_server/lib/toolkit_class_specification.hpp>
Public Attributes | |
std::string | name |
std::map< std::string, flexible_type > | description |
model_base *(* | constructor )() |
Each model is specified by filling in toolkit_model_specification struct. The contents of the struct describe user-facing documentation and default options, as well as a callback to actual toolkit execution.
Definition at line 19 of file toolkit_class_specification.hpp.
model_base*(* turi::toolkit_class_specification::constructor) () |
A callback function to call to construct a model
Definition at line 41 of file toolkit_class_specification.hpp.
std::map<std::string, flexible_type> turi::toolkit_class_specification::description |
Model properties. The following keys are recognized.
Definition at line 36 of file toolkit_class_specification.hpp.
std::string turi::toolkit_class_specification::name |
A short name used to identify this toolkit. For instance, LDA, or PageRank.
Definition at line 24 of file toolkit_class_specification.hpp.