public abstract class DataAnalysis extends Object implements Evaluator
Modifier and Type | Field and Description |
---|---|
protected AlgorithmConfiguration |
config |
protected org.hibernate.SessionFactory |
connection |
protected int |
processedRecords |
protected ResourceFactory |
resourceManager |
protected float |
status |
Constructor and Description |
---|
DataAnalysis() |
Modifier and Type | Method and Description |
---|---|
abstract LinkedHashMap<String,String> |
analyze() |
void |
compute() |
INFRASTRUCTURE |
getInfrastructure()
The weight of this procedure is the lowest as it runs on local machine
|
StatisticalType |
getOutput() |
String |
getResourceLoad()
calculates the number of processed records per unity of time: the timing is calculated internally by the resourceManager and used when the method is interrogated
|
String |
getResources()
gets the occupancy of the resource: in this case one thread
|
float |
getStatus()
gets the internal status of the operation
|
void |
init() |
void |
init(boolean initRapidMiner) |
void |
setConfiguration(AlgorithmConfiguration config) |
void |
shutdown() |
static void |
visualizeResults(HashMap<String,Object> results)
visualizes the results of the analysis
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getInputParameters
protected ResourceFactory resourceManager
protected int processedRecords
protected float status
protected AlgorithmConfiguration config
protected org.hibernate.SessionFactory connection
public abstract LinkedHashMap<String,String> analyze() throws Exception
Exception
public void compute() throws Exception
compute
in interface ComputationalAgent
Exception
public StatisticalType getOutput()
getOutput
in interface ComputationalAgent
public String getResourceLoad()
getResourceLoad
in interface ComputationalAgent
public String getResources()
getResources
in interface ComputationalAgent
public INFRASTRUCTURE getInfrastructure()
getInfrastructure
in interface ComputationalAgent
public float getStatus()
getStatus
in interface ComputationalAgent
public static void visualizeResults(HashMap<String,Object> results)
results
- public void init() throws Exception
init
in interface ComputationalAgent
Exception
public void setConfiguration(AlgorithmConfiguration config)
setConfiguration
in interface ComputationalAgent
public void shutdown()
shutdown
in interface ComputationalAgent
Copyright © 2017. All Rights Reserved.