Package org.apache.spark.ml.feature
Interface LSHParams
- All Superinterfaces:
- HasInputCol,- HasOutputCol,- Identifiable,- Params,- Serializable
- All Known Implementing Classes:
- BucketedRandomProjectionLSH,- BucketedRandomProjectionLSHModel,- MinHashLSH,- MinHashLSHModel
Params for 
LSH.- 
Method SummaryModifier and TypeMethodDescriptionintParam for the number of hash tables used in LSH OR-amplification.validateAndTransformSchema(StructType schema) Transform the Schema for LSHMethods inherited from interface org.apache.spark.ml.param.shared.HasInputColgetInputCol, inputColMethods inherited from interface org.apache.spark.ml.param.shared.HasOutputColgetOutputCol, outputColMethods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
- 
Method Details- 
getNumHashTablesint getNumHashTables()
- 
numHashTablesIntParam numHashTables()Param for the number of hash tables used in LSH OR-amplification.LSH OR-amplification can be used to reduce the false negative rate. Higher values for this param lead to a reduced false negative rate, at the expense of added computational complexity. - Returns:
- (undocumented)
 
- 
validateAndTransformSchemaTransform the Schema for LSH- Parameters:
- schema- The schema of the input dataset without- HasOutputCol.outputCol().
- Returns:
- A derived schema with HasOutputCol.outputCol()added.
 
 
-