Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3040_VectorBasedGP/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/UCITimeSeries/GasFlowModulation.cs @ 17554

Last change on this file since 17554 was 17415, checked in by pfleck, 5 years ago

#3040 Added additional UCI instances for time series regression

File size: 2.1 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 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.Linq;
23
24namespace HeuristicLab.Problems.Instances.DataAnalysis {
25  public class GasFlowModulation : ResourceRegressionDataDescriptor {
26    public GasFlowModulation()
27    : base("GasFlowModulation.csv") { }
28
29    public override string Name { get { return "Gas Flow Modulation"; } }
30    public override string Description { get { return "The data set contains 58 time series acquired from 16 chemical sensors under gas flow modulation conditions. The sensors were exposed to different gaseous binary mixtures of acetone and ethanol."; } }
31    protected override string TargetVariable { get { return "ace_conc"; } }  // or  "eth_conc"
32    protected override string[] VariableNames {
33      get { return new[] { "exp", "batch", "ace_conc", "eth_conc", "gas", "lab", "col" }.Concat(AllowedInputVariables).ToArray(); }
34    }
35    protected override string[] AllowedInputVariables {
36      get { return Enumerable.Range(1, 16).Select(i => $"sensor_{i:D2}").ToArray(); }
37    }
38    protected override int TrainingPartitionStart { get { return 0; } }
39    protected override int TrainingPartitionEnd { get { return 40; } }
40    protected override int TestPartitionStart { get { return 40; } }
41    protected override int TestPartitionEnd { get { return 58; } }
42  }
43}
Note: See TracBrowser for help on using the repository browser.