共用方式為


MiningStructure.HoldoutMaxCases 屬性

Gets the value that specifies the maximum number of cases in the testing data partition of the MiningStructure.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property HoldoutMaxCases As Long 
    Get
'用途
Dim instance As MiningStructure 
Dim value As Long 

value = instance.HoldoutMaxCases
public long HoldoutMaxCases { get; }
public:
property long long HoldoutMaxCases {
    long long get ();
}
member HoldoutMaxCases : int64
function get HoldoutMaxCases () : long

屬性值

型別:System.Int64
The maximum number of cases allowed in the training data set. A value of 0 indicates no limit.

備註

If values are set for both HoldoutMaxCases and HoldoutMaxPercent, the lower limit is used. If no value is set for HoldoutMaxPercent and the value for HoldoutMaxCases is 0, all the data is used for testing and none for training.

[!附註]

To enable holdout properties, the CacheMode property of the mining structure must be set to the default value, KeepTrainingCases.

請參閱

參考

MiningStructure 類別

Microsoft.AnalysisServices.AdomdClient 命名空間