Changeset 2270 for trunk/sources/HeuristicLab.SupportVectorMachines/3.2
- Timestamp:
- 08/10/09 14:11:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.SupportVectorMachines/3.2/SupportVectorRegression.cs
r2251 r2270 162 162 modelScopeCreator.AddVariable(new HeuristicLab.Core.Variable("SubScopes", new IntData(1))); 163 163 main.AddSubOperator(modelScopeCreator); 164 164 165 165 SequentialSubScopesProcessor seqSubScopesProc = new SequentialSubScopesProcessor(); 166 166 IOperator modelProcessor = CreateModelProcessor(); … … 238 238 nuBranch.Name = "NuLoop"; 239 239 nuBranch.GetVariableInfo("Condition").ActualName = "RepeatNuLoop"; 240 240 241 241 nuBranch.AddSubOperator(nuLoop); 242 242 nuLoop.AddSubOperator(nuBranch); … … 362 362 progOp.RemoveVariableInfo("Result"); 363 363 progOp.AddVariableInfo(new VariableInfo("Value", "Value", typeof(IntData), VariableKind.In | VariableKind.Out)); 364 progOp.Code = "Value.Data = " +value+";";364 progOp.Code = "Value.Data = " + value + ";"; 365 365 progOp.GetVariableInfo("Value").ActualName = paramName; 366 366 return progOp; … … 443 443 model.Dataset = ds; 444 444 model.TargetVariable = ds.GetVariableName(bestModelScope.GetVariableValue<IntData>("TargetVariable", true).Data); 445 model.TrainingSamplesStart = bestModelScope.GetVariableValue<IntData>("TrainingSamplesStart", true).Data; 446 model.TrainingSamplesEnd = bestModelScope.GetVariableValue<IntData>("TrainingSamplesEnd", true).Data; 447 model.ValidationSamplesStart = bestModelScope.GetVariableValue<IntData>("ValidationSamplesStart", true).Data; 448 model.ValidationSamplesEnd = bestModelScope.GetVariableValue<IntData>("ValidationSamplesEnd", true).Data; 449 model.TestSamplesStart = bestModelScope.GetVariableValue<IntData>("TestSamplesStart", true).Data; 450 model.TestSamplesEnd = bestModelScope.GetVariableValue<IntData>("TestSamplesEnd", true).Data; 445 451 446 452 ItemList evaluationImpacts = bestModelScope.GetVariableValue<ItemList>("VariableEvaluationImpacts", false);
Note: See TracChangeset
for help on using the changeset viewer.