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
|
import { FolderFile } from "./FolderFile";
export default class Predictor extends FolderFile {
constructor(
name: string = 'Novi prediktor',
public uploaderId: string = '',
public inputs: string[] = [],
public output: string = '',
public isPublic: boolean = false,
public accessibleByLink: boolean = false,
dateCreated: Date = new Date(),
public experimentId: string = "",
public modelId: string = "",
public h5FileId: string = "",
public metricsLoss:number[]=[],
public metricsValLoss:number []=[],
public metricsAcc:number[]=[],
public metricsValAcc: number[]=[],
public metricsMae :number []=[],
public metricsValMae :number []=[],
public metricsMse : number[]=[],
public metricsValMse : number[]=[],
//public metrics: Metric[] = [],
//public finalMetrics: Metric[] = []
) {
super(name, dateCreated, dateCreated);
}
}
export class Metric {
constructor(
public name: string = '',
public jsonValue: string = ''
) { }
}
|