本文整理汇总了Java中org.easyrec.plugin.arm.model.enums.MetricTypes类的典型用法代码示例。如果您正苦于以下问题:Java MetricTypes类的具体用法?Java MetricTypes怎么用?Java MetricTypes使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MetricTypes类属于org.easyrec.plugin.arm.model.enums包,在下文中一共展示了MetricTypes类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ARMConfigurationInt
import org.easyrec.plugin.arm.model.enums.MetricTypes; //导入依赖的package包/类
public ARMConfigurationInt(Integer tenantId,
Integer assocType,
Integer support,
List<Integer> itemTypes,
Integer actionType,
Double supportPrcnt,
Integer supportMinAbs,
Double confidencePrcnt,
Integer maxRulesPerItem,
Double ratingNeutral,
MetricTypes metricType,
Integer maxSizeL1,
Boolean doDeltaUpdate,
Integer maxBasketSize,
boolean storeAlternativeMetrics)
{
this.tenantId = tenantId;
this.support = support;
this.itemTypes = itemTypes;
this.actionType = actionType;
this.supportPrcnt = supportPrcnt;
this.supportMinAbs = supportMinAbs;
this.confidencePrcnt = confidencePrcnt;
this.maxRulesPerItem = maxRulesPerItem;
this.ratingNeutral = ratingNeutral;
this.metricType = metricType;
this.maxSizeL1 = maxSizeL1;
this.doDeltaUpdate = doDeltaUpdate;
this.assocType = assocType;
this.maxBasketSize = maxBasketSize;
this.storeAlternativeMetrics = storeAlternativeMetrics;
}
示例2: ARMConfigurationInt
import org.easyrec.plugin.arm.model.enums.MetricTypes; //导入依赖的package包/类
public ARMConfigurationInt(Integer tenantId,
Integer assocType,
Integer support,
List<Integer> itemTypes,
Integer actionType,
Double supportPrcnt,
Integer supportMinAbs,
Double confidencePrcnt,
Integer maxRulesPerItem,
Double ratingNeutral,
MetricTypes metricType,
Integer maxSizeL1,
Boolean doDeltaUpdate)
{
this.tenantId = tenantId;
this.support = support;
this.itemTypes = itemTypes;
this.actionType = actionType;
this.supportPrcnt = supportPrcnt;
this.supportMinAbs = supportMinAbs;
this.confidencePrcnt = confidencePrcnt;
this.maxRulesPerItem = maxRulesPerItem;
this.ratingNeutral = ratingNeutral;
this.metricType = metricType;
this.maxSizeL1 = maxSizeL1;
this.doDeltaUpdate = doDeltaUpdate;
this.assocType = assocType;
}
示例3: getMetricType
import org.easyrec.plugin.arm.model.enums.MetricTypes; //导入依赖的package包/类
public MetricTypes getMetricType() {
return metricType;
}
示例4: setMetricType
import org.easyrec.plugin.arm.model.enums.MetricTypes; //导入依赖的package包/类
public void setMetricType(MetricTypes metricType) {
this.metricType = metricType;
}