Functions | |
| PMMLLIB_EXPORT void | PMMLlib::PMMLlib::AddRegressionModel (std::string modelName, PMMLMiningFunction functionName, std::string targetFieldName) |
| Specific to RegressionModel. More... | |
| PMMLLIB_EXPORT void | PMMLlib::PMMLlib::AddRegressionTable () |
| No property "intercept" will be set. More... | |
| PMMLLIB_EXPORT void | PMMLlib::PMMLlib::AddRegressionTable (double intercept) |
| Specific to RegressionModel. More... | |
| PMMLLIB_EXPORT void | PMMLlib::PMMLlib::AddNumericPredictor (std::string neuronName, int exponent, double coefficient) |
| Specific to RegressionModel. More... | |
| PMMLLIB_EXPORT void | PMMLlib::PMMLlib::AddPredictorTerm (double coefficient, std::vector< std::string > fieldRef) |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT bool | PMMLlib::PMMLlib::HasIntercept () |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT double | PMMLlib::PMMLlib::GetRegressionTableIntercept () |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT int | PMMLlib::PMMLlib::GetNumericPredictorNb () |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT int | PMMLlib::PMMLlib::GetPredictorTermNb () |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT std::string | PMMLlib::PMMLlib::GetNumericPredictorName (int num_pred_index) |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT std::string | PMMLlib::PMMLlib::GetPredictorTermName (int num_pred_index) |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT double | PMMLlib::PMMLlib::GetNumericPredictorCoefficient (int num_pred_index) |
| (The coefficient is the value of property "coefficient") More... | |
| PMMLLIB_EXPORT double | PMMLlib::PMMLlib::GetPredictorTermCoefficient (int pred_term_index) |
| (The coefficient is the value of property "coefficient") More... | |
| PMMLLIB_EXPORT int | PMMLlib::PMMLlib::GetPredictorTermFieldRefNb (int pred_term_index) |
| Specific to RegressionModel More... | |
| PMMLLIB_EXPORT std::string | PMMLlib::PMMLlib::GetPredictorTermFieldRefName (int pred_term_index, int field_index) |
| (The name is the value of property "field") More... | |
| PMMLLIB_EXPORT std::string | PMMLlib::PMMLlib::ReadRegressionStructure () |
| Specific to RegressionModel. More... | |
| xmlNodePtr | PMMLlib::PMMLlib::GetRegressionPtr (int reg_index) |
| xmlNodePtr | PMMLlib::PMMLlib::GetRegressionPtr (std::string reg_name) |
| void | PMMLlib::PMMLlib::CheckRegression () |
| Called in all methods specific to the RegressionModel model. More... | |
Methods dedicated to linear regression
| void PMMLlib::PMMLlib::AddNumericPredictor | ( | std::string | neuronName, |
| int | exponent, | ||
| double | coefficient | ||
| ) |
Specific to RegressionModel.
Add a numeric predictor to the Regression model.
| neuronName | Value of property "name" |
| exponent | Value of property "exponent" |
| coefficient | Value of property "coefficient" |
Definition at line 2309 of file PMMLlib.cxx.
| void PMMLlib::PMMLlib::AddPredictorTerm | ( | double | coefficient, |
| std::vector< std::string > | fieldRef | ||
| ) |
Specific to RegressionModel
Add a predictor term to the Regression model.
| coefficient | Value of property "coefficient" |
| fieldRef | List of values for property "field", one per FieldRef to add to the PredictorTerm |
Definition at line 2329 of file PMMLlib.cxx.
| void PMMLlib::PMMLlib::AddRegressionModel | ( | std::string | modelName, |
| PMMLMiningFunction | functionName, | ||
| std::string | targetFieldName | ||
| ) |
Specific to RegressionModel.
Add a RegressionModel to the root node
| modelName | Name of the model (Value of property "modelName") |
| functionName | Value of property "functionName" |
| targetFieldName | Value of Property "targetFieldName" |
Definition at line 2248 of file PMMLlib.cxx.
References PMMLlib::kLR, and PMMLlib::kREGRESSION.
| void PMMLlib::PMMLlib::AddRegressionTable | ( | ) |
No property "intercept" will be set.
Add a RegressionTable to the Regression model.
Specific to RegressionModel
Definition at line 2276 of file PMMLlib.cxx.
| void PMMLlib::PMMLlib::AddRegressionTable | ( | double | intercept | ) |
Specific to RegressionModel.
Add a RegressionTable to the Regression model with a given value of property "intercept".
| intercept | Value of property "intercept" |
Definition at line 2288 of file PMMLlib.cxx.
|
private |
Called in all methods specific to the RegressionModel model.
Check if the current model type is kLR.
Throw an exception if the model type is not kLR.
Definition at line 2225 of file PMMLlib.cxx.
References PMMLlib::kLR.
| double PMMLlib::PMMLlib::GetNumericPredictorCoefficient | ( | int | num_pred_index | ) |
(The coefficient is the value of property "coefficient")
Get the coefficient of the numeric predictor given by its index.
Specific to RegressionModel
| num_pred_index | Index of the numeric predictor |
Definition at line 2503 of file PMMLlib.cxx.
References yacsorb.CORBAEngineTest::i.
| std::string PMMLlib::PMMLlib::GetNumericPredictorName | ( | int | num_pred_index | ) |
Specific to RegressionModel
Get the name of the numeric predictor given by its index.
| num_pred_index | Index of the numeric predictor |
Definition at line 2438 of file PMMLlib.cxx.
References yacsorb.CORBAEngineTest::i.
| int PMMLlib::PMMLlib::GetNumericPredictorNb | ( | ) |
Specific to RegressionModel
Get the number of numeric predictors.
Definition at line 2392 of file PMMLlib.cxx.
| double PMMLlib::PMMLlib::GetPredictorTermCoefficient | ( | int | pred_term_index | ) |
(The coefficient is the value of property "coefficient")
Get the coefficient of the predictor term given by its index.
Specific to RegressionModel
| pred_term_index | Index of the predictor term |
Definition at line 2534 of file PMMLlib.cxx.
References yacsorb.CORBAEngineTest::i.
| std::string PMMLlib::PMMLlib::GetPredictorTermFieldRefName | ( | int | pred_term_index, |
| int | field_index | ||
| ) |
(The name is the value of property "field")
Get the name of the field_index-th FieldRef for the pred_term_index-th predictor term.
Specific to RegressionModel
| pred_term_index | Index of the predictor term |
| field_index | Index of the FieldRef |
Definition at line 2600 of file PMMLlib.cxx.
References yacsorb.CORBAEngineTest::i.
| int PMMLlib::PMMLlib::GetPredictorTermFieldRefNb | ( | int | index | ) |
Specific to RegressionModel
Get the number of FieldRef for the predictor term given by its index.
| indsex | Index of the predictor term |
Definition at line 2564 of file PMMLlib.cxx.
References yacsorb.CORBAEngineTest::i.
| std::string PMMLlib::PMMLlib::GetPredictorTermName | ( | int | pred_term_index | ) |
Specific to RegressionModel
Get the name of the predictor term given by its index.
| pred_term_index | Index of the predictor term |
Definition at line 2467 of file PMMLlib.cxx.
References yacsorb.CORBAEngineTest::i.
| int PMMLlib::PMMLlib::GetPredictorTermNb | ( | ) |
Specific to RegressionModel
Get the number of predictor terms.
Definition at line 2415 of file PMMLlib.cxx.
|
private |
|
private |
Get the pointeur to the regression model node.
| name | Name of the regression model |
Definition at line 2236 of file PMMLlib.cxx.
| double PMMLlib::PMMLlib::GetRegressionTableIntercept | ( | ) |
Specific to RegressionModel
Get the value of property "intercept" in the RegressionTable.
Definition at line 2376 of file PMMLlib.cxx.
| bool PMMLlib::PMMLlib::HasIntercept | ( | ) |
Specific to RegressionModel
Check if the RegressionTable has a property called "intercept".
Definition at line 2351 of file PMMLlib.cxx.
References gui.CONNECTOR::b.
| std::string PMMLlib::PMMLlib::ReadRegressionStructure | ( | ) |
Specific to RegressionModel.
Read the structure of the regression model
Definition at line 2873 of file PMMLlib.cxx.