Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2931_OR-Tools_LP_MIP/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/RealWorld/Powermeter.cs @ 16235

Last change on this file since 16235 was 16235, checked in by ddorfmei, 5 years ago

#2931: Merged [16168-16232/trunk] into branch

File size: 2.6 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23
24namespace HeuristicLab.Problems.Instances.DataAnalysis {
25  public class Powermeter : ResourceRegressionDataDescriptor {
26    public Powermeter() : base("Powermeter.txt") { }
27    public override string Name { get { return "Powermeter"; } }
28    public override string Description {
29      get {
30        return "This dataset contains measurements from a bike powermeter from three rides on different courses including flat and hilly terrain." +
31               "The powermeter output should be estimated using velocity, ascent velocity, acceleration as well as heart rate and cadence data." +
32               "Data from the first two rides can be used for training the model for power predictions for the third ride." +
33               "AscentVelocity is calculated from velocity and measurements of a barometer. Measurements for heartrate, velocity, and AscentVelocity " +
34               "have been smoothed using a quadratic Savitzky-Golay filter. All variables are measured at 1Hz.";
35      }
36    }
37    protected override string TargetVariable { get { return "Power [W]"; } }
38    protected override string[] VariableNames {
39      get { return new string[] { "Date", "Power [W]", "HR [bpm]", "Cadence [bpm]", "Velocity [m/s]", "AscentVelocity [m/h]", "d(HR)/dt [bpm/s]", "Acceleration [m/s²]" }; }
40    }
41    protected override string[] AllowedInputVariables {
42      get { return new string[] { "HR [bpm]", "Cadence [bpm]", "Velocity [m/s]", "AscentVelocity [m/h]", "d(HR)/dt [bpm/s]", "Acceleration [m/s²]" }; }
43    }
44    protected override int TrainingPartitionStart { get { return 0; } }
45    protected override int TrainingPartitionEnd { get { return 13111; } }
46    protected override int TestPartitionStart { get { return 13111; } }
47    protected override int TestPartitionEnd { get { return 17039; } }
48  }
49}
Note: See TracBrowser for help on using the repository browser.