Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/31/20 15:45:14 (4 years ago)
Author:
gkronber
Message:

#2898: copied implementation from branch to trunk.

Location:
trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/GAM
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/GAM/Spline1dModel.cs

    r15775 r17812  
    2222
    2323using System;
     24using HEAL.Attic;
    2425using System.Collections.Generic;
    2526using System.Linq;
     
    3233  [Item("Spline model (1d)",
    3334    "Univariate spline model (wrapper for alglib.spline1dmodel)")]
    34   [StorableClass]
     35  [StorableType("23D71839-E011-4DC5-B451-2D4C1177D743")]
    3536  public sealed class Spline1dModel : RegressionModel {
    3637    // not storable! see persistence properties below
     
    3839
    3940    [Storable]
    40     private string[] variablesUsedForPrediction;
     41    private readonly string[] variablesUsedForPrediction;
    4142    public override IEnumerable<string> VariablesUsedForPrediction {
    4243      get {
     
    4647
    4748    [StorableConstructor]
    48     private Spline1dModel(bool deserializing) : base(deserializing) {
     49    private Spline1dModel(StorableConstructorFlag deserializing) : base(deserializing) {
    4950      this.interpolant = new alglib.spline1d.spline1dinterpolant();
    5051    }
Note: See TracChangeset for help on using the changeset viewer.