Partager via


Propriété HoldoutMaxPercent

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

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property HoldoutMaxPercent As Integer
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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.