共用方式為


MiningStructure.HoldoutMaxPercent 屬性

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

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property HoldoutMaxPercent As Integer 
    Get
'用途
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

屬性值

型別:System.Int32
The maximum percentage of source data used for testing.

備註

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.

請參閱

參考

MiningStructure 類別

Microsoft.AnalysisServices.AdomdClient 命名空間