public class RankFeaturePair extends Object
| Constructor and Description |
|---|
RankFeaturePair() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getFeatureNameA()
待推荐对象的属性。
|
String |
getFeatureNameB()
被推荐对象的属性。
|
Float |
getWeight()
权重。
minimum: 0.01
maximum: 1
|
int |
hashCode() |
void |
setFeatureNameA(String featureNameA) |
void |
setFeatureNameB(String featureNameB) |
void |
setWeight(Float weight) |
String |
toString() |
RankFeaturePair |
withFeatureNameA(String featureNameA) |
RankFeaturePair |
withFeatureNameB(String featureNameB) |
RankFeaturePair |
withWeight(Float weight) |
public RankFeaturePair withFeatureNameA(String featureNameA)
public String getFeatureNameA()
public void setFeatureNameA(String featureNameA)
public RankFeaturePair withFeatureNameB(String featureNameB)
public String getFeatureNameB()
public void setFeatureNameB(String featureNameB)
public RankFeaturePair withWeight(Float weight)
public Float getWeight()
public void setWeight(Float weight)
Copyright © 2022. All rights reserved.