@frontlinesystems/rason-mcp-server 2026.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/LICENSE +35 -0
  2. package/README.md +282 -0
  3. package/examples/EXAMPLES_REFERENCE.md +128 -0
  4. package/examples/Optimization/Conic/AirlineHubConic.json +112 -0
  5. package/examples/Optimization/Conic/AirlineHubConic2.json +109 -0
  6. package/examples/Optimization/Conic/AirlineHubConic3.json +112 -0
  7. package/examples/Optimization/Conic/AirlineHubConic4.json +100 -0
  8. package/examples/Optimization/Conic/AirlineHubConic5.json +102 -0
  9. package/examples/Optimization/DataBinding/ProductMixCsv.json +82 -0
  10. package/examples/Optimization/DataBinding/ProductMixCsv4.json +96 -0
  11. package/examples/Optimization/DataBinding/ProductMixExcel.json +74 -0
  12. package/examples/Optimization/DataBinding/ProductMixExcel1.json +87 -0
  13. package/examples/Optimization/DataBinding/ProductMixExcel11.json +109 -0
  14. package/examples/Optimization/DataBinding/ProductMixExcel2.json +78 -0
  15. package/examples/Optimization/DataBinding/ProductMixTab.json +90 -0
  16. package/examples/Optimization/DataBinding/ProductMixTab1.json +74 -0
  17. package/examples/Optimization/DataBinding/ProductMixTab2.json +78 -0
  18. package/examples/Optimization/Linear/Inventory.json +200 -0
  19. package/examples/Optimization/Linear/Matop.json +120 -0
  20. package/examples/Optimization/Linear/ProductMix.json +98 -0
  21. package/examples/Optimization/Linear/ProductMix2.json +73 -0
  22. package/examples/Optimization/Linear/ProductMix3.json +50 -0
  23. package/examples/Optimization/Linear/ProductMix4.json +57 -0
  24. package/examples/Optimization/Linear/ProductMixCsv1.json +106 -0
  25. package/examples/Optimization/Linear/ProductMixCsv2.json +106 -0
  26. package/examples/Optimization/Linear/ProductMixSQL11.json +82 -0
  27. package/examples/Optimization/Linear/Rowop.json +127 -0
  28. package/examples/Optimization/NonLinear/AirlineHub.json +64 -0
  29. package/examples/Optimization/NonLinear/AirlineHub2.json +48 -0
  30. package/examples/Optimization/NonLinear/AirlineHub3.json +48 -0
  31. package/examples/Optimization/NonSmooth/Inventory2.json +160 -0
  32. package/examples/Optimization/Quadratic/PortfolioOpt.json +56 -0
  33. package/examples/Optimization/Quadratic/PortfolioOpt2.json +66 -0
  34. package/examples/Optimization/WithUncertainty/GasCompanyChance.json +79 -0
  35. package/examples/Optimization/WithUncertainty/GasCompanyRecourse.json +79 -0
  36. package/examples/Optimization/WithUncertainty/ProjectSelect.json +78 -0
  37. package/examples/Optimization/WithUncertainty/ProjectSelect2.json +82 -0
  38. package/examples/Optimization/WithUncertainty/ProjectSelect3.json +85 -0
  39. package/examples/Optimization/WithUncertainty/ProjectSelect4.json +75 -0
  40. package/examples/Simulation/CandyStoreSalesUsingSIP.json +148 -0
  41. package/examples/Simulation/CollegeFundGrowth1.json +424 -0
  42. package/examples/Simulation/CollegeFundGrowth1SIPModel.json +28 -0
  43. package/examples/Simulation/CollegeFundGrowth2.json +416 -0
  44. package/examples/Simulation/CollegeFundGrowthSIP.json +402 -0
  45. package/examples/Simulation/GBMSimulationModel.json +237 -0
  46. package/examples/Simulation/YieldManagement(Sim).json +70 -0
  47. package/examples/Simulation/YieldManagement2(Sim).json +73 -0
  48. package/examples/calculation/DMNExamples/DMN Box Fun with typeDef result.json +54 -0
  49. package/examples/calculation/DMNExamples/DMN Context example.json +69 -0
  50. package/examples/calculation/DMNExamples/DMN DT with typeDef result.json +43 -0
  51. package/examples/calculation/DMNExamples/FEEL Date Time example.json +28 -0
  52. package/examples/calculation/DMNExamples/FEEL For iteration example.json +66 -0
  53. package/examples/calculation/DMNExamples/FEEL For with two indices.json +16 -0
  54. package/examples/calculation/DMNExamples/FEEL For with typeDef result.json +88 -0
  55. package/examples/calculation/DMNExamples/FEEL If Then Else example.json +26 -0
  56. package/examples/calculation/DMNExamples/FEEL List example.json +38 -0
  57. package/examples/calculation/DMNExamples/FEEL List operator.json +17 -0
  58. package/examples/calculation/DMNExamples/FEEL List with typeDef collection.json +37 -0
  59. package/examples/calculation/DMNExamples/FEEL Some or Every example.json +66 -0
  60. package/examples/calculation/DecisionTables/DT Datasource example.json +53 -0
  61. package/examples/calculation/DecisionTables/DT Date and Time examples.json +92 -0
  62. package/examples/calculation/DecisionTables/DT Expression example.json +32 -0
  63. package/examples/calculation/DecisionTables/DT Hit Policy examples.json +137 -0
  64. package/examples/calculation/DecisionTables/DT Loan Recommend model.json +82 -0
  65. package/examples/calculation/DecisionTables/DT Loan Strategy Model and Predictive CSV-XML.json +219 -0
  66. package/examples/calculation/DecisionTables/DT Loan Strategy model and Datasource.json +286 -0
  67. package/examples/calculation/DecisionTables/DT Loan Strategy model and Predictive.json +204 -0
  68. package/examples/calculation/DecisionTables/DT Loan Strategy model by scratch.json +214 -0
  69. package/examples/calculation/DecisionTables/DT Output Order example.json +40 -0
  70. package/examples/calculation/DecisionTables/DT Unique example.json +39 -0
  71. package/examples/calculation/TypeDefinitions/TypeDefCF.json +65 -0
  72. package/examples/calculation/TypeDefinitions/TypeDefDT.json +58 -0
  73. package/examples/datamining/AffinityAnalysis/AssociationRules.json +52 -0
  74. package/examples/datamining/Classification/DecisionTree.json +91 -0
  75. package/examples/datamining/Classification/DiscriminantAnalysis.json +82 -0
  76. package/examples/datamining/Classification/Ensembles/Bagging.json +67 -0
  77. package/examples/datamining/Classification/Ensembles/Boosting.json +68 -0
  78. package/examples/datamining/Classification/Ensembles/RandomTrees.json +92 -0
  79. package/examples/datamining/Classification/FindBestModel.json +87 -0
  80. package/examples/datamining/Classification/LogisticRegression.json +83 -0
  81. package/examples/datamining/Classification/NaiveBayes.json +79 -0
  82. package/examples/datamining/Classification/NearestNeighbors.json +85 -0
  83. package/examples/datamining/Classification/NeuralNetwork.json +93 -0
  84. package/examples/datamining/Clustering/Hierarchical.json +55 -0
  85. package/examples/datamining/Clustering/KMeans.json +72 -0
  86. package/examples/datamining/DataSources/DelimitedFile.json +50 -0
  87. package/examples/datamining/DataSources/JSONFile.json +50 -0
  88. package/examples/datamining/DataSources/MSAccessDatabase.json +50 -0
  89. package/examples/datamining/DataSources/MSExcelTable.json +51 -0
  90. package/examples/datamining/DataSources/MSSQLDatabase.json +50 -0
  91. package/examples/datamining/DataSources/ODATATable.json +50 -0
  92. package/examples/datamining/DataSources/ODBCDatabase.json +50 -0
  93. package/examples/datamining/FeatureSelection/LinearWrapping.json +54 -0
  94. package/examples/datamining/FeatureSelection/LogisticWrapping.json +57 -0
  95. package/examples/datamining/FeatureSelection/Univariate.json +79 -0
  96. package/examples/datamining/Regression/DecisionTree.json +82 -0
  97. package/examples/datamining/Regression/Ensembles/Bagging.json +63 -0
  98. package/examples/datamining/Regression/Ensembles/Boosting.json +63 -0
  99. package/examples/datamining/Regression/Ensembles/RandomTrees.json +79 -0
  100. package/examples/datamining/Regression/FindBestModel.json +87 -0
  101. package/examples/datamining/Regression/LinearRegression.json +125 -0
  102. package/examples/datamining/Regression/NearestNeighbors.json +78 -0
  103. package/examples/datamining/Regression/NeuralNetwork.json +83 -0
  104. package/examples/datamining/Scoring/JSONClassifier.json +63 -0
  105. package/examples/datamining/Scoring/JSONClassifierNN.json +63 -0
  106. package/examples/datamining/Scoring/JSONClusterizer.json +38 -0
  107. package/examples/datamining/Scoring/JSONForecaster.json +50 -0
  108. package/examples/datamining/Scoring/JSONLinearRegression.json +57 -0
  109. package/examples/datamining/Scoring/JSONPCA.json +42 -0
  110. package/examples/datamining/Scoring/JSONRegressor.json +57 -0
  111. package/examples/datamining/Scoring/JSONTransformer.json +39 -0
  112. package/examples/datamining/Scoring/PMMLClassifier.json +43 -0
  113. package/examples/datamining/Scoring/PMMLForecaster.json +44 -0
  114. package/examples/datamining/Scoring/PMMLRegressor.json +39 -0
  115. package/examples/datamining/Scoring/PMMLTransformer.json +39 -0
  116. package/examples/datamining/Simulation/LinearRegressionSimulation.json +118 -0
  117. package/examples/datamining/Simulation/SyntheticDataGeneration.json +109 -0
  118. package/examples/datamining/Simulation/pmml-risk-scoring.json +63 -0
  119. package/examples/datamining/Summarizer/Summarization.json +55 -0
  120. package/examples/datamining/TextMining/LatentSemanticAnalysis.json +52 -0
  121. package/examples/datamining/TextMining/TfIdf-FileData.json +66 -0
  122. package/examples/datamining/TextMining/TfIdf-InlineData.json +56 -0
  123. package/examples/datamining/TimeSeries/AddHoltWinters.json +80 -0
  124. package/examples/datamining/TimeSeries/Arima.json +75 -0
  125. package/examples/datamining/TimeSeries/DoubleExponential.json +66 -0
  126. package/examples/datamining/TimeSeries/Exponential.json +65 -0
  127. package/examples/datamining/TimeSeries/LagAnalysis.json +49 -0
  128. package/examples/datamining/TimeSeries/MovingAverage.json +66 -0
  129. package/examples/datamining/TimeSeries/MulHoltWinters.json +66 -0
  130. package/examples/datamining/TimeSeries/NoTrendHoltWinters.json +66 -0
  131. package/examples/datamining/Transformation/Binning.json +70 -0
  132. package/examples/datamining/Transformation/CanonicalVariateAnalysis.json +48 -0
  133. package/examples/datamining/Transformation/CategoryReduction.json +52 -0
  134. package/examples/datamining/Transformation/Factorization.json +51 -0
  135. package/examples/datamining/Transformation/MissingDataHandling.json +84 -0
  136. package/examples/datamining/Transformation/OneHotEncoding-DataInline.json +55 -0
  137. package/examples/datamining/Transformation/OneHotEncoding-DatainFile.json +49 -0
  138. package/examples/datamining/Transformation/PartitionTimeSeries.json +49 -0
  139. package/examples/datamining/Transformation/Partitioning-DF.json +73 -0
  140. package/examples/datamining/Transformation/Partitioning.json +47 -0
  141. package/examples/datamining/Transformation/PartitioningWithOversampling-DF.json +66 -0
  142. package/examples/datamining/Transformation/PartitioningWithOversampling.json +45 -0
  143. package/examples/datamining/Transformation/PrincipalComponentsAnalysis.json +53 -0
  144. package/examples/datamining/Transformation/Rescaling.json +68 -0
  145. package/examples/datamining/Transformation/Sampling.json +44 -0
  146. package/examples/datamining/Transformation/StratifiedSampling.json +47 -0
  147. package/examples/flow/SQLServerTransform.json +261 -0
  148. package/examples/flow/dm-calc-pipeline.json +278 -0
  149. package/examples/flow/dm-pipeline-simulation.json +114 -0
  150. package/examples/flow/opt-sim-pipeline.json +160 -0
  151. package/examples/flow/sim-dm-pipeline.json +107 -0
  152. package/examples/flow/sim-sim-pipeline.json +137 -0
  153. package/examples/index.json +4679 -0
  154. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/DataFiltering/ListwithFilter.json +53 -0
  155. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/Loops/ProductMix5.json +58 -0
  156. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/Loops/compoundWhileStatement.json +36 -0
  157. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/Loops/ifThenElseStatement.json +34 -0
  158. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/Loops/nestedLoop.json +26 -0
  159. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/ParallelArray.json +48 -0
  160. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/indexedArray.json +70 -0
  161. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/nonParallelArray.json +50 -0
  162. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/sumAggregateExample.json +338 -0
  163. package/examples/rason-features/Arrays_Loops_Tables/ArrayExamples/tsp.json +62 -0
  164. package/examples/rason-features/BoxIterators/Box_Fun_Loop_Iter_Sim_RASON.json +191 -0
  165. package/examples/rason-features/BoxIterators/Box_Fun_Loop_Sim_RASON.json +76 -0
  166. package/examples/rason-features/BoxIterators/Box_Fun_Sim_RASON.json +109 -0
  167. package/examples/rason-features/BoxIterators/Box_Iter_SIM_RASON.json +69 -0
  168. package/examples/rason-features/BoxIterators/Box_Iterator_Calc_Loop.json +183 -0
  169. package/examples/rason-features/BoxIterators/Box_Iterator_with_typeDef_partial.json +79 -0
  170. package/examples/rason-features/BoxLambdaExamples/BoxFunOptimize.json +155 -0
  171. package/examples/rason-features/BoxLambdaExamples/BoxFunSimulate.json +119 -0
  172. package/examples/rason-features/BoxLambdaExamples/LambdaFunOptimize.json +143 -0
  173. package/examples/rason-features/BoxLambdaExamples/LambdaFunSimulate.json +82 -0
  174. package/examples/rason-features/ReferenceGuide/RGFirehouseLocation.json +69 -0
  175. package/examples/rason-features/ReferenceGuide/RGFirehouseLocationConic.json +114 -0
  176. package/examples/rason-features/ReferenceGuide/RGProductMixCsv1.json +108 -0
  177. package/examples/rason-features/ReferenceGuide/RGProductMixExcel11.json +117 -0
  178. package/examples/rason-features/ReferenceGuide/RGProductMixSQL11.json +108 -0
  179. package/examples/rason-features/UserGuide/UGAirlineHubCSV.json +67 -0
  180. package/examples/rason-features/UserGuide/UGForecast.json +51 -0
  181. package/examples/rason-features/UserGuide/UGProductMix1.json +49 -0
  182. package/examples/rason-features/UserGuide/UGProductMix2.json +49 -0
  183. package/examples/rason-features/UserGuide/UGProductMixTab1.json +68 -0
  184. package/examples/rason-features/UserGuide/UGProductMixTab2.json +77 -0
  185. package/examples/rason-features/UserGuide/UGProductMixTab3.json +67 -0
  186. package/examples/rason-features/UserGuide/UGProductMixTab4.json +71 -0
  187. package/examples/rason-features/UserGuide/UGProductMixTab5.json +68 -0
  188. package/examples/rason-features/UserGuide/UGProjectSelect0.json +92 -0
  189. package/examples/rason-features/UserGuide/UGProjectSelect1.json +75 -0
  190. package/examples/rason-features/UserGuide/UGProjectSelect2.json +75 -0
  191. package/examples/rason-features/UserGuide/UGYieldManagement1.json +62 -0
  192. package/examples/rason-features/UserGuide/UGYieldManagement2.json +62 -0
  193. package/examples/rason-features/UserGuide/UGYieldManagement3.json +64 -0
  194. package/out/index.cjs +361 -0
  195. package/package.json +76 -0
@@ -0,0 +1,75 @@
1
+ {
2
+ "modelName": "Arima",
3
+ "modelDescription": "RASON Arima Example that POSTs fitted model (arimaModel) to the RASON Server. This fitted model is used in the the examples Scoring Using JSON ARIMA and Scoring Using PMML Arima. Both may be downloaded from Examples - Data Mining - Scoring. This model also imports a datasource, close.txt, which can be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select close.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the close.txt source file to the myDataSrc datasource. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "close.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the 'datasources' section",
17
+ "myData": {
18
+ "comment": "Binds myDataSrc data source (close.txt) to myData dataset",
19
+ "binding": "myDataSrc"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "arimaEstimator": {
25
+ "comment": "Defines the arimaEstimator as an ARIMA estimator; various options are set. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "timeSeries",
27
+ "algorithm": "arima",
28
+ "parameters": {
29
+ "autoRegressiveOrder": 1,
30
+ "movingAverageOrder": 2,
31
+ "difference": 1,
32
+ "period": 12,
33
+ "seasonalAutoRegressiveOrder": 1,
34
+ "seasonalMovingAverageOrder": 1,
35
+ "seasonalDifference": 1,
36
+ "maxIterations": 5
37
+ }
38
+ }
39
+ },
40
+ "actions": {
41
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
42
+ "arimaModel": {
43
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset ('data':'myData') using arimaEstimator ('estimator':'arimaEstimator'). The fitted model is POSTed to the RASON Server using export:json. Various evaluations are requested in the results such as the fitted model in JSON format, the coefficients, Lung-Box Test, variance covariance matrix, the Log Likelihood and the number of iterations. Note that results for fittedModelJson, logLikelihood and numIterations can only be viewed in the JSON results. To view, click Show Json Results in the upper right corner of the OData viewer. See the RASON Reference Guide (click the Help tab to download) for a list of all supported ARIMA parameters and evaluations.",
44
+ "data": "myData",
45
+ "estimator": "arimaEstimator",
46
+ "export": "json",
47
+ "action": "fit",
48
+ "evaluations": [ "fittedModelJson", "coefficientsInfo", "ljungBoxInfo", "varCovarMatrix", "logLikelihood", "numIterations" ]
49
+ },
50
+ "fitted": {
51
+ "comment": "Scores (using 'action':'transform') the myData dataset ('data':'myData') using the fitted ARIMA model, arimaModel ('fittedModel':'arimaModel'). Various evaluations are requested in the results: transformation (which returns the Close price as predicted by arimaModel), residuals (difference between the actual and predicted values), and several statistics (using 'metrics') such as SSE (sum of squared error), MSE (mean squared error), MAPE (mean absolute percentage error), MAD (mean absolute deviation), etc. See the JSON results for the statistic values.",
52
+ "data": "myData",
53
+ "fittedModel": "arimaModel",
54
+ "action": "transform",
55
+ "evaluations": [ "transformation", "residuals", "metrics" ]
56
+ },
57
+ "forecasted": {
58
+ "comment": "Uses the fitted model ('fittedModel':'arimaModel') to generate a forecast (using 'action':'forecast') of 7 data points using a 95% confidence level. Various options are set such as minLag, maxLag, etc. Evaluations requested are: forecast (7 forecasted values), difference (returns the differenced data produced by Lag Analysis), autocovariance (returns the autocovariance function), autocorrelation(returns the autocorrelation function) and partialAutocorrelation(returns the partital autocorrelation function).",
59
+ "data": "myData",
60
+ "fittedModel": "arimaModel",
61
+ "parameters": {
62
+ "comment": "specify minLag, maxLag for ACF/PACF/ACVF evalautions and nonSeasonalLag, seasonalLag, period for difference",
63
+ "numForecasts": 7,
64
+ "confidenceLevel": 0.95,
65
+ "minLag": 4,
66
+ "maxLag": 10,
67
+ "nonSeasonalLag": 1,
68
+ "seasonalLag": 1,
69
+ "period": 12
70
+ },
71
+ "action": "forecast",
72
+ "evaluations": [ "forecast", "difference", "autocovariance", "autocorrelation", "partialAutocorrelation" ]
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "modelName": "DoubleExponential",
3
+ "modelDescription": "RASON Double Exponential Smoothing Example that fits a model to a dataset. This model also imports a datasource, airpass.txt, which can be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select airpass.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the airpass.txt source file to the myDataSrc datasource. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "Airpass.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the datasources section",
17
+ "myData": {
18
+ "comment": "Binds myDataSrc data source (close.txt) to myData dataset",
19
+ "binding": "myDataSrc"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "doubleExpoEstimator": {
25
+ "comment": "Defines the doubleExpoEstimator as a double exponential smoothing estimator; various options are set. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "timeSeries",
27
+ "algorithm": "doubleExponential",
28
+ "parameters": {
29
+ "optimize": true
30
+ }
31
+ }
32
+ },
33
+ "actions": {
34
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
35
+ "doubleExpoModel": {
36
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset ('data':'myData') using doubleExpoEstimator ('estimator':'doubleExpoEstimator'). Various evaluations are requested in the results such as the fitted model in JSON format and the coefficients. To view the fitted model, click Show Json Results in the upper right corner of the OData viewer. See the RASON Reference Guide (click the Help tab to download) for a list of all supported Exponential Smoothing parameters and evaluations.",
37
+ "data": "myData",
38
+ "estimator": "doubleExpoEstimator",
39
+ "action": "fit",
40
+ "evaluations": [ "fittedModelJson", "coefficientsInfo" ]
41
+ },
42
+ "fitted": {
43
+ "comment": "Scores (using 'action':'transform') the myData dataset ('data':'myData') using the fitted Double Exponential Smoothing model, doubleExpoModel ('fittedModel':'doubleExpoModel'). Various evaluations are requested in the results: transformation (which returns the # of passengers as predicted by doubleExpoModel), residuals (difference between the actual and predicted values), and several statistics (using 'metrics') such as SSE (sum of squared error), MSE (mean squared error), MAPE (mean absolute percentage error), MAD (mean absolute deviation), etc. See the JSON results for the statistic values.",
44
+
45
+ "data": "myData",
46
+ "fittedModel": "doubleExpoModel",
47
+ "action": "transform",
48
+ "evaluations": [ "transformation", "residuals", "metrics" ]
49
+ },
50
+ "forecasted": {
51
+ "comment": "Uses the fitted model ('fittedModel':'doubleExpoModel') to generate a forecast (using 'action':'forecast') of 4 data points using a 90% confidence level. Various options are set such as nonseasonal lag, seasonal lag and period. Evaluations requested are: forecast (4 forecasted values) and difference (returns the differenced data produced by Lag Analysis).",
52
+ "data": "myData",
53
+ "fittedModel": "doubleExpoModel",
54
+ "parameters": {
55
+ "comment": "specify nonSeasonalLag, seasonalLag, period for difference",
56
+ "numForecasts": 4,
57
+ "confidenceLevel": 0.9,
58
+ "nonSeasonalLag": 1,
59
+ "seasonalLag": 1,
60
+ "period": 12
61
+ },
62
+ "action": "forecast",
63
+ "evaluations": [ "forecast", "difference" ]
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "modelName": "Exponential",
3
+ "modelDescription": "RASON Exponential Smoothing Example that fits a model to a dataset. This model also imports a datasource, airpass.txt, which can be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select airpass.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the airpass.txt source file to the myDataSrc datasource. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "Airpass.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the datasources section",
17
+ "myData": {
18
+ "comment": "Binds myDataSrc data source (close.txt) to myData dataset",
19
+ "binding": "myDataSrc"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "expoEstimator": {
25
+ "comment": "Defines the expoEstimator as an exponential smoothing estimator; various options are set. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "timeSeries",
27
+ "algorithm": "exponential",
28
+ "parameters": {
29
+ "optimize": true
30
+ }
31
+ }
32
+ },
33
+ "actions": {
34
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
35
+ "expoModel": {
36
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset ('data':'myData') using expoEstimator ('estimator':'expoEstimator'). Various evaluations are requested in the results such as the fitted model in JSON format and the coefficients. To view the fitted model, click Show Json Results in the upper right corner of the OData viewer. See the RASON Reference Guide (click the Help tab to download) for a list of all supported Exponential Smoothing parameters and evaluations.",
37
+ "data": "myData",
38
+ "estimator": "expoEstimator",
39
+ "action": "fit",
40
+ "evaluations": [ "fittedModelJson", "coefficientsInfo" ]
41
+ },
42
+ "fitted": {
43
+ "comment": "Scores (using 'action':'transform') the myData dataset ('data':'myData') using the fitted Exponential Smoothing model, expoModel ('fittedModel':'expoModel'). Various evaluations are requested in the results: transformation (which returns the # of passengers as predicted by doubleExpoModel), residuals (difference between the actual and predicted values), and several statistics (using 'metrics') such as SSE (sum of squared error), MSE (mean squared error), MAPE (mean absolute percentage error), MAD (mean absolute deviation), etc. See the JSON results for the statistic values.",
44
+ "data": "myData",
45
+ "fittedModel": "expoModel",
46
+ "action": "transform",
47
+ "evaluations": [ "transformation", "residuals", "metrics" ]
48
+ },
49
+ "forecasted": {
50
+ "comment": "Uses the fitted model ('fittedModel':'expoModel') to generate a forecast (using 'action':'forecast') of 4 data points using a 90% confidence level. Various options are set such as nonseasonal lag, seasonal lag and period. Evaluations requested are: forecast (4 forecasted values) and difference (returns the differenced data produced by Lag Analysis).",
51
+ "data": "myData",
52
+ "fittedModel": "expoModel",
53
+ "parameters": {
54
+ "comment": "specify evalautions and nonSeasonalLag, seasonalLag, period for difference",
55
+ "numForecasts": 4,
56
+ "confidenceLevel": 0.9,
57
+ "nonSeasonalLag": 1,
58
+ "seasonalLag": 1,
59
+ "period": 12
60
+ },
61
+ "action": "forecast",
62
+ "evaluations": [ "forecast", "difference" ]
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "modelName": "LagAnalysis",
3
+ "modelDescription": "RASON Example Model - Arima Lag Analysis Time Series RASON Example: This model imports an outside data source, binds the datasource to a dataset, creates a lag analysis time series estimator, then uses the estimator to generate a lag analysis forecast. To download the datasource, close.txt, click the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select close.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the close.txt source file to the myDataSrc datasource. This datasource is a timeseries dataset that includes 2 columns, Date and Close (which refers to a closing price of a stock). Note the content property (content:time-series) which species that the data is time series data. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "close.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the datasources section",
17
+ "myData": {
18
+ "comment": "Binds myDataSrc data source (close.txt) to myData dataset. Note that the time variable is selected using the property timeVariable (timeVariable:Date) and the selected variable is selected using the selectedCols (selectedCols:Close) property.",
19
+ "binding": "myDataSrc",
20
+ "timeVariable": "Date",
21
+ "selectedCols": "Close"
22
+ }
23
+ },
24
+ "estimator": {
25
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
26
+ "lagAnalyzer": {
27
+ "comment": "Defines the lagAnalyzer as a lag analysis time series estimator. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
28
+ "type": "timeSeries",
29
+ "algorithm": "lagAnalysis"
30
+ }
31
+ },
32
+ "actions": {
33
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
34
+ "lagFunctions": {
35
+ "comment": "Applies the lag analysis time series estimator, lagAnalyzer, to generate a forecast using Lag Analysis. Various parameters are set using parameters property. Various options are set using the evaluations property. For a complete list of all parameters and evaluations supported by lag analysis, see the RASON Data Mining Components chapter in the RASON Reference Guide. ",
36
+ "data": "myData",
37
+ "parameters": {
38
+ "comment": "specify minLag, maxLag for ACF/PACF/ACVF evalautions and nonSeasonalLag, seasonalLag, period for difference",
39
+ "minLag": 4,
40
+ "maxLag": 10,
41
+ "nonSeasonalLag": 1,
42
+ "seasonalLag": 1,
43
+ "period": 12
44
+ },
45
+ "action": "forecast",
46
+ "evaluations": [ "difference", "autocorrelation", "autoCovariance", "partialAutocorrelation" ]
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "modelName": "MovingAverage",
3
+ "modelDescription": "Moving-Average Smoothing RASON Example that fits a model to data, imported from an outside file, Airpass.txt. This dataset includes two columns, month and passengers, recording the number of airline passengers from Jan 1949 to Dec 1960. This file may be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select airpass.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the airpass.txt source file to the myDataSrc datasource. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "Airpass.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the datasources section",
17
+ "myData": {
18
+ "comment": "Binds myDataSrc data source (airpass.txt) to myData dataset",
19
+ "binding": "myDataSrc"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "movAvgEstimator": {
25
+ "comment": "Defines the movAvgEstimator as a moving average smoothing estimator; the interval option is set in parameters. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "timeSeries",
27
+ "algorithm": "movingAverage",
28
+ "parameters": {
29
+ "interval": 2
30
+ }
31
+ }
32
+ },
33
+ "actions": {
34
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
35
+ "movAvgModel": {
36
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset (using 'data':'myData') using movAvgEstimator ('estimator':'movAvgEstimator'). One evaluation is requested in the results, the fitted model in JSON format. To view the fitted model, click Show Json Results in the upper right corner of the OData viewer. See the RASON Reference Guide (click the Help tab to download) for a list of all supported Exponential Smoothing parameters and evaluations.",
37
+ "data": "myData",
38
+ "estimator": "movAvgEstimator",
39
+ "action": "fit",
40
+ "evaluations": [ "fittedModelJson" ]
41
+ },
42
+ "fitted": {
43
+ "comment": "Scores (using 'action':'transform') the myData dataset ('data':'myData') using the fitted moving average smoothing model, movAvgModel ('fittedModel':'movAvgModel'). Various evaluations are requested in the results: transformation (which returns the # of predicted passengers), residuals (difference between the actual and predicted values), and several statistics (using 'metrics') such as SSE (sum of squared error), MSE (mean squared error), MAPE (mean absolute percentage error), MAD (mean absolute deviation), etc. See the JSON results for the statistic values.",
44
+
45
+ "data": "myData",
46
+ "fittedModel": "movAvgModel",
47
+ "action": "transform",
48
+ "evaluations": [ "transformation", "residuals", "metrics" ]
49
+ },
50
+ "forecasted": {
51
+ "comment": "Generates a forecast (using action:forecast) using the moving average model, movAvgModel') of 4 (numForecasts:4) data points using a 90% confidence level (confidenceLevel:0.9). Various options are set such as nonseasonal lag, seasonal lag and period. Evaluations requested are: forecast (4 forecasted values) and difference (returns the differenced data produced by Lag Analysis).",
52
+ "data": "myData",
53
+ "fittedModel": "movAvgModel",
54
+ "parameters": {
55
+ "comment": "specify nonSeasonalLag, seasonalLag, period for difference",
56
+ "numForecasts": 4,
57
+ "confidenceLevel": 0.9,
58
+ "nonSeasonalLag": 1,
59
+ "seasonalLag": 1,
60
+ "period": 12
61
+ },
62
+ "action": "forecast",
63
+ "evaluations": [ "forecast", "difference" ]
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "modelName": "MulHoltWinters",
3
+ "modelDescription": "Multiplicative Holt- Winters Smoothing RASON Example that fits a model to data, imported from an outside file, Airpass.txt. This time series dataset includes two columns, month and passengers, recording the number of airline passengers from Jan 1949 to Dec 1960. This file may be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select airpass.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the airpass.txt source file to the myDataSrc datasource. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "Airpass.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the datasources section",
17
+ "myData": {
18
+ "comment": "Binds myDataSrc data source (airpass.txt) to myData dataset",
19
+ "binding": "myDataSrc"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "mulHWEstimator": {
25
+ "comment": "Defines the mulHWEstimator as a multiplicative holt winters smoothing estimator; two options, period and optimize, are set in parameters. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "timeSeries",
27
+ "algorithm": "mulHoltWinters",
28
+ "parameters": {
29
+ "period": 12,
30
+ "optimize": true
31
+ }
32
+ }
33
+ },
34
+ "actions": {
35
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
36
+ "mulHWModel": {
37
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset (using 'data':'myData') using multiplicative holt winters smoothing('estimator':'mulHWEstimator'). Two evaluations are requested in the results, the fitted model in JSON format, and the coefficients of the fitted model. To view the fitted model, click Show Json Results in the upper right corner of the OData viewer. See the RASON Reference Guide (click the Help tab to download) for a list of all supported Exponential Smoothing parameters and evaluations.",
38
+ "data": "myData",
39
+ "estimator": "mulHWEstimator",
40
+ "action": "fit",
41
+ "evaluations": [ "fittedModelJson", "coefficientsInfo" ]
42
+ },
43
+ "fitted": {
44
+ "comment": "Scores (using 'action':'transform') the myData dataset ('data':'myData') using the fitted multiplicative holt winters smoothing model, mulHWModel ('fittedModel':'mulHWModel'). Various evaluations are requested in the results: transformation (which returns the # of predicted passengers), residuals (difference between the actual and predicted values), and several statistics (using 'metrics') such as SSE (sum of squared error), MSE (mean squared error), MAPE (mean absolute percentage error), MAD (mean absolute deviation), etc. See the JSON results for the statistic values.",
45
+ "data": "myData",
46
+ "fittedModel": "mulHWModel",
47
+ "action": "transform",
48
+ "evaluations": [ "transformation", "residuals", "metrics" ]
49
+ },
50
+ "forecasted": {
51
+ "comment": "Generates a forecast (using action:forecast) using the multiplicative holt winters smoothing model, mulHWModel of 4 (numForecasts:4) data points using a 90% confidence level (confidenceLevel:0.9). Various options are set such as nonseasonal lag, seasonal lag and period inside parameters. Evaluations requested are: forecast (4 forecasted values) and difference (returns the differenced data produced by Lag Analysis).",
52
+ "data": "myData",
53
+ "fittedModel": "mulHWModel",
54
+ "parameters": {
55
+ "comment": "specify nonSeasonalLag, seasonalLag, period for difference",
56
+ "numForecasts": 4,
57
+ "confidenceLevel": 0.9,
58
+ "nonSeasonalLag": 1,
59
+ "seasonalLag": 1,
60
+ "period": 12
61
+ },
62
+ "action": "forecast",
63
+ "evaluations": [ "forecast", "difference" ]
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "modelName": "NoTrendHoltWinters",
3
+ "modelDescription": "RASON No Trend Holt - Winters Smoothing Example that fits a model to data, imported from an outside file, Airpass.txt. This time series dataset includes two columns, month and passengers, recording the number of airline passengers from Jan 1949 to Dec 1960. This file may be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select airpass.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the airpass.txt source file to the myDataSrc datasource. The property content:time-series considers the 1st column as the time variable and the 2nd column as the value column in the dataframe.",
9
+ "type": "csv",
10
+ "connection": "Airpass.txt",
11
+ "content": "time-series",
12
+ "direction": "import"
13
+ }
14
+ },
15
+ "datasets": {
16
+ "comment": "Datasets are bound to an entry in the datasources section",
17
+ "myData": {
18
+ "comment": "Binds the airpass.txt source file to the myDataSrc datasource.",
19
+ "binding": "myDataSrc"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "noTrendHWEstimator": {
25
+ "comment": "Defines the noTrendHWEstimator as a no trend holt winters smoothing estimator; two options, period and optimize, are set in parameters. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "timeSeries",
27
+ "algorithm": "noTrendHoltWinters",
28
+ "parameters": {
29
+ "period": 12,
30
+ "optimize": true
31
+ }
32
+ }
33
+ },
34
+ "actions": {
35
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
36
+ "noTrendHWModel": {
37
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset (using 'data':'myData') using no-trend holt winters smoothing('estimator':'notrendHWEstimator'). Two evaluations are requested in the results, the fitted model in JSON format, and the coefficients of the fitted model. To view the fitted model, click Show Json Results in the upper right corner of the OData viewer. See the RASON Reference Guide (click the Help tab to download) for a list of all supported Exponential Smoothing parameters and evaluations.",
38
+ "data": "myData",
39
+ "estimator": "noTrendHWEstimator",
40
+ "action": "fit",
41
+ "evaluations": [ "fittedModelJson", "coefficientsInfo" ]
42
+ },
43
+ "fitted": {
44
+ "comment": "Scores (using 'action':'transform') the myData dataset ('data':'myData') using the fitted no-trend holt winters smoothing model, noTrendHWModel ('fittedModel':'noTrendHWModel'). Various evaluations are requested in the results: transformation (which returns the # of predicted passengers), residuals (difference between the actual and predicted values), and several statistics such as SSE (sum of squared error), MSE (mean squared error), MAPE (mean absolute percentage error), MAD (mean absolute deviation), etc. Alternatively, use 'metrics' to print all 7 statistics. See the JSON results for the statistic values.",
45
+ "data": "myData",
46
+ "fittedModel": "noTrendHWModel",
47
+ "action": "transform",
48
+ "evaluations": [ "transformation", "residuals", "sse", "mse", "mape", "mad", "cfe", "mfe", "tse" ]
49
+ },
50
+ "forecasted": {
51
+ "comment": "Generates a forecast (using action:forecast) using the no trend holt winters smoothing model, noTrendHWModel of 4 (numForecasts:4) data points using a 90% confidence level (confidenceLevel:0.9). Various options are set such as nonseasonal lag, seasonal lag and period inside parameters. Evaluations requested are: forecast (4 forecasted values) and difference (returns the differenced data produced by Lag Analysis).",
52
+ "data": "myData",
53
+ "fittedModel": "noTrendHWModel",
54
+ "parameters": {
55
+ "comment": "specify nonSeasonalLag, seasonalLag, period for difference",
56
+ "numForecasts": 4,
57
+ "confidenceLevel": 0.9,
58
+ "nonSeasonalLag": 1,
59
+ "seasonalLag": 1,
60
+ "period": 12
61
+ },
62
+ "action": "forecast",
63
+ "evaluations": [ "forecast", "difference" ]
64
+ }
65
+ }
66
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "modelName": "Binning",
3
+ "modelDescription": "Transformation RASON model example that performs binning on an imported data source. This datasource can be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select Binning.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "myDataSrc": {
8
+ "comment": "Binds the Binning.txt source file to the myDataSrc datasource.",
9
+ "type": "csv",
10
+ "connection": "Binning.txt",
11
+ "direction": "import"
12
+ }
13
+ },
14
+ "datasets": {
15
+ "comment": "Datasets are bound to an entry in the datasources section",
16
+ "myData": {
17
+ "comment": "Binds myDataSrc (Binning.txt) to myData data set",
18
+ "binding": "myDataSrc"
19
+ }
20
+ },
21
+ "estimator": {
22
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
23
+ "binningEstimator": {
24
+ "comment": "Defines the binningEstimator as a binning estimator. The binning options are set under parameters. The first parameter, numBins, sets the number of bins for x2 to 11 and for x4 to 4. The second parameter, method, sets the binning method to equal interval for x2 and equal count for x4. The final parameter, interval, sets the interval for x2 to right closed and closed for x4. For a complete list of all algorithm options, see the RASON Data Science Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
25
+ "type": "transformation",
26
+ "algorithm": "binning",
27
+ "parameters": {
28
+ "numBins": [
29
+ [ "x2", 11 ],
30
+ [ "x4", 4 ]
31
+ ],
32
+ "method": [
33
+ [ "x2", "EQUAL_INTERVAL" ],
34
+ [ "x4", "EQUAL_COUNT" ]
35
+ ],
36
+ "interval": [
37
+ [ "x2", "RIGHT_CLOSED" ],
38
+ [ "x4", "CLOSED" ]
39
+ ]
40
+ }
41
+ }
42
+ },
43
+ "actions": {
44
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
45
+ "binningModel": {
46
+ "comment": "Fits (using 'action':'fit') a model to the myData dataset ('data':'myData') using binningEstimator ('estimator':'binningEstimator'). Various evaluations are requested in the results such as the breakPoints, returns the breakpoint (largest value) for each bin, and the number of bins for each variable. See the RASON Reference Guide (click the Help tab to download) for a list of all supported Binning parameters and evaluations.",
47
+ "data": "myData",
48
+ "estimator": "binningEstimator",
49
+ "export": "json",
50
+ "action": "fit",
51
+ "evaluations": [ "breakPoints", "numBins" ]
52
+ },
53
+ "transformedData": {
54
+ "comment": "Applies the fitted model (using 'action':'transform') to the myData dataset ('data':'myData') using the fitted binning model, binningModel ('fittedModel':'binningModel'). Various evaluations are requested in the results: transformation (which returns binned dataset) and the frequency table.",
55
+ "data": "myData",
56
+ "fittedModel": "binningModel",
57
+ "parameters": {
58
+ "binValueOption": [
59
+ [ "x4", "RANK" ],
60
+ [ "x2", "MID_VALUE" ]
61
+ ],
62
+ "rank": [
63
+ [ "x4", 1.0, 5.0 ]
64
+ ]
65
+ },
66
+ "action": "transform",
67
+ "evaluations": [ "transformation", "frequencyTable" ]
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "modelName": "CanonicalVariateAnalysis",
3
+ "modelDescription": "Transformation RASON model example that performs canonical variate analysis on an imported data source. This datasource can be downloaded by clicking the Download RASON Example Files icon (download icon) on the ribbon. To attach the source file to the example, click Choose Files (on the Properties tab on the right), navigate to the location of the downloaded files, select iris.txt and click Open. Then click the POST icon (upload icon) to POST the model to the RASON Server, then click the down arrow next to the Play icon and select Solve to solve the model.",
4
+ "modelType": "datamining",
5
+ "datasources": {
6
+ "comment": "Define datasources to use with this model. Typically these bind to external data sources due to data volume.",
7
+ "mySource": {
8
+ "comment": "Binds the iris.txt source file to the mySource datasource.",
9
+ "type": "csv",
10
+ "connection": "iris.txt",
11
+ "direction": "import"
12
+ }
13
+ },
14
+ "datasets": {
15
+ "comment": "Datasets are bound to an entry in the datasources section",
16
+ "myData": {
17
+ "comment": "Binds mySource (iris.txt) to myData data set. Note that the target column (or output variable) is set to species_name.",
18
+ "binding": "mySource",
19
+ "targetcol": "Species_name"
20
+ }
21
+ },
22
+ "estimator": {
23
+ "comment": "Defines an estimator, including the type, algorithm and parameters. Only 1 estimator/transformer may appear in a RASON model.",
24
+ "cvaEstimator": {
25
+ "comment": "Defines the cvaEstimator as a canonical variate analysis estimator. For a complete list of all algorithm options, see the RASON Data Mining Components chapter in the RASON Reference Guide. (Click the Help tab to download.)",
26
+ "type": "transformation",
27
+ "algorithm": "canonicalVariateAnalysis"
28
+ }
29
+ },
30
+ "actions": {
31
+ "comment": "Define actions, evaluations, and data to be used by the estimator created above.",
32
+ "cvaModel": {
33
+ "comment": "Fits a canonical variates model (using 'action':'fit') to the myData dataset ('data':'myData') using cvaEstimator ('estimator':'cvaEstimator'). The canonical variates are requested in the results (evaluations:[canonicalVariates]. See the RASON Reference Guide (click the Help tab to download) for a list of all supported canonical variates parameters and evaluations.",
34
+ "trainData": "myData",
35
+ "estimator": "cvaEstimator",
36
+ "export": "json",
37
+ "action": "fit",
38
+ "evaluations": [ "canonicalVariates" ]
39
+ },
40
+ "transformedData": {
41
+ "comment": "Applies the fitted model (using 'action':'transform') to the myData dataset ('data':'myData') using the fitted canonical variate model, cvaModel ('fittedModel':'cvaModel'). The only evaluation requested is the transformed data.",
42
+ "data": "myData",
43
+ "fittedModel": "cvaModel",
44
+ "action": "transform",
45
+ "evaluations": [ "transformation" ]
46
+ }
47
+ }
48
+ }