.DataAugmentation
NormalizeRow
struct
defined in module
DataAugmentation
NormalizeRow(dict, cols)
Normalizes the values of a row present in
TabularItem
for the columns specified in
cols
using
dict
, which contains the column names as dictionary keys and the mean and standard deviation tuple present as dictionary values.
using
DataAugmentation
cols
=
[
:
col1
,
:
col2
,
:
col3
]
row
=
(
;
zip
(
cols
,
[
1
,
2
,
3
]
)
...
)
item
=
TabularItem
(
row
,
cols
)
normdict
=
Dict
(
:
col1
=>
(
1
,
1
)
,
:
col2
=>
(
2
,
2
)
)
tfm
=
NormalizeRow
(
normdict
,
[
:
col1
,
:
col2
]
)
apply
(
tfm
,
item
)
There is
1
method for DataAugmentation.NormalizeRow
:
The following pages link back here: