TfIdfVectorizer

public final class TfIdfVectorizer<T extends Number> implements Vectorizer<T, Float>

Constructors

Link copied to clipboard
public TfIdfVectorizer<T> TfIdfVectorizer(    PercentOrCount minDf,     PercentOrCount maxDf,     IntRange ngramRange)

Functions

Link copied to clipboard
public Unit fit(List<List<String>> input)
Link copied to clipboard
public MultiArray<Float, D2> fitTransform(List<List<String>> input)
Link copied to clipboard
public MultiArray<Float, D2> transform(List<List<String>> input)