Udostępnij przez


MiningStructure.HoldoutSeed Property

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

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

/** @property */
public void set_HoldoutSeed (long value)
public function get HoldoutSeed () : long

public function set HoldoutSeed (value : long)

Property Value

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.

Uwaga

SQL Server 2005 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 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.