Class Embedder

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.ai.AIModel<String,float[]>
com.logicaldoc.ai.embedding.Embedder
All Implemented Interfaces:
Serializable

@Entity public class Embedder extends AIModel<String,float[]>
A model that implements the embedding of documents. It must be trained with documents' contents.
Since:
9.2.2
Author:
Marco Meschieri - LogicalDOC
See Also:
  • Constructor Details

    • Embedder

      public Embedder()
    • Embedder

      public Embedder(String name)
    • Embedder

      public Embedder(Embedder other)
  • Method Details

    • getChunking

      public Chunking getChunking()
    • setChunking

      public void setChunking(Chunking chunking)
    • getVectorSize

      public int getVectorSize()
    • setVectorSize

      public void setVectorSize(int vectorSize)
    • getSeed

      public long getSeed()
    • setSeed

      public void setSeed(long seed)
    • getWindowSize

      public int getWindowSize()
    • setWindowSize

      public void setWindowSize(int windowSize)
    • getMinWordFrequency

      public int getMinWordFrequency()
    • setMinWordFrequency

      public void setMinWordFrequency(int minWordFrequency)
    • getWorkers

      public int getWorkers()
    • setWorkers

      public void setWorkers(int workers)
    • getAlpha

      public double getAlpha()
    • setAlpha

      public void setAlpha(double alpha)
    • getMinAlpha

      public double getMinAlpha()
    • setMinAlpha

      public void setMinAlpha(double minAlpha)
    • getFeaturesList

      public List<String> getFeaturesList()
      Description copied from class: AIModel
      Gets the ordered list of feature names
      Specified by:
      getFeaturesList in class AIModel<String,float[]>
      Returns:
      list of feature names
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AIModel<String,float[]>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AIModel<String,float[]>