13 #ifndef MLPACK_BINDINGS_JULIA_PRINT_DOC_FUNCTIONS_HPP 14 #define MLPACK_BINDINGS_JULIA_PRINT_DOC_FUNCTIONS_HPP 31 inline std::string
PrintImport(
const std::string& bindingName);
52 inline std::string
PrintValue(
const T& value,
bool quotes);
56 inline std::string
PrintValue(
const bool& value,
bool quotes);
61 inline std::string
PrintDefault(
const std::string& bindingName,
62 const std::string& paramName);
67 inline std::string
PrintDataset(
const std::string& dataset);
72 inline std::string
PrintModel(
const std::string& model);
77 inline std::string
PrintType(util::ParamData& param);
87 template<
typename T,
typename... Args>
89 const std::string& paramName,
96 template<
typename T,
typename... Args>
98 const std::string& paramName,
106 template<
typename... Args>
120 inline std::string
ParamString(
const std::string& paramName);
127 inline bool IgnoreCheck(
const std::string& paramName);
134 inline bool IgnoreCheck(
const std::vector<std::string>& constraints);
143 const std::vector<std::pair<std::string, bool>>& constraints,
144 const std::string& paramName);
151 #include "print_doc_functions_impl.hpp" std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
Linear algebra utility functions, generally performed on matrices or vectors.
std::string PrintOutputOptionInfo()
Print any special information about output options.
std::string PrintInputOptions(util::Params &p)
std::string PrintImport(const std::string &bindingName)
Print any imports for Julia.
std::string PrintTypeDocs()
Print documentation for each of the types.
std::string PrintInputOptionInfo()
Print any special information about input options.
std::string PrintModel(const std::string &model)
Print a model type parameter.
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 GetBindingName(const std::string &bindingName)
Given the name of a binding, print its Julia name (this just returns the binding name).
std::string PrintDefault(const std::string &bindingName, const std::string ¶mName)
Given a parameter name, print its corresponding default value.
std::string PrintType(util::ParamData ¶m)
Print the type of a parameter that a user would specify from Julia.
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 PrintOutputOptions(util::Params &p)
std::string PrintDataset(const std::string &dataset)
Print a dataset type parameter.
bool IgnoreCheck(const std::string ¶mName)
Print whether or not we should ignore a check on the given parameter.