brier-score

0.0.1 • Public • Published

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...

Package Sidebar

Install

npm i brier-score

Weekly Downloads

3

Version

0.0.1

License

ISC

Last publish

Collaborators

  • kristhha