PsiModelSrc (“src_name”, “data_name”)
PsiModelSrc() defines a data source for the constant range data_name used in the converted RASON model. This function never takes part in model evaluation. Content is saved in xml model format.
src_name – Required: A string that is translated to the RASON datasource name. (This argument must be surrounded by double quotes.)
data_name – Required: A string that is translated to the name of the RASON data element, to which the full results of reading the datasource will be bound. This string must be a defined name in the Excel workbook pointing to a model saved in PMML format. (This argument must be surrounded by double quotes.)
Examples
=PsiModelSrc("pmml_src","pmml_model")
where "pmml_model" is an Excel defined name pointing to the range, LinReg_Stored!B12:B44. (LinReg_Stored is the name of the worksheet, created by Analytic Solver Data Mining, containing the Linear Regression PMML model.)