JS-based library for data-science, statistic and math projects. Currently supporting
# Install command
npm i data-science-js
JS-based library for data-science, statistic and math projects. Currently supporting:
- Mean Square Error: MSE
- F1Score: macro
To come:
- F1Score: averaged
- F1Score: with null control exceptions
Some examples
const {fOneScoreMacro} = requir('data-science-js')
const data = [1, 2, 0, 0, 1]
const data = [1, 2, 1, 0 ,1 ]
const {f1score, recall,precission} = fOneScoreMacro(target, predicted)
Currenly avalibale:
- fOneScoreMacro(target [], predicted [])
- average(arr [])
- meanSquareError (predicted [], target [])
- summArray(arr [])
Simply follow:
- Clone the repo
- Create a branch with the name of the feature you want to add
- Pull to your branch
- Create a pull request to dev so it can be checked and merged
You can contact me on LinkedIn
or at: