-
Notifications
You must be signed in to change notification settings - Fork 0
/
DatasetInformation.cs
43 lines (39 loc) · 1.18 KB
/
DatasetInformation.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using PRFramework.Core.Common;
namespace PRFramework.Core.DatasetInfo
{
[Serializable]
public class DatasetInformation
{
public FeatureInformation[] FeatureInformations { get; set; }
public int ObjectsWithIncompleteData { get; set; }
public int GlobalAbscenseInformation { get; set; }
}
[Serializable]
public class FeatureInformation
{
public Feature Feature { protected get; set; }
public int MissingValueCount { get; set; }
}
[Serializable]
public class NominalFeatureInformation : FeatureInformation
{
public NominalFeature NominalFeature
{
get { return Feature as NominalFeature; }
}
public double[] Distribution { get; set; }
public double[] ValueProbability { get; set; }
public double[] Ratio { get; set; }
}
[Serializable]
public class NumericFeatureInformation : FeatureInformation
{
public NumericFeature NumericFeature
{
get { return Feature as NumericFeature; }
}
public double MinValue;
public double MaxValue;
}
}