cascading.pattern.ensemble
Class EnsembleSpec<S extends Spec>

java.lang.Object
  extended by cascading.pattern.model.Spec
      extended by cascading.pattern.ensemble.EnsembleSpec<S>
All Implemented Interfaces:
Serializable

public class EnsembleSpec<S extends Spec>
extends Spec
implements Serializable

Class EnsembleSpec is used to define an ensemble model.

It is used with ParallelEnsembleAssembly.

See Also:
Serialized Form

Field Summary
protected  List<S> modelSpecs
           
protected  SelectionStrategy selectionStrategy
           
 
Fields inherited from class cascading.pattern.model.Spec
modelSchema
 
Constructor Summary
EnsembleSpec(ModelSchema modelSchema)
           
EnsembleSpec(ModelSchema modelSchema, List<S> modelSpecs)
           
 
Method Summary
 void addModelSpec(S modelSpec)
           
 void addModelSpecs(List<S> modelSpec)
           
 List<String> getModelCategories()
          Returns unique list of all the underlying declared model categories.
 List<S> getModelSpecs()
           
 SelectionStrategy getSelectionStrategy()
           
 boolean isParallel()
           
 void setSelectionStrategy(SelectionStrategy selectionStrategy)
           
 String toString()
           
 
Methods inherited from class cascading.pattern.model.Spec
getCategories, getCategoriesArray, getModelSchema, isPredictedCategorical, setModelSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modelSpecs

protected List<S extends Spec> modelSpecs

selectionStrategy

protected SelectionStrategy selectionStrategy
Constructor Detail

EnsembleSpec

public EnsembleSpec(ModelSchema modelSchema)

EnsembleSpec

public EnsembleSpec(ModelSchema modelSchema,
                    List<S> modelSpecs)
Method Detail

isParallel

public boolean isParallel()

addModelSpecs

public void addModelSpecs(List<S> modelSpec)

addModelSpec

public void addModelSpec(S modelSpec)

getModelSpecs

public List<S> getModelSpecs()

getSelectionStrategy

public SelectionStrategy getSelectionStrategy()

setSelectionStrategy

public void setSelectionStrategy(SelectionStrategy selectionStrategy)

getModelCategories

public List<String> getModelCategories()
Returns unique list of all the underlying declared model categories.

Returns:
the model categories

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.