Class AlgorithmPredictionResult
java.lang.Object
eu.qualimaster.easy.extension.internal.AlgorithmPredictionResult
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
public class AlgorithmPredictionResult
extends Object
implements net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
The result of a multi-algorithm mass prediction. Please note that the access happens via algorithm
identifiers as the results are not unique for algorithm names. Turning an algorithm identifier back
into an algorithm name happens via
getAlgorithmName(String).- Author:
- Holger Eichelberger
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<Object, Serializable>> private net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<eu.qualimaster.observables.IObservable, Double>> -
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmPredictionResult(net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<eu.qualimaster.observables.IObservable, Double>> predictions, net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<Object, Serializable>> parameters) Creates an algorithm prediction result. -
Method Summary
Modifier and TypeMethodDescriptiongetAlgorithmName(String identifier) Turns an algorithm-prediction identifier used in multi-algorithm mass-predictions to the original algorithm name.net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<Object, Serializable>> Returns the parameters needed for enacting an algorithm to achieve the predicted values.net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<eu.qualimaster.observables.IObservable, Double>> Returns the predictions for algorithms in terms of their observables.toString()
-
Field Details
-
predictions
-
parameters
private net.ssehub.easy.instantiation.core.model.vilTypes.Map<String,net.ssehub.easy.instantiation.core.model.vilTypes.Map<Object, parametersSerializable>>
-
-
Constructor Details
-
AlgorithmPredictionResult
AlgorithmPredictionResult(net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<eu.qualimaster.observables.IObservable, Double>> predictions, net.ssehub.easy.instantiation.core.model.vilTypes.Map<String, net.ssehub.easy.instantiation.core.model.vilTypes.Map<Object, Serializable>> parameters) Creates an algorithm prediction result.- Parameters:
predictions- the predictionsparameters- the related required parameters to enact the predictions
-
-
Method Details
-
getAlgorithmName
Turns an algorithm-prediction identifier used in multi-algorithm mass-predictions to the original algorithm name.- Parameters:
identifier- the algorithm-prediction identifier- Returns:
- the algorithm name
-
getPredictions
public net.ssehub.easy.instantiation.core.model.vilTypes.Map<String,net.ssehub.easy.instantiation.core.model.vilTypes.Map<eu.qualimaster.observables.IObservable, getPredictions()Double>> Returns the predictions for algorithms in terms of their observables. May contain distribution settings to enable tradeoffs/weighting over them.- Returns:
- the predictions as mapping of algorithm identifiers to predicted values per observables
-
getParameters
public net.ssehub.easy.instantiation.core.model.vilTypes.Map<String,net.ssehub.easy.instantiation.core.model.vilTypes.Map<Object, getParameters()Serializable>> Returns the parameters needed for enacting an algorithm to achieve the predicted values.- Returns:
- a mapping of algorithm identifiers to parameters, parameters may contain distribution settings given as observables such as tasks and executors
-
toString
-