Table Of Contents

This Page

feature_selection Package

feature_selection Module

Created on Oct 5, 2012

@author: georgianadinu

class composes.transformation.feature_selection.feature_selection.FeatureSelection(reduced_dimension)

Bases: object

classdocs

create_operation()
get_reduced_dimension()
reduced_dimension

top_feature_selection Module

Created on Oct 5, 2012

@author: georgianadinu

class composes.transformation.feature_selection.top_feature_selection.TopFeatureSelection(reduced_dimension, **kwargs)

Bases: composes.transformation.feature_selection.feature_selection.FeatureSelection

Sorts the columns of a space according to some criterion and returns a space containing only the top \(k\) ones.

Available criteria:

sum: Default. Ranks columns according to the sum on their elements.

length: Ranks columns according to their vector length.

apply(matrix_)
criterion = 'sum'