Giter Club home page Giter Club logo

Comments (5)

kno10 avatar kno10 commented on June 10, 2024

You classpath is incomplete. Hence it cannot load the class.
Make sure to have all the elki modules in the classpath, in particular elki-core-dbids-int.
(Hence, the error is not in above code, this is a class load time error.)

from elki.

zuoxiang95 avatar zuoxiang95 commented on June 10, 2024

@kno10 ,thanks for your reply, add the module elki-core-dbids-int, it runs successful. Another question is how do i use index to acceleration the detection.

    val indexfactory = new ELKIBuilder[RStarTreeFactory[_ <: NumberVector]](classOf[RStarTreeFactory[_ <: NumberVector]])
      .`with`(AbstractPageFileFactory.Par.PAGE_SIZE_ID, 512)
      .`with`(RStarTreeFactory.Par.BULK_SPLIT_ID, classOf[SortTileRecursiveBulkSplit]).build

but it cannot find BULK_SPLIT_ID in RStarTreeFactory.Par

from elki.

kno10 avatar kno10 commented on June 10, 2024

ELKI 0.8.0 should automatically add a suitable index; it will prefer the VP tree which usually is faster; the R*-tree was designed for on-disk operation when main memory was much more scarce than today.

RStarTreeFactory.Par.BULK_SPLIT_ID is supposedly fine, but it is inherited from the abstract class.
Maybe Scala does not resolve these constants then?

https://github.com/elki-project/elki/search?q=BULK_SPLIT_ID

You can fall back to passing the string, too.

from elki.

zuoxiang95 avatar zuoxiang95 commented on June 10, 2024

@kno10 Thanks for your kind reply. When I use the algorithm elki.outlier.lof.LOF , and set param k=5. When my dataset has 5 same points, the cluster density will be infinity, and the other point's score will be infinity. Do you have any suggestions?

from elki.

kno10 avatar kno10 commented on June 10, 2024

There are only four other points (in this implementation, the parameter is defined to not include the point itself) and hence all the reachability distances are infinite (or undefined, but infinite is more useful if you have truncated neighbors).

At the same time, it makes little sense to use a local outlier detection method on such tiny data!

from elki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.