MOA 12.03
Real Time Analytics for Data Streams
Accuracy.java
Go to the documentation of this file.
00001 /*
00002  *    Accuracy.java
00003  *    Copyright (C) 2010 RWTH Aachen University, Germany
00004  *    @author Jansen ([email protected])
00005  *
00006  *    This program is free software; you can redistribute it and/or modify
00007  *    it under the terms of the GNU General Public License as published by
00008  *    the Free Software Foundation; either version 3 of the License, or
00009  *    (at your option) any later version.
00010  *
00011  *    This program is distributed in the hope that it will be useful,
00012  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *    GNU General Public License for more details.
00015  *
00016  *    You should have received a copy of the GNU General Public License
00017  *    along with this program. If not, see <http://www.gnu.org/licenses/>.
00018  *    
00019  */
00020 
00021 package moa.evaluation;
00022 
00023 import java.util.ArrayList;
00024 import moa.cluster.Clustering;
00025 import moa.gui.visualization.DataPoint;
00026 
00027 public class Accuracy extends MeasureCollection implements ClassificationMeasureCollection{
00028     private boolean debug = false;
00029 
00030     public Accuracy() {
00031         super();
00032     }
00033 
00034     @Override
00035     public String[] getNames() {
00036         String[] names = {"Accuracy","Kappa","Ram-Hours","Time","Memory"};
00037         return names;
00038     }
00039     
00040   @Override
00041   protected boolean[] getDefaultEnabled() {
00042       boolean [] defaults = {true,true,true,true,true};
00043       return defaults;
00044   }
00045     
00046     public void evaluateClustering(Clustering clustering, Clustering trueClsutering, ArrayList<DataPoint> points) {
00047 
00048     }
00049 
00050 
00051 
00052 
00053 
00054 }
 All Classes Namespaces Files Functions Variables Enumerations