Class Sample

java.lang.Object
com.logicaldoc.ai.Sample

public class Sample extends Object
Models a list of feature values and related category. This can be as a sample to train an AIModel.
Since:
9.2
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • Sample

      public Sample()
    • Sample

      public Sample(List<Object> features, String category)
  • Method Details

    • getFeatures

      public List<Object> getFeatures()
    • addFeature

      public void addFeature(Object feature)
    • getFeature

      public Object getFeature(int index)
    • setFeatures

      public void setFeatures(List<Object> features)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String category)