A matrix for make the sample input normalized.(进行所输入的样本数据的归一化的矩阵)
NormalizeMatrix
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| DoNormalize | 1 | Normalize a single property value by its property name. |
| doNormalInternal | 1 | Normalize a single value with the given sample distribution and normalization method. |
| NormalizeInput | 2 | Normalize the sample inputs Sample.label to value range [0, 1] |
| CreateFromSamples | 2 | Create the normalization matrix from a SampleList object. |
03 Properties
04 Members
String, Double, Methods)Normalize a single property value by its property name.
| Name | Type | Description |
|---|---|---|
name | String | The property name, it should be one of the elements in the NormalizeMatrix.names list. |
value | Double | The raw property value that will be normalized. |
method | Methods | The normalization method, the default value is |
The normalized value.
SampleDistribution, Double, Methods)Normalize a single value with the given sample distribution and normalization method.
| Name | Type | Description |
|---|---|---|
dist | SampleDistribution | The |
x | Double | The raw value that will be normalized. |
method | Methods | The normalization method, the default value is |
The normalized value.
Methods)Normalize the sample inputs Sample.label to value range [0, 1]
| Name | Type | Description |
|---|---|---|
sample | Sample | The target sample whose input vector will be normalized. |
method | Methods | The normalization method, the default value is |
An array of the normalized input values.
IEnumerable(Of Double), Methods)Normalize the sample inputs Sample.label to value range [0, 1]
| Name | Type | Description |
|---|---|---|
sample | IEnumerable(Of Double) | The target input vector which will be normalized, the element order should be identical with the NormalizeMatrix.matrix and the NormalizeMatrix.names list. |
method | Methods | The normalization method, the default value is |
An array of the normalized input values.
Create the normalization matrix from a SampleList object.
| Name | Type | Description |
|---|---|---|
sampleList | SampleList | The training sample collection. |
names | IEnumerable(Of String) | The property names, not sample id names. |
estimateQuantile | Boolean | Whether the quantile value of the sample distribution should be estimated? The default value is |
A NormalizeMatrix object.
IEnumerable(Of Sample), IEnumerable(Of String), Boolean)神经网络会要求输入的属性值之间是可以直接进行比较的, 所以为了能够直接进行比较, 在这里将sample的每一个属性都按列归一化为[0,1]之间的结果
| Name | Type | Description |
|---|---|---|
samples | IEnumerable(Of Sample) | A collection of the training Sample data. |
names | IEnumerable(Of String) | The property names, not sample id names |
A NormalizeMatrix object which contains the distribution of each property column of the given samples.
每一个属性都具有一个归一化区间
A list of the SampleDistribution objects, one for each property column.
属性名称列表,这个序列的长度是和NormalizeMatrix.matrix的长度一致的,并且元素的顺序一一对应的
An array of the property names.