org.gcube.dataanalysis.ecoengine.clustering
Class DBScan

java.lang.Object
  extended by org.gcube.dataanalysis.ecoengine.clustering.DBScan
All Implemented Interfaces:
Clusterer, ComputationalAgent
Direct Known Subclasses:
KMeans, XMeansWrapper

public class DBScan
extends Object
implements Clusterer


Field Summary
static String clusterColumn
           
static String clusterColumnType
           
protected  AlgorithmConfiguration config
           
protected  org.hibernate.SessionFactory dbHibConnection
           
protected  String epsilon
           
protected  String FeaturesColumnNames
           
protected  boolean initrapidminer
           
protected  String minPoints
           
protected  String OccurrencePointsClusterLabel
           
protected  String OccurrencePointsClusterTable
           
protected  String OccurrencePointsTable
           
static String outliersColumn
           
static String outliersColumnType
           
protected  com.rapidminer.example.ExampleSet points
           
protected  ArrayList<ArrayList<String>> rows
           
protected  double[][] samplesVector
           
protected  float status
           
 
Constructor Summary
DBScan()
           
 
Method Summary
protected  void BuildClusterTable(com.rapidminer.operator.IOObject[] outputvector)
           
 void compute()
           
 String getDescription()
           
 INFRASTRUCTURE getInfrastructure()
           
 List<StatisticalType> getInputParameters()
           
 StatisticalType getOutput()
           
 String getResourceLoad()
           
 String getResources()
           
protected  void getSamples()
           
 float getStatus()
           
 void init()
           
static void main(String[] args)
           
static void mainCluster(String[] args)
           
static void mainRandom(String[] args)
           
 void produceSamples(double[][] sampleVectors)
           
 void setConfiguration(AlgorithmConfiguration config)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

protected AlgorithmConfiguration config

epsilon

protected String epsilon

minPoints

protected String minPoints

points

protected com.rapidminer.example.ExampleSet points

rows

protected ArrayList<ArrayList<String>> rows

OccurrencePointsTable

protected String OccurrencePointsTable

OccurrencePointsClusterLabel

protected String OccurrencePointsClusterLabel

OccurrencePointsClusterTable

protected String OccurrencePointsClusterTable

FeaturesColumnNames

protected String FeaturesColumnNames

status

protected float status

dbHibConnection

protected org.hibernate.SessionFactory dbHibConnection

samplesVector

protected double[][] samplesVector

clusterColumn

public static String clusterColumn

clusterColumnType

public static String clusterColumnType

outliersColumn

public static String outliersColumn

outliersColumnType

public static String outliersColumnType

initrapidminer

protected boolean initrapidminer
Constructor Detail

DBScan

public DBScan()
Method Detail

mainCluster

public static void mainCluster(String[] args)
                        throws Exception
Throws:
Exception

mainRandom

public static void mainRandom(String[] args)
                       throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getInfrastructure

public INFRASTRUCTURE getInfrastructure()
Specified by:
getInfrastructure in interface ComputationalAgent

init

public void init()
          throws Exception
Specified by:
init in interface ComputationalAgent
Throws:
Exception

setConfiguration

public void setConfiguration(AlgorithmConfiguration config)
Specified by:
setConfiguration in interface ComputationalAgent

getSamples

protected void getSamples()
                   throws Exception
Throws:
Exception

produceSamples

public void produceSamples(double[][] sampleVectors)
                    throws Exception
Throws:
Exception

compute

public void compute()
             throws Exception
Specified by:
compute in interface ComputationalAgent
Throws:
Exception

BuildClusterTable

protected void BuildClusterTable(com.rapidminer.operator.IOObject[] outputvector)
                          throws Exception
Throws:
Exception

shutdown

public void shutdown()
Specified by:
shutdown in interface ComputationalAgent

getStatus

public float getStatus()
Specified by:
getStatus in interface ComputationalAgent

getOutput

public StatisticalType getOutput()
Specified by:
getOutput in interface ComputationalAgent

getInputParameters

public List<StatisticalType> getInputParameters()
Specified by:
getInputParameters in interface ComputationalAgent

getDescription

public String getDescription()
Specified by:
getDescription in interface ComputationalAgent

getResourceLoad

public String getResourceLoad()
Specified by:
getResourceLoad in interface ComputationalAgent

getResources

public String getResources()
Specified by:
getResources in interface ComputationalAgent


Copyright © 2012. All Rights Reserved.