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, waitgetDescription, getInputParametersprotected ResourceFactory resourceManager
protected int processedRecords
protected float status
protected AlgorithmConfiguration config
protected org.hibernate.SessionFactory connection
public abstract LinkedHashMap<String,String> analyze() throws Exception
Exceptionpublic void compute()
throws Exception
compute in interface ComputationalAgentExceptionpublic StatisticalType getOutput()
getOutput in interface ComputationalAgentpublic String getResourceLoad()
getResourceLoad in interface ComputationalAgentpublic String getResources()
getResources in interface ComputationalAgentpublic INFRASTRUCTURE getInfrastructure()
getInfrastructure in interface ComputationalAgentpublic float getStatus()
getStatus in interface ComputationalAgentpublic static void visualizeResults(HashMap<String,Object> results)
results - public void init()
throws Exception
init in interface ComputationalAgentExceptionpublic void setConfiguration(AlgorithmConfiguration config)
setConfiguration in interface ComputationalAgentpublic void shutdown()
shutdown in interface ComputationalAgentCopyright © 2017. All Rights Reserved.