public class CategoryBoostFeature extends RelevancyFeatureDef
FieldExpression
.
The name of the category boost feature acts as the prefix for for the per-category features.
Example: <f:categoryBoost name="t_" field="table"/>
This feature will result in creating a per-table feature, with feature names following the t_<tablename> pattern.
Category boost features are referenced in models using the instantiated feature name, for example:
<f:feature name="t_metadata" weight="10.0"/> will add a constat boost of 10.0 for the "metadata" table.
Constructor and Description |
---|
CategoryBoostFeature(String name,
FieldExpression field) |
Modifier and Type | Method and Description |
---|---|
CategoryBoostFeature |
clone() |
boolean |
equals(Object other) |
FieldExpression |
getField()
Get the field that will generate the categories that will be used to create per-category features.
|
int |
hashCode() |
void |
setField(FieldExpression value)
Set the field that will generate the categories that will be used to create per-category features.
|
String |
toString() |
getName, setName
public CategoryBoostFeature(String name, FieldExpression field)
public FieldExpression getField()
public void setField(FieldExpression value)
public int hashCode()
hashCode
in class RelevancyFeatureDef
public boolean equals(Object other)
equals
in class RelevancyFeatureDef
public CategoryBoostFeature clone()
clone
in class RelevancyFeatureDef
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.