0.0.1 • Published 6 years ago
brier-score v0.0.1
brier-score
Function to calculate brier score
Install
$ npm install brier-score --save
Example
const { brierScore } = require('brier-score');
// ES2015 modules
import { brierScore } from 'brier-score';
const score = brierScore({
probability: 0.7,
outcome: 1
});
console.log(score)
// 0.09...
0.0.1
6 years ago