Class SimilarityMeasuresImpl

java.lang.Object
com.commercetools.ml.models.similar_products.SimilarityMeasuresImpl
All Implemented Interfaces:
SimilarityMeasures, io.vrap.rmf.base.client.ModelBase

public class SimilarityMeasuresImpl extends Object implements SimilarityMeasures, io.vrap.rmf.base.client.ModelBase

Specify which ProductData attributes to use for estimating similarity and how to weigh them. An attribute's weight can be any whole positive integer, starting with 0. The larger the integer, the higher its weight.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Importance of the description attribute in overall similarity.
    Importance of the description attribute in overall similarity.
    Importance of the name attribute in overall similarity.
    Importance of the price attribute in overall similarity.
    Importance of the number of product variants in overall similarity.
    int
     
    void
    setAttribute(Long attribute)
    Importance of the description attribute in overall similarity.
    void
    setDescription(Long description)
    Importance of the description attribute in overall similarity.
    void
    setName(Long name)
    Importance of the name attribute in overall similarity.
    void
    setPrice(Long price)
    Importance of the price attribute in overall similarity.
    void
    setVariantCount(Long variantCount)
    Importance of the number of product variants in overall similarity.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.ml.models.similar_products.SimilarityMeasures

    withSimilarityMeasures