weka.classifiers.misc.chirp
Class CHDR

java.lang.Object
  extended by weka.classifiers.misc.chirp.CHDR
All Implemented Interfaces:
java.io.Serializable

public class CHDR
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 double[][] catScores
           
 int classIndex
           
 java.lang.String className
           
 java.util.List hdrs
           
 int nBins
           
 int nCats
           
 int nClasses
           
 int[] xwt
           
 int[] ywt
           
 
Constructor Summary
CHDR(int classIndex, java.lang.String className, int nClasses, int nCats, int nBins, int[] xwt, int[] ywt, double[] xBounds, double[] yBounds, double[][] catScores_)
           
 
Method Summary
 void add(HDR hdr)
           
 double findClosestRect(double[] row)
           
 double getX(double[] row)
           
 double getY(double[] row)
           
 int score(double[] row)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classIndex

public int classIndex

className

public java.lang.String className

nClasses

public int nClasses

nCats

public int nCats

xwt

public int[] xwt

ywt

public int[] ywt

nBins

public int nBins

catScores

public double[][] catScores

hdrs

public java.util.List hdrs
Constructor Detail

CHDR

public CHDR(int classIndex,
            java.lang.String className,
            int nClasses,
            int nCats,
            int nBins,
            int[] xwt,
            int[] ywt,
            double[] xBounds,
            double[] yBounds,
            double[][] catScores_)
Method Detail

add

public void add(HDR hdr)

score

public int score(double[] row)

findClosestRect

public double findClosestRect(double[] row)

getX

public double getX(double[] row)

getY

public double getY(double[] row)