SearchSpace 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。
public sealed class SearchSpace : Microsoft.ML.SearchSpace.Option.OptionBase, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,Microsoft.ML.SearchSpace.Option.OptionBase>>, System.Collections.Generic.IDictionary<string,Microsoft.ML.SearchSpace.Option.OptionBase>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.ML.SearchSpace.Option.OptionBase>>
type SearchSpace = class
inherit OptionBase
interface IDictionary<string, OptionBase>
interface ICollection<KeyValuePair<string, OptionBase>>
interface seq<KeyValuePair<string, OptionBase>>
interface IEnumerable
Public NotInheritable Class SearchSpace
Inherits OptionBase
Implements ICollection(Of KeyValuePair(Of String, OptionBase)), IDictionary(Of String, OptionBase), IEnumerable(Of KeyValuePair(Of String, OptionBase))
- 繼承
- 實作
-
ICollection<KeyValuePair<String,OptionBase>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,OptionBase> IEnumerable<KeyValuePair<String,OptionBase>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
建構函式
| 名稱 | Description |
|---|---|
| SearchSpace() |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |
屬性
| 名稱 | Description |
|---|---|
| Count |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |
| Default |
會得到預設值,也就是映射到特徵空間(如果存在的話)。 |
| FeatureSpaceDim |
特徵空間的維度,等於輸出 SampleFromFeatureSpace(Double[])長度。 |
| IsReadOnly |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |
| Item[String] |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |
| Keys |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |
| Step |
取得這個選項的步驟。 用來 Step 決定此選項應劃分為多少格子。 在 ChoiceOption中,長度總是 Choices。 在 UniformNumericOption中,它總是 [null]。 而在 SearchSpace中,則是所有選項的組合 Step 。 |
| Values |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| IEnumerable.GetEnumerator() |
此類別代表巢狀選項,也就是包含其他選項的選項,例如 ChoiceOption, UniformNumericOption 甚至 SearchSpace 是它自身。 |