Parameters (clsMiningModel)
The Parameters property of an object of ClassType clsMiningModel stores parameter value settings for the algorithm specified in the MiningAlgorithm property of the mining model. Parameters can be combined within a string by separating each one with a semicolon.
Data Type
String
Access
Read/write
Remarks
Settings for the Parameters property must conform to the parameters specified in the SERVICE_PARAMETERS schema rowset. Decision Support Objects (DSO) does not validate the settings used in the property string. Therefore, the string is appended without validation to the CREATE MINING MODEL (for relational data mining models) or CREATE OLAP MINING MODEL (for OLAP data mining models) statement used to create the data mining model. The Analysis server, on the other hand, checks for valid parameter settings and returns errors as appropriate.
Example
The following example sets the parameters for a data mining algorithm.
' Assume an object (dsoDMM) of ClassType clsMiningModel and
' SubClassType sbclsRelational exists.
' Set the MiningAlgorithm property to use Microsoft Decision Trees.
dsoDMM.MiningAlgorithm = "Microsoft Decision Trees"
' This algorithm supports the MINIMUM_LEAF_CASES mining parameter.
dsoDMM.Parameters = "MINIMUM_LEAF_CASES=15"