[12688] | 1 | #region License Information
|
---|
| 2 | /* HeuristicLab
|
---|
[17180] | 3 | * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
[12688] | 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 |
|
---|
| 22 |
|
---|
| 23 | namespace HeuristicLab.Problems.Instances.DataAnalysis {
|
---|
| 24 | public class Powermeter : ResourceRegressionDataDescriptor {
|
---|
[16169] | 25 | public Powermeter() : base("Powermeter.txt") { }
|
---|
[12688] | 26 | public override string Name { get { return "Powermeter"; } }
|
---|
| 27 | public override string Description {
|
---|
| 28 | get {
|
---|
| 29 | return "This dataset contains measurements from a bike powermeter from three rides on different courses including flat and hilly terrain." +
|
---|
| 30 | "The powermeter output should be estimated using velocity, ascent velocity, acceleration as well as heart rate and cadence data." +
|
---|
| 31 | "Data from the first two rides can be used for training the model for power predictions for the third ride." +
|
---|
| 32 | "AscentVelocity is calculated from velocity and measurements of a barometer. Measurements for heartrate, velocity, and AscentVelocity " +
|
---|
| 33 | "have been smoothed using a quadratic Savitzky-Golay filter. All variables are measured at 1Hz.";
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
| 36 | protected override string TargetVariable { get { return "Power [W]"; } }
|
---|
| 37 | protected override string[] VariableNames {
|
---|
| 38 | 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²]" }; }
|
---|
| 39 | }
|
---|
| 40 | protected override string[] AllowedInputVariables {
|
---|
| 41 | get { return new string[] { "HR [bpm]", "Cadence [bpm]", "Velocity [m/s]", "AscentVelocity [m/h]", "d(HR)/dt [bpm/s]", "Acceleration [m/s²]" }; }
|
---|
| 42 | }
|
---|
| 43 | protected override int TrainingPartitionStart { get { return 0; } }
|
---|
| 44 | protected override int TrainingPartitionEnd { get { return 13111; } }
|
---|
| 45 | protected override int TestPartitionStart { get { return 13111; } }
|
---|
| 46 | protected override int TestPartitionEnd { get { return 17039; } }
|
---|
| 47 | }
|
---|
| 48 | }
|
---|