Medial Code Documentation
Loading...
Searching...
No Matches
xgboost::ObjFunctionReg Struct Reference

Registry entry for objective factory functions. More...

#include <objective.h>

Inheritance diagram for xgboost::ObjFunctionReg:
dmlc::FunctionRegEntryBase< ObjFunctionReg, std::function< ObjFunction *()> >

Additional Inherited Members

- Public Member Functions inherited from dmlc::FunctionRegEntryBase< ObjFunctionReg, std::function< ObjFunction *()> >
ObjFunctionReg & set_body (std::function< ObjFunction *()> body)
 Set the function body.
 
ObjFunctionReg & describe (const std::string &description)
 Describe the function.
 
ObjFunctionReg & add_argument (const std::string &name, const std::string &type, const std::string &description)
 Add argument information to the function.
 
ObjFunctionReg & add_arguments (const std::vector< ParamFieldInfo > &args)
 Append list if arguments to the end.
 
ObjFunctionReg & set_return_type (const std::string &type)
 Set the return type.
 
- Data Fields inherited from dmlc::FunctionRegEntryBase< ObjFunctionReg, std::function< ObjFunction *()> >
std::string name
 name of the entry
 
std::string description
 description of the entry
 
std::vector< ParamFieldInfo > arguments
 additional arguments to the factory function
 
std::function< ObjFunction *()> body
 Function body to create ProductType.
 
std::string return_type
 Return type of the function.
 
- Protected Member Functions inherited from dmlc::FunctionRegEntryBase< ObjFunctionReg, std::function< ObjFunction *()> >
ObjFunctionReg & self ()
 

Detailed Description

Registry entry for objective factory functions.


The documentation for this struct was generated from the following file: