다음을 통해 공유


MiningStructure.HoldoutMaxCases 속성

Gets or sets the maximum number of cases in the partition of the MiningStructure that contains testing data.

네임스페이스:  Microsoft.AnalysisServices
어셈블리:  Microsoft.AnalysisServices(Microsoft.AnalysisServices.dll)

구문

‘선언
Public Property HoldoutMaxCases As Long 
    Get 
    Set
‘사용 방법
Dim instance As MiningStructure 
Dim value As Long 

value = instance.HoldoutMaxCases

instance.HoldoutMaxCases = value
public long HoldoutMaxCases { get; set; }
public:
property long long HoldoutMaxCases {
    long long get ();
    void set (long long value);
}
member HoldoutMaxCases : int64 with get, set
function get HoldoutMaxCases () : long 
function set HoldoutMaxCases (value : long)

속성 값

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

주의

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.

If the size of the final testing data, based on all holdout parameters, equals or exceeds the total number of cases, a warning is raised. An error is also raised if the testing set is bigger than the training set.

[!참고]

To enable creation of a testing data set, the CacheMode property of the mining structure must be set to the default value, KeepTrainingCases.

[!참고]

SQL Server 2005 does not support creation of holdout partitions on a mining structure. You cannot use HoldoutMaxCases with a mining structure that is stored in an instance of SQL Server 2005 Analysis Services.

참고 항목

참조

MiningStructure 클래스

Microsoft.AnalysisServices 네임스페이스