MiningStructure.HoldoutMaxPercent Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the percentage of cases in the source data of the MiningStructure that are used for testing.

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

Syntax

[DefaultValueAttribute(0)]
[XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")]
public int HoldoutMaxPercent { get; set; }
public:
[DefaultValueAttribute(0)]
[XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")]
property int HoldoutMaxPercent {
    int get();
    void set(int value);
}
[<DefaultValueAttribute(0)>]
[<XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")>]
member HoldoutMaxPercent : int with get, set
<DefaultValueAttribute(0)>
<XmlElementAttribute(Namespace := "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")>
Public Property HoldoutMaxPercent As Integer

Property Value

Type: System.Int32

An integer between 0 and 99 that indicates the percentage of source data used for testing.

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 set, 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.

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

Note

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

See Also

MiningStructure Class
Microsoft.AnalysisServices Namespace

Return to top