|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--idl.tmt.representation.transformations.TfIdfWeighter
weights all cells of the term-document matrix by the tf-idf weight
| Field Summary | |
private boolean |
hasBeenRun
|
| Fields inherited from interface idl.tmt.representation.transformations.CollectionTransformation |
STATUS_COMPLETE, STATUS_NONE |
| Constructor Summary | |
TfIdfWeighter()
|
|
| Method Summary | |
java.lang.String |
getStatus()
Provides a short string description of the collection transformation. |
boolean |
makesMatrixDense()
Indicates whether the modification to the collection by this transformation makes the underlying matrix a dense matrix. |
void |
transformCollection(IndexedCollection collection)
general method for transforming the given collection. |
private TmtMatrix |
transformMatrix(TmtMatrix m)
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private boolean hasBeenRun
| Constructor Detail |
public TfIdfWeighter()
| Method Detail |
private TmtMatrix transformMatrix(TmtMatrix m)
public void transformCollection(IndexedCollection collection)
CollectionTransformationtransformCollection in interface CollectionTransformationidl.tmt.representation.transformations.CollectionTransformationcollection - public boolean makesMatrixDense()
CollectionTransformationmakesMatrixDense in interface CollectionTransformationidl.tmt.representation.transformations.CollectionTransformationpublic java.lang.String getStatus()
CollectionTransformationCollectionTransformation.STAUS_NONE
if the transformation has not yet been run.getStatus in interface CollectionTransformation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||