Changeset 16842 for branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs
- Timestamp:
- 04/19/19 11:05:52 (5 years ago)
- Location:
- branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4
- Property svn:mergeinfo changed
-
branches/2847_M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/CrossValidation.cs
r16538 r16842 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 31 31 using HeuristicLab.Data; 32 32 using HeuristicLab.Optimization; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Attic; 34 34 using HeuristicLab.Problems.DataAnalysis; 35 35 using HeuristicLab.Problems.DataAnalysis.Symbolic; … … 39 39 [Item("Cross Validation (CV)", "Cross-validation wrapper for data analysis algorithms.")] 40 40 [Creatable(CreatableAttribute.Categories.DataAnalysis, Priority = 100)] 41 [Storable Class]41 [StorableType("1C622121-AE5B-42FD-831C-FCA8F8E0AF8D")] 42 42 public sealed class CrossValidation : ParameterizedNamedItem, IAlgorithm, IStorableContent { 43 43 [Storable] … … 75 75 #region persistence and cloning 76 76 [StorableConstructor] 77 private CrossValidation(bool deserializing) 78 : base(deserializing) { 77 private CrossValidation(StorableConstructorFlag _) : base(_) { 79 78 } 80 79 [StorableHook(HookType.AfterDeserialization)] … … 301 300 if ((ExecutionState != ExecutionState.Prepared) && (ExecutionState != ExecutionState.Paused)) 302 301 throw new InvalidOperationException(string.Format("Start not allowed in execution state \"{0}\".", ExecutionState)); 303 seed = new FastRandom().NextInt();302 seed = RandomSeedGenerator.GetSeed(); 304 303 305 304 if (Algorithm == null) return;
Note: See TracChangeset
for help on using the changeset viewer.