aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/hidden-layer/hidden-layer.component.html
blob: 65e0f6268ed8330bc831b8d7c70b5245f45c8680 (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
<div class="container">
    <mat-form-field appearance="fill">
        <mat-label>Aktivaciona funkcija</mat-label>
        <mat-select matNativeControl required [formControl]="selectFormControl">
          <mat-option label="--select something --"></mat-option>
          <mat-option value="saab">Relu</mat-option>
          <mat-option value="mercedes">Sigmoid</mat-option>
          <mat-option value="audi">Softmax</mat-option>
        </mat-select>
        <mat-error *ngIf="selectFormControl.hasError('required')">
            Obavezno polje
        </mat-error>
      </mat-form-field>
<br>
      Broj čvorova: <input type="number" min="1" class="form-control" name="hiddenLayersNeurons">
      <br>
      <mat-form-field appearance="fill">
        <mat-label>Regularizacija</mat-label>
        <mat-select matNativeControl required [formControl]="selectFormControl">
          <mat-option label="--select something --"></mat-option>
          <mat-option value="l1">L1</mat-option>
          <mat-option value="l2">L2</mat-option>
        </mat-select>
        <mat-error *ngIf="selectFormControl.hasError('required')">
            Obavezno polje
        </mat-error>
      </mat-form-field>
      <br>
      <mat-form-field appearance="fill">
        <mat-label>Stopa regularizacije</mat-label>
        <mat-select matNativeControl required [formControl]="selectFormControl">
          <mat-option value="saab">0.001</mat-option>
          <mat-option value="mercedes">0.01</mat-option>
          <mat-option value="audi">0.1</mat-option>
        </mat-select>
        <mat-error *ngIf="selectFormControl.hasError('required')">
            Obavezno polje
        </mat-error>
      </mat-form-field>
</div>