aboutsummaryrefslogtreecommitdiff
path: root/backend/api
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-05-02 20:28:08 +0200
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-05-02 20:28:08 +0200
commitfdf0b814fcc3ffe890384720f4e3d8d38f502c37 (patch)
tree35d9b0419f9e4832ac0240e175b267d8c5cb83d0 /backend/api
parenta344f3d937e6984350b06b9ee6aa7da48b757961 (diff)
Pomereni atributi iz experimenta u model na frontu i backu. Premesteni elementi za biranje test skupa iz column-table u form-model.
Diffstat (limited to 'backend/api')
-rw-r--r--backend/api/api/Models/Experiment.cs3
-rw-r--r--backend/api/api/Models/Model.cs3
2 files changed, 3 insertions, 3 deletions
diff --git a/backend/api/api/Models/Experiment.cs b/backend/api/api/Models/Experiment.cs
index f7bec083..cfff337c 100644
--- a/backend/api/api/Models/Experiment.cs
+++ b/backend/api/api/Models/Experiment.cs
@@ -16,9 +16,6 @@ namespace api.Models
public string uploaderId { get; set; }
public string[] inputColumns { get; set; }
public string outputColumn { get; set; }
- public bool randomOrder { get; set; }
- public bool randomTestSet { get; set; }
- public float randomTestSetDistribution { get; set; }
public string nullValues { get; set; }
public NullValues[] nullValuesReplacers { get; set; }
public ColumnEncoding[] encodings { get; set; }
diff --git a/backend/api/api/Models/Model.cs b/backend/api/api/Models/Model.cs
index a9dbfbdd..f89c8e56 100644
--- a/backend/api/api/Models/Model.cs
+++ b/backend/api/api/Models/Model.cs
@@ -38,5 +38,8 @@ namespace api.Models
public int epochs { get; set; }
//public bool isTrained { get; set; }
//public NullValues[] nullValues { get; set; }
+ public bool randomOrder { get; set; }
+ public bool randomTestSet { get; set; }
+ public float randomTestSetDistribution { get; set; }
}
}