Udostępnij przez


MiningStructure.HoldoutMaxCases Property

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

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Deklaracja
<XmlElementAttribute(Namespace:="https://schemas.microsoft.com/analysisservices/2008/engine/100/100")> _
<DefaultValueAttribute(0)> _
Public Property HoldoutMaxCases As Long
[XmlElementAttribute(Namespace="https://schemas.microsoft.com/analysisservices/2008/engine/100/100")] 
[DefaultValueAttribute(0)] 
public long HoldoutMaxCases { get; set; }
[XmlElementAttribute(Namespace=L"https://schemas.microsoft.com/analysisservices/2008/engine/100/100")] 
[DefaultValueAttribute(0)] 
public:
property long long HoldoutMaxCases {
    long long get ();
    void set (long long value);
}
/** @property */
public long get_HoldoutMaxCases ()

/** @property */
public void set_HoldoutMaxCases (long value)
public function get HoldoutMaxCases () : long

public function set HoldoutMaxCases (value : long)

Property Value

An integer that indicates the maximum number of cases in the training data set. A value of 0 indicates no limit.

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.

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.

Uwaga

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

Uwaga

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.