Free cookie consent management tool by TermsFeed Policy Generator

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

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

#3040 Added additional UCI instances for time series regression

File size: 2.6 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 SocialMediaBuzzTomsHardware : ResourceRegressionDataDescriptor {
26    public SocialMediaBuzzTomsHardware()
27      : base("SocialMediaBuzz(TomsHardware).csv") { }
28
29    public override string Name { get { return "Social Media Buzz (TomsHardware)"; } }
30    public override string Description { get { return "This data-set contains examples of buzz events from Tom's Hardware, a forum network focusing on new technology with more conservative dynamics."; } }
31    protected override string TargetVariable { get { return "Mean Number of display (ND)"; } }
32    protected override string[] VariableNames {
33      get { return AllowedInputVariables.Concat(new[] { "Mean Number of display (ND)" }).ToArray(); }
34    }
35    protected override string[] AllowedInputVariables {
36      get {
37        return new[] {
38          "Number of Created Discussions (NCD)",
39          "Burstiness Level (BL)",
40          "Average Discussions Length (NAD)",
41          "Author Increase (AI)",
42          "Number of Atomic Containers (NAC)",
43          "Number of displays (ND)",
44          "Contribution Sparseness (CS)",
45          "Author Interaction (AT)",
46          "Number of Authors (NA)",
47          "Average Discussions Length (ADL)",
48          "Attention Level (measured with number of authors) (AS(NA))",
49          "Attention Level (measured with number of contributions) (AS(NAC))"
50        };
51      }
52    }
53    protected override int TrainingPartitionStart { get { return 0; } }
54    protected override int TrainingPartitionEnd { get { return 18786; } }
55    protected override int TestPartitionStart { get { return 18786; } }
56    protected override int TestPartitionEnd { get { return 28179; } }
57  }
58}
Note: See TracBrowser for help on using the repository browser.