SearchSpace<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class is used to represent a set of OptionBase, which can be either one of ChoiceOption, UniformNumericOption or Microsoft.ML.SearchSpace.Option.NestOption.
public sealed class SearchSpace<T> : Microsoft.ML.SearchSpace.SearchSpace where T : class, new()
type SearchSpace<'T (requires 'T : null and 'T : (new : unit -> 'T))> = class
inherit SearchSpace
Public NotInheritable Class SearchSpace(Of T)
Inherits SearchSpace
Type Parameters
- T
- Inheritance
Constructors
SearchSpace<T>() |
Create SearchSpace<T> from |
SearchSpace<T>(T) |
Create SearchSpace<T> from |
Properties
Count | (Inherited from SearchSpace) |
Default |
Gets the default value which is mapping to feature space (if exists). (Inherited from SearchSpace) |
FeatureSpaceDim |
the dimension of feature space, which is equal to the output length of SampleFromFeatureSpace(Double[]). (Inherited from SearchSpace) |
IsReadOnly | (Inherited from SearchSpace) |
Item[String] | (Inherited from SearchSpace) |
Keys | (Inherited from SearchSpace) |
Step |
Gets the step of this option. The Step is used to determine the number of grid this option should be divided into. In ChoiceOption, it's always the length of Choices. And in UniformNumericOption, it's always [null]. And in SearchSpace, it's a combination of all Step in its options. (Inherited from SearchSpace) |
Values | (Inherited from SearchSpace) |
Methods
Add(KeyValuePair<String,OptionBase>) | (Inherited from SearchSpace) |
Add(String, OptionBase) | (Inherited from SearchSpace) |
Clear() | (Inherited from SearchSpace) |
Contains(KeyValuePair<String,OptionBase>) | (Inherited from SearchSpace) |
ContainsKey(String) | (Inherited from SearchSpace) |
CopyTo(KeyValuePair<String,OptionBase>[], Int32) | (Inherited from SearchSpace) |
GetEnumerator() | (Inherited from SearchSpace) |
GetHashCode() | (Inherited from SearchSpace) |
MappingToFeatureSpace(Parameter) |
mapping value to [0, 1) uniform distribution. (Inherited from SearchSpace) |
MappingToFeatureSpace(T) | System.Object.MappingToFeatureSpace(`0) |
Remove(KeyValuePair<String,OptionBase>) | (Inherited from SearchSpace) |
Remove(String) | (Inherited from SearchSpace) |
SampleFromFeatureSpace(Double[]) |
sample from [0,1) uniform distribution. |
TryGetValue(String, OptionBase) | (Inherited from SearchSpace) |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | (Inherited from SearchSpace) |