icat.anchors#
The parent anchor class and a few anchor types.
Anchors are the interactive featuring component of ICAT, an anchor class determines how a feature is computed on the data, and the user interacts with the UI widget of the anchor to modify the feature (e.g. what keywords it searches for.)
Classes
|
The main parent anchor class, this should be subclassed, not directly used. |
|
A bag-of-words feature that returns raw count value sum of the number of occurrences of each word in the given keywords. |
|
A base class to inherit from for anchors that featurize based on some metric of similarity to a set of one or more target reference texts. |
|
A similarity anchor that uses cosine similarity between the TF-IDF vectors of the text data and the target texts. |