data-science-js
v0.0.4
Published
JS-based library for data-science, statistic and math project
Downloads
15
Maintainers
Readme
Data-sience-js
JS-based library for data-science, statistic and math projects. Currently supporting
Install
# Install command
npm i data-science-js
Detailed description
JS-based library for data-science, statistic and math projects. Currently supporting:
- Mean Square Error: MSE
- F1Score: macro
Add here functions you'd like to see as js-based
To come:
F1Score: averaged
F1Score: with null control exceptions
Usage
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 [])
Contributing
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
Contact info
You can contact me on LinkedIn
or at: