TfIdfTransformer

public final class TfIdfTransformer implements Transformer<Float, Float>

Constructors

Link copied to clipboard
public TfIdfTransformer TfIdfTransformer()

Functions

Link copied to clipboard
public Unit fit(MultiArray<Float, D2> input)
Link copied to clipboard
public MultiArray<Float, D2> fitTransform(MultiArray<Float, D2> input)
Link copied to clipboard
public final NDArray<Float, D1> getIdf()
Link copied to clipboard
public final Unit setIdf(NDArray<Float, D1> idf)
Link copied to clipboard
public D2SparseArray transform(MultiArray<Float, D2> input)

Input is a count matrix

Properties

Link copied to clipboard
private NDArray<Float, D1> idf