Functions | |
void | PMMLlib::PMMLlib::fillVectorsForExport (int nInput, int nOutput, int nHidden, int normType, std::vector< double > &minInput, std::vector< double > &maxInput, std::vector< double > &minOutput, std::vector< double > &maxOutput, std::vector< double > &valW) |
Specific to NeuralNetwork. More... | |
PMMLLIB_EXPORT void | PMMLlib::PMMLlib::ExportCpp (std::string file, std::string functionName, std::string header) |
PMMLLIB_EXPORT void | PMMLlib::PMMLlib::ExportFortran (std::string file, std::string functionName, std::string header) |
PMMLLIB_EXPORT void | PMMLlib::PMMLlib::ExportPython (std::string file, std::string functionName, std::string header) |
PMMLLIB_EXPORT std::string | PMMLlib::PMMLlib::ExportPyStr (std::string functionName, std::string header) |
void | PMMLlib::PMMLlib::ExportNeuralNetworkCpp (std::string file, std::string functionName, std::string header) |
Specific to NeuralNetwork. More... | |
void | PMMLlib::PMMLlib::ExportNeuralNetworkFortran (std::string file, std::string functionName, std::string header) |
Specific to NeuralNetwork. More... | |
void | PMMLlib::PMMLlib::ExportNeuralNetworkPython (std::string file, std::string functionName, std::string header) |
Specific to NeuralNetwork. More... | |
std::string | PMMLlib::PMMLlib::ExportNeuralNetworkPyStr (std::string functionName, std::string header) |
Specific to NeuralNetwork. More... | |
void | PMMLlib::PMMLlib::ExportLinearRegressionCpp (std::string, std::string, std::string) |
Specific to RegressionModel. More... | |
void | PMMLlib::PMMLlib::ExportLinearRegressionFortran (std::string, std::string, std::string) |
Specific to Regression. More... | |
void | PMMLlib::PMMLlib::ExportLinearRegressionPython (std::string, std::string, std::string) |
Specific to Regression. More... | |
std::string | PMMLlib::PMMLlib::ExportLinearRegressionPyStr (std::string functionName, std::string header) |
Specific to Regression. More... | |
Methods dedicated to file export
void PMMLlib::PMMLlib::ExportCpp | ( | std::string | file, |
std::string | functionName, | ||
std::string | header | ||
) |
Export the current model as a function in a Cpp file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 597 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::_currentModelType, PMMLlib::PMMLlib::ExportLinearRegressionCpp(), PMMLlib::PMMLlib::ExportNeuralNetworkCpp(), PMMLlib::kANN, and PMMLlib::kLR.
void PMMLlib::PMMLlib::ExportFortran | ( | std::string | file, |
std::string | functionName, | ||
std::string | header | ||
) |
Export the current model as a function in a Fortran file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 617 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::_currentModelType, PMMLlib::PMMLlib::ExportLinearRegressionFortran(), PMMLlib::PMMLlib::ExportNeuralNetworkFortran(), PMMLlib::kANN, and PMMLlib::kLR.
|
private |
Specific to RegressionModel.
Export the current model as a NeuralNetwork function in a Cpp file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 2641 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::CheckRegression(), PMMLlib::PMMLlib::GetNumericPredictorCoefficient(), PMMLlib::PMMLlib::GetNumericPredictorName(), PMMLlib::PMMLlib::GetNumericPredictorNb(), PMMLlib::PMMLlib::GetPredictorTermCoefficient(), PMMLlib::PMMLlib::GetPredictorTermName(), PMMLlib::PMMLlib::GetPredictorTermNb(), PMMLlib::PMMLlib::GetRegressionTableIntercept(), PMMLlib::PMMLlib::HasIntercept(), and CORBAEngineTest::i.
Referenced by PMMLlib::PMMLlib::ExportCpp().
|
private |
Specific to Regression.
Export the current model as a NeuralNetwork function in a Fortran file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 2706 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::CheckRegression(), PMMLlib::PMMLlib::GetNumericPredictorCoefficient(), PMMLlib::PMMLlib::GetNumericPredictorName(), PMMLlib::PMMLlib::GetNumericPredictorNb(), PMMLlib::PMMLlib::GetPredictorTermCoefficient(), PMMLlib::PMMLlib::GetPredictorTermName(), PMMLlib::PMMLlib::GetPredictorTermNb(), PMMLlib::PMMLlib::GetRegressionTableIntercept(), PMMLlib::PMMLlib::HasIntercept(), CORBAEngineTest::i, and PMMLlib::NumberToString().
Referenced by PMMLlib::PMMLlib::ExportFortran().
|
private |
Specific to Regression.
Export the current model as a NeuralNetwork function in a Python string.
functionName | Name of the function |
header | Header of the function |
Definition at line 2806 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::CheckRegression(), PMMLlib::PMMLlib::GetNumericPredictorCoefficient(), PMMLlib::PMMLlib::GetNumericPredictorName(), PMMLlib::PMMLlib::GetNumericPredictorNb(), PMMLlib::PMMLlib::GetPredictorTermCoefficient(), PMMLlib::PMMLlib::GetPredictorTermName(), PMMLlib::PMMLlib::GetPredictorTermNb(), PMMLlib::PMMLlib::GetRegressionTableIntercept(), PMMLlib::PMMLlib::HasIntercept(), and CORBAEngineTest::i.
Referenced by PMMLlib::PMMLlib::ExportLinearRegressionPython(), and PMMLlib::PMMLlib::ExportPyStr().
|
private |
Specific to Regression.
Export the current model as a NeuralNetwork function in a Python file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 2789 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::ExportLinearRegressionPyStr().
Referenced by PMMLlib::PMMLlib::ExportPython().
|
private |
Specific to NeuralNetwork.
Export the current model as a NeuralNetwork function in a Cpp file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 1696 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::CheckNeuralNetwork(), PMMLlib::PMMLlib::fillVectorsForExport(), PMMLlib::PMMLlib::GetNbInputs(), PMMLlib::PMMLlib::GetNbNeuronsAtLayer(), PMMLlib::PMMLlib::GetNbOutputs(), PMMLlib::PMMLlib::GetNormalizationType(), and CORBAEngineTest::i.
Referenced by PMMLlib::PMMLlib::ExportCpp().
|
private |
Specific to NeuralNetwork.
Export the current model as a NeuralNetwork function in a Fortran file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 1866 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::CheckNeuralNetwork(), PMMLlib::PMMLlib::fillVectorsForExport(), PMMLlib::PMMLlib::GetNameInput(), PMMLlib::PMMLlib::GetNameOutput(), PMMLlib::PMMLlib::GetNbInputs(), PMMLlib::PMMLlib::GetNbNeuronsAtLayer(), PMMLlib::PMMLlib::GetNbOutputs(), PMMLlib::PMMLlib::GetNormalizationType(), and CORBAEngineTest::i.
Referenced by PMMLlib::PMMLlib::ExportFortran().
|
private |
Specific to NeuralNetwork.
Export the current model as a function in a Python string.
functionName | Name of the function |
header | Header of the function |
Definition at line 2021 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::CheckNeuralNetwork(), PMMLlib::PMMLlib::fillVectorsForExport(), PMMLlib::PMMLlib::GetNbInputs(), PMMLlib::PMMLlib::GetNbNeuronsAtLayer(), PMMLlib::PMMLlib::GetNbOutputs(), PMMLlib::PMMLlib::GetNormalizationType(), and CORBAEngineTest::i.
Referenced by PMMLlib::PMMLlib::ExportNeuralNetworkPython(), and PMMLlib::PMMLlib::ExportPyStr().
|
private |
Specific to NeuralNetwork.
Export the current model as a NeuralNetwork function in a Python file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 2002 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::ExportNeuralNetworkPyStr().
Referenced by PMMLlib::PMMLlib::ExportPython().
std::string PMMLlib::PMMLlib::ExportPyStr | ( | std::string | functionName, |
std::string | header | ||
) |
Export the current model as a function in a Python string.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 654 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::_currentModelType, PMMLlib::PMMLlib::ExportLinearRegressionPyStr(), PMMLlib::PMMLlib::ExportNeuralNetworkPyStr(), PMMLlib::kANN, and PMMLlib::kLR.
void PMMLlib::PMMLlib::ExportPython | ( | std::string | file, |
std::string | functionName, | ||
std::string | header | ||
) |
Export the current model as a function in a Python file.
file | Name of the file |
functionName | Name of the function |
header | Header of the function |
Definition at line 635 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::_currentModelType, PMMLlib::PMMLlib::ExportLinearRegressionPython(), PMMLlib::PMMLlib::ExportNeuralNetworkPython(), PMMLlib::kANN, and PMMLlib::kLR.
|
private |
Specific to NeuralNetwork.
Fill the vectors used by the ExportXXX methods.
nInput | |
nOutput | |
nHidden | |
normType | |
minInput | |
maxInput | |
minOutput | |
maxOutput | |
valW |
Definition at line 1603 of file PMMLlib.cxx.
References PMMLlib::PMMLlib::_currentModelNode, PMMLlib::PMMLlib::_getProp(), PMMLlib::PMMLlib::CheckNeuralNetwork(), PMMLlib::PMMLlib::GetChildByName(), PMMLlib::PMMLlib::GetNeuronBias(), PMMLlib::PMMLlib::GetPrecNeuronSynapse(), and CORBAEngineTest::i.
Referenced by PMMLlib::PMMLlib::ExportNeuralNetworkCpp(), PMMLlib::PMMLlib::ExportNeuralNetworkFortran(), and PMMLlib::PMMLlib::ExportNeuralNetworkPyStr().