Delen via


MiningStructure.HoldoutMaxCases Property

Returns the value specified maximum number of cases in the testing data partition of the MiningStructure.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Property HoldoutMaxCases As Long
    Get
'Usage
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

Property Value

Type: System.Int64
An integer that indicates the maximum number of cases allowed in the training data set. A value of 0 indicates no limit.

Remarks

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.

Note

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