Constructor
new DimRed(Mat)
Parameters:
Name |
Type |
Description |
Mat |
MiniMat
|
The data matrix to operate on |
- Source:
Methods
(static) cgreat(x, y)
a static comparison function for array arithmetic, returns true if first param is greater than the second
Parameters:
Name |
Type |
Description |
x |
float
|
a number to compare |
y |
float
|
a number to compare |
- Source:
(static) cless(x, y)
a static comparison function for array arithmetic, returns true if first param is less than the second
Parameters:
Name |
Type |
Description |
x |
float
|
a number to compare |
y |
float
|
a number to compare |
- Source:
(static) mean(arr)
a static mean function for array arithmetic, returns mean
Parameters:
Name |
Type |
Description |
arr |
Array.<Object>
|
an array of floats to find mean |
- Source:
(static) missing(arr)
Determine missing data ratio of an array for missing data filter
Parameters:
Name |
Type |
Description |
arr |
Array.<Object>
|
an array of floats to find missing data ratio of |
- Source:
(static) radd(x, y)
a static add function for array arithmetic, returns sum
Parameters:
Name |
Type |
Description |
x |
float
|
a number to add |
y |
float
|
a number to add |
- Source:
(static) variance(arr)
Determine variance of an array for low variance filter
Parameters:
Name |
Type |
Description |
arr |
Array.<Object>
|
an array of floats to find variance of |
- Source:
filter(fil_fcnopt, parameteropt, comparisonopt)
in place filter method with adjustable parameter
Parameters:
Name |
Type |
Attributes |
Default |
Description |
fil_fcn |
function
|
<optional>
|
|
a function to filter upon |
parameter |
parameter
|
<optional>
|
1
|
a paramater to compare the filter against |
comparison |
function
|
<optional>
|
|
a function which returns true when data is desired to be kept, given filter(col) and the paramater |
- Source:
filter_promise(fil_fcnopt, parameteropt, comparisonopt)
async manager for filter dimensionality reduction; returns a promise.
Parameters:
Name |
Type |
Attributes |
Default |
Description |
fil_fcn |
function
|
<optional>
|
|
a function to filter upon |
parameter |
parameter
|
<optional>
|
1
|
a paramater to compare the filter against |
comparison |
function
|
<optional>
|
|
a function which returns true when data is desired to be kept, given filter(col) and the paramater |
- Source: