public class NNFingerprintSimilarity<ID> extends NearestNeighborsSimilarity<ID,BitSet>
BitSet
Modifier and Type | Field and Description |
---|---|
protected FingerprintGenerator |
generator |
attributeSelection, kNN, nearestNeighborsSearch
result
built, logger, p_model, p_stats, parameters, ps, stats
Constructor and Description |
---|
NNFingerprintSimilarity(IDistanceFunction<BitSet> distanceFunction,
int knn) |
NNFingerprintSimilarity(int knn)
Uses
FingerprintDistance . |
Modifier and Type | Method and Description |
---|---|
protected BitSet |
getSelectedAttributes(BitSet attributes) |
buildInitialize, calculateAverageDistance, classifyQuery, close, getKNN, getNearestNeighborsSearch, getPairwise, getParameter, learn, predict, setKNN, setNearestNeighborsSearch, setParameter, toString, transformAttributes
getPairwise, getResult, learn, setResult
getAttributeSelection, getStats, isBuilt, predict, setAttributeSelection, setStats
protected FingerprintGenerator generator
public NNFingerprintSimilarity(IDistanceFunction<BitSet> distanceFunction, int knn)
public NNFingerprintSimilarity(int knn)
FingerprintDistance
.knn
- protected BitSet getSelectedAttributes(BitSet attributes)
getSelectedAttributes
in class NearestNeighborsSimilarity<ID,BitSet>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.