@ALDParametrizedClass public class ExperimentalData extends ALDData
The measurements a represented in a 2D array of Doubles, where each row represents one sub experiment and the rows the distinct features.
| Constructor and Description |
|---|
ExperimentalData()
Standard constructor is required
|
ExperimentalData(String description,
Double[][] data)
Constructor for an experiment.
|
ExperimentalData(String description,
Double[][] data,
boolean normalized)
Constructor for an experiment.
|
| Modifier and Type | Method and Description |
|---|---|
Double[][] |
getData()
Return the data
|
String |
getDescription()
Get description.
|
Double[] |
getFeature(int i)
Return the i-th feature across all sub experiments.
|
int |
getNumExperiments()
Return number of sub experiments
|
int |
getNumFeatures()
Return number of features
|
Double[] |
getSubExperiment(int n) |
boolean |
isNormalized()
Query if data are normalized to zero mean within each feature.
|
void |
print()
Print this data object to standard out
|
cloneProperties, getLocation, getProperty, getPropertyKeys, setLocation, setPropertypublic ExperimentalData()
public ExperimentalData(String description, Double[][] data)
description - a textual description of the experimentdata - measurementspublic void print()
ALDDatapublic int getNumExperiments()
public int getNumFeatures()
public Double[] getFeature(int i)
i - i is out of boundspublic Double[] getSubExperiment(int n)
public Double[][] getData()
public String getDescription()
public boolean isNormalized()
Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.