Zaktualizuj 'Front/src/app/app.component.ts'
This commit is contained in:
parent
4e071aeb03
commit
96fffa7d65
@ -328,6 +328,6 @@ export class AppComponent implements OnInit {
|
|||||||
this.matches.forEach(x => {
|
this.matches.forEach(x => {
|
||||||
sum += Math.abs(x.goals - x.predictedGoals);
|
sum += Math.abs(x.goals - x.predictedGoals);
|
||||||
});
|
});
|
||||||
this.mae = Math.sqrt(sum / this.matches.length);
|
this.mae = (sum / this.matches.length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user