Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3040_VectorBasedGP/HeuristicLab.Problems.Instances.DataAnalysis/3.3/Regression/UCITimeSeries/SocialMediaBuzzTwitter.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.5 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 SocialMediaBuzzTwitter : ResourceRegressionDataDescriptor {
26    public SocialMediaBuzzTwitter()
27      : base("SocialMediaBuzz(Twitter).csv") { }
28
29    public override string Name { get { return "Social Media Buzz (Twitter)"; } }
30    public override string Description { get { return "This data-set contains examples of buzz events from Twitter."; } }
31    protected override string TargetVariable { get { return "Mean Number of active discussion (NAD)"; } }
32    protected override string[] VariableNames {
33      get { return AllowedInputVariables.Concat(new[] { "Mean Number of active discussion (NAD)" }).ToArray(); }
34    }
35    protected override string[] AllowedInputVariables {
36      get {
37        return new[] {
38          "Number of Created Discussions (NCD)",
39          "Author Increase (AI)",
40          "Attention Level (measured with number of authors) (AS(NA))",
41          "Burstiness Level (BL)",
42          "Number of Atomic Containers (NAC)",
43          "Attention Level (measured with number of contributions) (AS(NAC)",
44          "Contribution Sparseness (CS)",
45          "Author Interaction (AT)",
46          "Number of Authors (NA)",
47          "Average Discussions Length (ADL)",
48          "Average Discussions Length (NAD)"
49        };
50      }
51    }
52    protected override int TrainingPartitionStart { get { return 0; } }
53    protected override int TrainingPartitionEnd { get { return 388834; } }
54    protected override int TestPartitionStart { get { return 388834; } }
55    protected override int TestPartitionEnd { get { return 583250; } }
56  }
57}
Note: See TracBrowser for help on using the repository browser.