edu.cmu.minorthird.classify.relational
Class RealRelationalDataset
java.lang.Object
edu.cmu.minorthird.classify.BasicDataset
edu.cmu.minorthird.classify.relational.CoreRelationalDataset
edu.cmu.minorthird.classify.relational.RealRelationalDataset
- All Implemented Interfaces:
- Dataset, Visible, Saveable, java.io.Serializable
public class RealRelationalDataset
- extends CoreRelationalDataset
- implements Visible, Saveable, Dataset, java.io.Serializable
A real set of examples for stacked graphical learning -- coreset + relational
template. Currently the legalAggregators include EXISTS and COUNT
- Author:
- Zhenzhen Kou
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface edu.cmu.minorthird.classify.Dataset |
Dataset.Split |
Field Summary |
protected static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
aggregators
|
static java.util.Set<java.lang.String> |
legalAggregators
|
Method Summary |
static void |
addAggregator(java.lang.String oper,
java.lang.String L_type)
Add an aggregator, i.e., save the info. |
static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
getAggregators()
|
static void |
main(java.lang.String[] args)
Simple test routine |
static void |
setAggregators(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> aggregators)
|
Dataset.Split |
split(Splitter<Example> splitter)
Partition the dataset as required by the splitter. |
Methods inherited from class edu.cmu.minorthird.classify.BasicDataset |
add, add, addUnlabeled, getExtensionFor, getFeatureFactory, getFormatNames, getSchema, hasUnlabeled, iterator, iteratorOverUnlabeled, restore, saveAs, shallowCopy, shuffle, shuffle, size, sizeUnlabeled, toGUI, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.cmu.minorthird.util.gui.Visible |
toGUI |
aggregators
protected static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> aggregators
legalAggregators
public static java.util.Set<java.lang.String> legalAggregators
RealRelationalDataset
public RealRelationalDataset()
addAggregator
public static void addAggregator(java.lang.String oper,
java.lang.String L_type)
- Add an aggregator, i.e., save the info. in RelTemp sccript
- Parameters:
oper
- L_type
-
getAggregators
public static java.util.Map<java.lang.String,java.util.Set<java.lang.String>> getAggregators()
setAggregators
public static void setAggregators(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> aggregators)
split
public Dataset.Split split(Splitter<Example> splitter)
- Description copied from interface:
Dataset
- Partition the dataset as required by the splitter.
- Specified by:
split
in interface Dataset
- Overrides:
split
in class BasicDataset
main
public static void main(java.lang.String[] args)
- Simple test routine