共用方式為


HoldoutMaxCases 屬性

Returns the value specified 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
An integer that indicates 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.