Changeset 2000 for trunk/sources/HeuristicLab.CEDMA.Server/3.3
- Timestamp:
- 06/04/09 15:18:29 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.CEDMA.Server/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/DispatcherBase.cs
r1922 r2000 65 65 string targetVariableName = dataSet.Problem.GetVariableName(targetVariable); 66 66 67 68 67 if (selectedAlgorithm != null) { 69 68 SetProblemParameters(selectedAlgorithm, dataSet.Problem, targetVariable); … … 77 76 78 77 private void SetProblemParameters(IAlgorithm algo, Problem problem, int targetVariable) { 79 algo.Dataset = problem.Data Set;78 algo.Dataset = problem.Dataset; 80 79 algo.TargetVariable = targetVariable; 81 80 algo.ProblemInjector.GetVariable("TrainingSamplesStart").GetValue<IntData>().Data = problem.TrainingSamplesStart; … … 94 93 } else if (problem.LearningTask == LearningTask.Classification) { 95 94 ItemList<DoubleData> classValues = algo.ProblemInjector.GetVariable("TargetClassValues").GetValue<ItemList<DoubleData>>(); 96 foreach (double classValue in GetDifferentClassValues(problem.Data Set, targetVariable)) classValues.Add(new DoubleData(classValue));95 foreach (double classValue in GetDifferentClassValues(problem.Dataset, targetVariable)) classValues.Add(new DoubleData(classValue)); 97 96 } 98 97 } -
trunk/sources/HeuristicLab.CEDMA.Server/3.3/ExecuterBase.cs
r1922 r2000 71 71 protected void StoreResults(IAlgorithm finishedAlgorithm) { 72 72 Entity modelEntity = new Entity(Ontology.CedmaNameSpace + Guid.NewGuid()); 73 // TODO (gkronber 27052009)74 73 // store.Add(new Statement(finishedAlgorithm.DataSetEntity, Ontology.PredicateHasModel, modelEntity)); 75 74 StoreModelAttribute(modelEntity, Ontology.TargetVariable, finishedAlgorithm.Model.TargetVariable);
Note: See TracChangeset
for help on using the changeset viewer.