aboutsummaryrefslogtreecommitdiff
path: root/backend/api/api/Models/Dataset.cs
blob: 0dc87f407a888674944bba7fdc790b06969c1465 (plain) (blame)
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
44
45
46
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace api.Models
{
    public class Dataset
    {
        internal string uploaderId;

        [BsonId]
        [BsonRepresentation(BsonType.ObjectId)]//mongo data type to .net
        public string _id { get; set; }
        [BsonElement("uploaderId")]
        public string UploaderId { get; set; }
        [BsonElement("name")]
        public string name { get; set; }

        public string description { get; set; }
        //datetime
        public string dateCreated { get; set; }
        
        public int[] inputColumns { get; set; }
        public int columnToPredict { get; set; }
        public bool randomTestSet { get; set; }
        public int randomTestSetDistribution { get; set; }


        public string type { get; set; }
        public string encoding { get; set; }
        public string optimizer { get; set; }
        public string lossFunction { get; set; }
        public int inputNeurons { get; set; }
        public int hiddenLayerNeurons { get; set; }
        public int hiddenLayers { get; set; }
        public int batchSize { get; set; }
        public string inputLayerActivationFunction { get; set; }
        public string hiddenLayerActivationFunction { get; set; }
        public string outputLayerActivationFunction { get; set; }


        [BsonElement("extension")]
        public string extension { get; set; }
        

    }
}