MiningStructure.HoldoutSeed Property
Applies To: SQL Server 2016 Preview
Gets or sets the seed used to initialize partitioning of the MiningStructure into training and testing data sets.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
[XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")]
[DefaultValueAttribute(0)]
public long HoldoutSeed { get; set; }
public:
[XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")]
[DefaultValueAttribute(0)]
property long long HoldoutSeed {
long long get();
void set(long long value);
}
[<XmlElementAttribute(Namespace = "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")>]
[<DefaultValueAttribute(0)>]
member HoldoutSeed : int64 with get, set
<XmlElementAttribute(Namespace := "https://schemas.microsoft.com/analysisservices/2008/engine/100/100")>
<DefaultValueAttribute(0)>
Public Property HoldoutSeed As Long
Property Value
Type: System.Int64
An integer that contains the holdout seed. If 0, a hash of the ID of the MiningStructure is used as the seed. The default value is 0.
Remarks
Partitioning is random and data dependent. To ensure that a particular partition can be repeated, you must specify a seed.
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 HoldoutSeed with a mining structure that is stored in an instance of Analysis Services.
See Also
MiningStructure Class
Microsoft.AnalysisServices Namespace
Return to top