From 16e0329660de4d4be9e6ccde0518b84551ecf233 Mon Sep 17 00:00:00 2001 From: Ivan Ljubisavljevic Date: Wed, 18 May 2022 19:41:34 +0200 Subject: Izmenjena baza. Public datasetovi, modeli itd su validni --- frontend/src/app/_pages/home/home.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/src/app/_pages/home/home.component.html b/frontend/src/app/_pages/home/home.component.html index 9b559bc9..534854b6 100644 --- a/frontend/src/app/_pages/home/home.component.html +++ b/frontend/src/app/_pages/home/home.component.html @@ -21,7 +21,7 @@
storage -

Arhiva

+

Kolekcije

Upravljajte izvorima podataka, eksperimentima, modelima i rezultatima treniranja. Pogledajte podatke koje su podelili drugi korisnici.

-- cgit v1.2.3 From b3a47535532ca7af3943196c7c78f9dd6025a5b0 Mon Sep 17 00:00:00 2001 From: Ivan Ljubisavljevic Date: Wed, 18 May 2022 20:44:13 +0200 Subject: Predictor fix --- backend/api/api/Models/Predictor.cs | 2 -- frontend/src/app/_data/Predictor.ts | 11 ++++++----- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'frontend') diff --git a/backend/api/api/Models/Predictor.cs b/backend/api/api/Models/Predictor.cs index 4534bd8d..530257b2 100644 --- a/backend/api/api/Models/Predictor.cs +++ b/backend/api/api/Models/Predictor.cs @@ -10,8 +10,6 @@ namespace api.Models [BsonRepresentation(BsonType.ObjectId)]//mongo data type to .net public string _id { get; set; } public string uploaderId { get; set; } - //public string name { get; set; } - //public string description { get; set; } public string[] inputs { get; set; } public string output { get; set; } public bool isPublic { get; set; } diff --git a/frontend/src/app/_data/Predictor.ts b/frontend/src/app/_data/Predictor.ts index 55d610ed..c839a635 100644 --- a/frontend/src/app/_data/Predictor.ts +++ b/frontend/src/app/_data/Predictor.ts @@ -3,19 +3,20 @@ import { FolderFile } from "./FolderFile"; export default class Predictor extends FolderFile { constructor( name: string = 'Novi prediktor', - public description: string = '', + + public uploaderId: string = '', public inputs: string[] = [], public output: string = '', public isPublic: boolean = false, public accessibleByLink: boolean = false, dateCreated: Date = new Date(), - lastUpdated: Date = new Date(), - public uploaderId: string = '', - //public finalMetrics: Metric[] = [] public experimentId: string = "", public modelId: string = "", + public h5FileId: string = "", + public metrics: Metric[] = [], + public finalMetrics: Metric[] = [] ) { - super(name, dateCreated, lastUpdated); + super(name, dateCreated, dateCreated); } } -- cgit v1.2.3