public void recreateAlgorithm()
{
IAlgorithmFactory factory = componentOperations.getAlgorithmFactory(algorithmId);
LearningAlgorithm previousLearningAlgorithm = getLearningAlgorithm();
List<Parameter> parameters = ParametersUtils.resolveParameters(previousLearningAlgorithm);
LearningAlgorithm newLearningAlgorithm = factory.createAlgorithm();
ParametersUtils.apply(newLearningAlgorithm, parameters);
setLearningAlgorithm(newLearningAlgorithm);
}