Share via


Propriété HoldoutSeed

Gets or sets the seed used to initialize partitioning of the MiningStructure into training and testing data sets[.]

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Property HoldoutSeed As Long
    Get
    Set
'Utilisation
Dim instance As MiningStructure
Dim value As Long

value = instance.HoldoutSeed

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

Valeur de propriété

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.

Notes

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.

Notes

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.