Partilhar via


Propriedade HoldoutMaxPercent

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 (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Property HoldoutMaxPercent As Integer
    Get
'Uso
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

Valor da propriedade

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

Comentários

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.