infomat.vectorspace
Class IMatrixCellFilter
java.lang.Object
infomat.vectorspace.IMatrixCellFilter
- All Implemented Interfaces:
- HasProperties
public class IMatrixCellFilter
- extends java.lang.Object
- implements HasProperties
Removes IMatrixCells, rows, and columns depending on their frequency.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
Properties properties
IMatrixCellFilter
public IMatrixCellFilter()
IMatrixCellFilter
public IMatrixCellFilter(Properties properties)
getDefaultProperties
public Properties getDefaultProperties()
- Specified by:
getDefaultProperties
in interface HasProperties
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String name)
- Specified by:
getPropertyValue
in interface HasProperties
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyNotFoundException
- Specified by:
setProperty
in interface HasProperties
- Throws:
PropertyNotFoundException
getProperties
public Properties getProperties()
- Specified by:
getProperties
in interface HasProperties
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties
in interface HasProperties
info
private void info(IMatrix matrix,
IObjectSet rowSet,
IObjectSet colSet)
filter
public void filter(IMatrix matrix)
removeColsOrRows
private void removeColsOrRows(boolean cols,
int size,
int min,
int max,
IObjectSet set,
IMatrix matrix)
- Helper method.