Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/23/17 12:37:42 (7 years ago)
Author:
bwerth
Message:

#2847 created initial branch

Location:
branches/M5Regression
Files:
1 added
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/M5Regression/HeuristicLab.Algorithms.DataAnalysis/3.4/KernelRidgeRegression/KernelRidgeRegression.cs

    r15248 r15428  
    4646    }
    4747    public new IRegressionProblem Problem {
    48       get { return (IRegressionProblem)base.Problem; }
     48      get { return (IRegressionProblem) base.Problem; }
    4949      set { base.Problem = value; }
    5050    }
     
    5959    #region parameter properties
    6060    public IConstrainedValueParameter<IKernel> KernelParameter {
    61       get { return (IConstrainedValueParameter<IKernel>)Parameters[KernelParameterName]; }
     61      get { return (IConstrainedValueParameter<IKernel>) Parameters[KernelParameterName]; }
    6262    }
    6363
    6464    public IFixedValueParameter<BoolValue> ScaleInputVariablesParameter {
    65       get { return (IFixedValueParameter<BoolValue>)Parameters[ScaleInputVariablesParameterName]; }
     65      get { return (IFixedValueParameter<BoolValue>) Parameters[ScaleInputVariablesParameterName]; }
    6666    }
    6767
    6868    public IFixedValueParameter<DoubleValue> LogLambdaParameter {
    69       get { return (IFixedValueParameter<DoubleValue>)Parameters[LambdaParameterName]; }
     69      get { return (IFixedValueParameter<DoubleValue>) Parameters[LambdaParameterName]; }
    7070    }
    7171
    7272    public IFixedValueParameter<DoubleValue> BetaParameter {
    73       get { return (IFixedValueParameter<DoubleValue>)Parameters[BetaParameterName]; }
     73      get { return (IFixedValueParameter<DoubleValue>) Parameters[BetaParameterName]; }
    7474    }
    7575    #endregion
     
    9999    private KernelRidgeRegression(bool deserializing) : base(deserializing) { }
    100100    private KernelRidgeRegression(KernelRidgeRegression original, Cloner cloner)
    101       : base(original, cloner) {
    102     }
     101      : base(original, cloner) { }
    103102    public KernelRidgeRegression() {
    104103      Problem = new RegressionProblem();
     
    132131          .Average());
    133132      }
    134       var solution = model.CreateRegressionSolution((IRegressionProblemData)problemData.Clone());
     133      var solution = model.CreateRegressionSolution((IRegressionProblemData) problemData.Clone());
    135134      solution.Model.Name = "Kernel ridge regression model";
    136135      solution.Name = SolutionResultName;
Note: See TracChangeset for help on using the changeset viewer.