Share via


MiningStructure.HoldoutMaxPercent Property

Returns the maximum percentage of cases from the source data of the MiningStructure that can be used for testing.

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

Syntax

'Declaration
Public ReadOnly Property HoldoutMaxPercent As Integer
    Get
'Usage
Dim instance As MiningStructure
Dim value As Integer

value = instance.HoldoutMaxPercent
public int HoldoutMaxPercent { get; }
public:
property int HoldoutMaxPercent {
    int get ();
}
member HoldoutMaxPercent : int
function get HoldoutMaxPercent () : int

Property Value

Type: System.Int32
An integer that indicates the percentage of source data used for testing.

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.