Tabnine Logo
XYCurve.areaUnderCurve
Code IndexAdd Tabnine to your IDE (free)

How to use
areaUnderCurve
method
in
de.lmu.ifi.dbs.elki.math.geometry.XYCurve

Best Java code snippets using de.lmu.ifi.dbs.elki.math.geometry.XYCurve.areaUnderCurve (Showing top 10 results out of 315)

origin: elki-project/elki

private ROCResult computeROCResult(int size, SetDBIDs positiveids, OutlierResult or) {
 XYCurve roccurve = ROCEvaluation.materializeROC(new DBIDsTest(positiveids), new OutlierScoreAdapter(or));
 double rocauc = XYCurve.areaUnderCurve(roccurve);
 return new ROCResult(roccurve, rocauc);
}
origin: de.lmu.ifi.dbs.elki/elki

private ROCResult computeROCResult(int size, SetDBIDs positiveids, OutlierResult or) {
 XYCurve roccurve = ROCEvaluation.materializeROC(new DBIDsTest(positiveids), new OutlierScoreAdapter(or));
 double rocauc = XYCurve.areaUnderCurve(roccurve);
 return new ROCResult(roccurve, rocauc);
}
origin: de.lmu.ifi.dbs.elki/elki-outlier

private ROCResult computeROCResult(SetDBIDs positiveids, OutlierResult or) {
 XYCurve roccurve = ROCEvaluation.materializeROC(new DBIDsTest(positiveids), new OutlierScoreAdapter(or));
 double rocauc = XYCurve.areaUnderCurve(roccurve);
 return new ROCResult(roccurve, rocauc);
}
origin: elki-project/elki

private ROCResult computeROCResult(int size, SetDBIDs positiveids, DBIDs order) {
 if(order.size() != size) {
  throw new IllegalStateException("Iterable result doesn't match database size - incomplete ordering?");
 }
 XYCurve roccurve = ROCEvaluation.materializeROC(new DBIDsTest(positiveids), new SimpleAdapter(order.iter()));
 double rocauc = XYCurve.areaUnderCurve(roccurve);
 return new ROCResult(roccurve, rocauc);
}
origin: de.lmu.ifi.dbs.elki/elki

private ROCResult computeROCResult(int size, SetDBIDs positiveids, DBIDs order) {
 if(order.size() != size) {
  throw new IllegalStateException("Iterable result doesn't match database size - incomplete ordering?");
 }
 XYCurve roccurve = ROCEvaluation.materializeROC(new DBIDsTest(positiveids), new SimpleAdapter(order.iter()));
 double rocauc = XYCurve.areaUnderCurve(roccurve);
 return new ROCResult(roccurve, rocauc);
}
origin: de.lmu.ifi.dbs.elki/elki-outlier

private ROCResult computeROCResult(SetDBIDs positiveids, DBIDs order) {
 XYCurve roccurve = ROCEvaluation.materializeROC(new DBIDsTest(positiveids), new SimpleAdapter(order.iter()));
 double rocauc = XYCurve.areaUnderCurve(roccurve);
 return new ROCResult(roccurve, rocauc);
}
origin: elki-project/elki

double rocauc = XYCurve.areaUnderCurve(curve) / (x * y);
if(LOG.isVerbose()) {
 LOG.verbose(SMROCAUC_LABEL + ": " + rocauc);
origin: de.lmu.ifi.dbs.elki/elki-outlier

double rocauc = XYCurve.areaUnderCurve(curve) / (x * y);
if(LOG.isVerbose()) {
 LOG.verbose(SMROCAUC_LABEL + ": " + rocauc);
origin: de.lmu.ifi.dbs.elki/elki

double rocauc = XYCurve.areaUnderCurve(curve) / (x * y);
if(LOG.isVerbose()) {
 LOG.verbose(SMROCAUC_LABEL + ": " + rocauc);
origin: elki-project/elki

double auc = XYCurve.areaUnderCurve(roccurve);
assertEquals("ROC AUC (curve) not correct.", 0.6, auc, 1e-14);
double auc2 = new ROCEvaluation().evaluate(positive, distances);
de.lmu.ifi.dbs.elki.math.geometryXYCurveareaUnderCurve

Javadoc

Compute the area under curve for a curve monotonously increasing in X. You might need to relate this to the total area of the chart.

Popular methods of XYCurve

  • add
    Add a coordinate pair, but don't simplify
  • addAndSimplify
    Add a coordinate pair, performing curve simplification if possible.
  • <init>
    Constructor with size estimate and labels.
  • getLabelx
    Get label of x axis
  • getLabely
    Get label of y axis
  • rescale
    Rescale the graph.
  • getMaxx
    Maximum on x axis.
  • getMaxy
    Maximum on y axis.
  • getMinx
    Minimum on x axis.
  • getMiny
    Minimum on y axis.
  • iterator
    Get an iterator for the curve. Note: this is not a Java style iterator, since the only way to get po
  • size
    Size of curve.
  • iterator,
  • size,
  • getX,
  • getY,
  • writeToText

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now