public static class HashingTF.HashTFFunction extends Object implements org.apache.flink.api.common.functions.MapFunction<org.apache.flink.types.Row,org.apache.flink.types.Row>
HashingTF
, which converts the input to a sparse vector.Constructor and Description |
---|
HashTFFunction(String inputCol,
boolean binary,
int numFeatures) |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.types.Row |
map(org.apache.flink.types.Row row) |
public HashTFFunction(String inputCol, boolean binary, int numFeatures)
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.