Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/LinearRegression
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/LinearRegression/LinearRegressionSolutionCreator.cs

    r3848 r4068  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
     25using HeuristicLab.Core;
     26using HeuristicLab.Data;
     27using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     28using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;
     29using HeuristicLab.Operators;
    2630using HeuristicLab.Optimization;
    27 using HeuristicLab.Operators;
     31using HeuristicLab.Parameters;
    2832using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    29 using HeuristicLab.Core;
    30 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    31 using HeuristicLab.Problems.DataAnalysis.Symbolic;
    3233using HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols;
    33 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;
    34 using HeuristicLab.Parameters;
    35 using HeuristicLab.Data;
    3634
    3735namespace HeuristicLab.Problems.DataAnalysis.Regression.LinearRegression {
     
    5048      Parameters.Add(new LookupParameter<SymbolicExpressionTree>(SymbolicExpressionTreeParameterName, "The resulting solution encoded as a symbolic expression tree."));
    5149      Parameters.Add(new LookupParameter<DataAnalysisProblemData>(DataAnalysisProblemDataParameterName, "The problem data on which the linear regression should be calculated."));
    52       Parameters.Add(new ValueLookupParameter<IntValue>(SamplesStartParameterName,"The start of the samples on which the linear regression should be applied."));
    53       Parameters.Add(new ValueLookupParameter<IntValue>(SamplesEndParameterName,"The end of the samples on which the linear regression should be applied."));
     50      Parameters.Add(new ValueLookupParameter<IntValue>(SamplesStartParameterName, "The start of the samples on which the linear regression should be applied."));
     51      Parameters.Add(new ValueLookupParameter<IntValue>(SamplesEndParameterName, "The end of the samples on which the linear regression should be applied."));
    5452    }
    5553    [StorableConstructor]
     
    9492
    9593    public override IOperation Apply() {
    96       SymbolicExpressionTree = CreateSymbolicExpressionTree(DataAnalysisProblemData.Dataset,DataAnalysisProblemData.TargetVariable.Value, DataAnalysisProblemData.InputVariables.CheckedItems.Select(x => x.Value.Value), SamplesStart.Value, SamplesEnd.Value);
     94      SymbolicExpressionTree = CreateSymbolicExpressionTree(DataAnalysisProblemData.Dataset, DataAnalysisProblemData.TargetVariable.Value, DataAnalysisProblemData.InputVariables.CheckedItems.Select(x => x.Value.Value), SamplesStart.Value, SamplesEnd.Value);
    9795      return base.Apply();
    9896    }
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Regression/3.3/LinearRegression/LinearRegressionUtil.cs

    r3848 r4068  
    2020#endregion
    2121
    22 using System;
    2322using System.Collections.Generic;
    2423using System.Linq;
    25 using System.Text;
    2624
    2725namespace HeuristicLab.Problems.DataAnalysis.Regression.LinearRegression {
     
    3028      List<int> allowedRows = CalculateAllowedRows(dataset, targetVariable, allowedInputVariables, start, end);
    3129
    32       double[,] matrix = new double[allowedRows.Count, allowedInputVariables.Count() +1];
     30      double[,] matrix = new double[allowedRows.Count, allowedInputVariables.Count() + 1];
    3331      for (int row = 0; row < allowedRows.Count; row++) {
    3432        int col = 0;
Note: See TracChangeset for help on using the changeset viewer.