Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/19/16 14:47:39 (8 years ago)
Author:
mkommend
Message:

#2618: Removed obsolete code in friedman random functions and variable networks instance providers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/VariableNetworks/VariableNetworkInstanceProvider.cs

    r13939 r14110  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;                                                         
     24using System.Linq;
    2525using HeuristicLab.Problems.DataAnalysis;
    2626using HeuristicLab.Random;
     
    5656      if (varNetwork == null) throw new ArgumentException("VariableNetworkInstanceProvider expects an VariableNetwork data descriptor.");
    5757      // base call generates a regression problem data
    58       var regProblemData = base.LoadData(varNetwork);
    59       var problemData =
    60         new RegressionProblemData(
    61           regProblemData.Dataset, regProblemData.AllowedInputVariables, regProblemData.TargetVariable);
    62 
    63       // copy values from regProblemData to feature selection problem data
    64       problemData.Name = regProblemData.Name;
     58      var problemData = base.LoadData(varNetwork);
    6559      problemData.Description = varNetwork.Description + Environment.NewLine + varNetwork.NetworkDefinition;
    66       problemData.TrainingPartition.Start = regProblemData.TrainingPartition.Start;
    67       problemData.TrainingPartition.End = regProblemData.TrainingPartition.End;
    68       problemData.TestPartition.Start = regProblemData.TestPartition.Start;
    69       problemData.TestPartition.End = regProblemData.TestPartition.End;
    70 
    7160      return problemData;
    7261    }
Note: See TracChangeset for help on using the changeset viewer.