Method | Description | |
---|---|---|
Example ( int cls, IEnumerable |
Construct an example with the specified class and feature data. Makes a copy of features. To preserve immutability.
|
|
WithClass ( int cls ) : |
Efficiently returns an identical example except with the new class value.
|
|
WithFeatures ( IArrayView |
Efficiently returns an identical example except with only the features at the indices specified by the argument. No copying of features is performed.
|
|
ZScored ( IArrayView |
Efficiently returns an identical example with features that have been z-scored using means and standardDeviations.
|
Method | Description | |
---|---|---|
Example ( int cls, IArrayView |
||
ZScored ( IArrayView |
Zscores the examples, returning the calculated means and standard deviations as out parameters.
|
public Example ( int cls, IEnumerable |
||
cls | int | |
features | IEnumerable |
|
return | System |
public WithFeatures ( IArrayView |
||
featureIndices | IArrayView |
|
return |
public ZScored ( IArrayView |
||
means | IArrayView |
|
standardDeviations | IArrayView |
|
return |