the in-memory sample data object
SampleData
01 Syntax
Microsoft.VisualBasic.MachineLearning.ComponentModel.StoreProcedure.SampleData
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | make data copy from the given sample object, this constructor will assign the id, features and labels from the given sample data object. |
| TransformDataset | 1 | make dataset normalization |
| CheckInvalidNaN | 1 | |
| ToString | 1 | |
| CreateDataSet | 1 | |
| Save | 1 | |
| Load | 1 |
03 Properties
04 Members
#ctor(Sample)
make data copy from the given sample object, this constructor will assign the id, features and labels from the given sample data object.
Parameters
| Name | Type | Description |
|---|---|---|
sample | Sample | - |
#ctor(
Double())create the dataset for predictions, so no label data
Parameters
| Name | Type | Description |
|---|---|---|
data | Double() | - |
make dataset normalization
Parameters
| Name | Type | Description |
|---|---|---|
trainset | SampleData() | - |
is_generative | Boolean | - |
is_training | Boolean | - |
id
the unique id
features
labels
CheckInvalidNaN()
ToString()
CreateDataSet(
IEnumerable(Of SampleData))Save(
IEnumerable(Of SampleData), Stream)Load(
Stream)