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 WritableDoubleDataStore |
lofs
The LOF values of the objects.
|
private WritableDoubleDataStore |
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,
WritableDoubleDataStore lrds,
WritableDoubleDataStore lofs)
Encapsulates information generated during a run of the
LOF
algorithm. |
Modifier and Type | Method and Description |
---|---|
KNNQuery<O,D> |
getKNNReach()
Get the knn query for the reachability set.
|
KNNQuery<O,D> |
getKNNRefer()
Get the knn query for the reference set.
|
WritableDoubleDataStore |
getLofs()
Get the LOF data store.
|
WritableDoubleDataStore |
getLrds()
Get the LRD data store.
|
OutlierResult |
getResult()
Get the outlier result.
|
RKNNQuery<O,D> |
getRkNNReach()
Get the RkNN query for the reachability set.
|
RKNNQuery<O,D> |
getRkNNRefer()
Get the RkNN query for the reference set.
|
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 WritableDoubleDataStore lrds
private final WritableDoubleDataStore lofs
public LOF.LOFResult(OutlierResult result, KNNQuery<O,D> kNNRefer, KNNQuery<O,D> kNNReach, WritableDoubleDataStore lrds, WritableDoubleDataStore 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 WritableDoubleDataStore getLrds()
public WritableDoubleDataStore 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()