13 #ifndef MLPACK_BINDINGS_PYTHON_PRINT_DOC_FUNCTIONS_HPP
14 #define MLPACK_BINDINGS_PYTHON_PRINT_DOC_FUNCTIONS_HPP
26 inline std::string
PrintValue(
const T& value,
bool quotes);
30 inline std::string
PrintValue(
const bool& value,
bool quotes);
40 template<
typename T,
typename... Args>
48 template<
typename T,
typename... Args>
57 template<
typename... Args>
63 inline std::string
PrintModel(
const std::string& modelName);
69 inline std::string
PrintDataset(
const std::string& datasetName);
75 inline std::string
ParamString(
const std::string& paramName);
82 inline bool IgnoreCheck(
const std::string& paramName);
89 inline bool IgnoreCheck(
const std::vector<std::string>& constraints);
98 const std::vector<std::pair<std::string, bool>>& constraints,
99 const std::string& paramName);
106 #include "print_doc_functions_impl.hpp"
std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
std::string PrintOutputOptions()
std::string PrintModel(const std::string &modelName)
Given the name of a model, print it.
std::string ParamString(const std::string ¶mName)
Given the parameter name, determine what it would actually be when passed to the command line...
std::string ProgramCall(const std::string &programName, Args...args)
Given a name of a binding and a variable number of arguments (and their contents), print the corresponding function call.
std::string PrintDataset(const std::string &datasetName)
Given the name of a matrix, print it.
std::string PrintInputOptions()
bool IgnoreCheck(const std::string ¶mName)
Print whether or not we should ignore a check on the given parameter.