public static class LOF.LOFResult<O,D extends NumberDistance<D,?>> extends Object
LOF
algorithm.Modifier and Type | Field and Description |
---|---|
private KNNQuery<O,D> |
kNNReach
The kNN query w.r.t. the reachability distance.
|
private KNNQuery<O,D> |
kNNRefer
The kNN query w.r.t. the reference neighborhood distance.
|
private WritableDataStore<Double> |
lofs
The LOF values of the objects.
|
private WritableDataStore<Double> |
lrds
The LRD values of the objects.
|
private OutlierResult |
result
The result of the run of the
LOF algorithm. |
private RKNNQuery<O,D> |
rkNNReach
The rkNN query w.r.t. the reachability distance.
|
private RKNNQuery<O,D> |
rkNNRefer
The RkNN query w.r.t. the reference neighborhood distance.
|
Constructor and Description |
---|
LOF.LOFResult(OutlierResult result,
KNNQuery<O,D> kNNRefer,
KNNQuery<O,D> kNNReach,
WritableDataStore<Double> lrds,
WritableDataStore<Double> lofs)
Encapsulates information generated during a run of the
LOF
algorithm. |
Modifier and Type | Method and Description |
---|---|
KNNQuery<O,D> |
getKNNReach() |
KNNQuery<O,D> |
getKNNRefer() |
WritableDataStore<Double> |
getLofs() |
WritableDataStore<Double> |
getLrds() |
OutlierResult |
getResult() |
RKNNQuery<O,D> |
getRkNNReach() |
RKNNQuery<O,D> |
getRkNNRefer() |
void |
setRkNNReach(RKNNQuery<O,D> rkNNReach)
Sets the RkNN query w.r.t. the reachability distance.
|
void |
setRkNNRefer(RKNNQuery<O,D> rkNNRefer)
Sets the RkNN query w.r.t. the reference neighborhood distance.
|
private OutlierResult result
LOF
algorithm.private final KNNQuery<O,D extends NumberDistance<D,?>> kNNRefer
private final KNNQuery<O,D extends NumberDistance<D,?>> kNNReach
private RKNNQuery<O,D extends NumberDistance<D,?>> rkNNRefer
private RKNNQuery<O,D extends NumberDistance<D,?>> rkNNReach
private final WritableDataStore<Double> lrds
private final WritableDataStore<Double> lofs
public LOF.LOFResult(OutlierResult result, KNNQuery<O,D> kNNRefer, KNNQuery<O,D> kNNReach, WritableDataStore<Double> lrds, WritableDataStore<Double> lofs)
LOF
algorithm.result
- the result of the run of the LOF
algorithmkNNRefer
- the kNN query w.r.t. the reference neighborhood distancekNNReach
- the kNN query w.r.t. the reachability distancelrds
- the LRD values of the objectslofs
- the LOF values of the objectspublic KNNQuery<O,D> getKNNRefer()
public KNNQuery<O,D> getKNNReach()
public WritableDataStore<Double> getLrds()
public WritableDataStore<Double> getLofs()
public OutlierResult getResult()
LOF
algorithmpublic void setRkNNRefer(RKNNQuery<O,D> rkNNRefer)
rkNNRefer
- the query to setpublic RKNNQuery<O,D> getRkNNRefer()
public RKNNQuery<O,D> getRkNNReach()