Dataset which performs linear dimensionality reduction. More...
Public Member Functions | |
def | __init__ |
def | get_original_inputs |
returns full dimensioned inputs | |
def | pca_reduce |
Performs PCA dim reduction. | |
def | randomized_vectors_reduce |
Performs randomized vector dim reduction. | |
def | reduce |
Project data points onto the linear embedding. | |
def | reduce_input |
Project this dataset's input instances (stores original instances) | |
def | set_projection_vectors |
Projection vectors are assumed to be column vectors. | |
Public Attributes | |
inputs | |
original_inputs | |
projection_basis |
Dataset which performs linear dimensionality reduction.
Definition at line 69 of file dimreduce.py.
def ml_lib.dimreduce.LinearDimReduceDataset.__init__ | ( | self, | |
inputs, | |||
outputs | |||
) |
Definition at line 71 of file dimreduce.py.
returns full dimensioned inputs
Definition at line 106 of file dimreduce.py.
def ml_lib.dimreduce.LinearDimReduceDataset.pca_reduce | ( | self, | |
percent_variance | |||
) |
Performs PCA dim reduction.
percent_variance |
Definition at line 95 of file dimreduce.py.
def ml_lib.dimreduce.LinearDimReduceDataset.randomized_vectors_reduce | ( | self, | |
number_of_vectors | |||
) |
Performs randomized vector dim reduction.
number_of_vectors | number of vectors to generate/use |
Definition at line 101 of file dimreduce.py.
def ml_lib.dimreduce.LinearDimReduceDataset.reduce | ( | self, | |
data_points | |||
) |
Project data points onto the linear embedding.
data_points | to project |
Definition at line 89 of file dimreduce.py.
Project this dataset's input instances (stores original instances)
Definition at line 77 of file dimreduce.py.
def ml_lib.dimreduce.LinearDimReduceDataset.set_projection_vectors | ( | self, | |
vec | |||
) |
Projection vectors are assumed to be column vectors.
Definition at line 83 of file dimreduce.py.
Definition at line 77 of file dimreduce.py.
Definition at line 71 of file dimreduce.py.
Definition at line 83 of file dimreduce.py.