Skip to content

Commit

Permalink
fix: vulnerability fix + comment tweak (#14)
Browse files Browse the repository at this point in the history
* fix: vulnerability fix + comment tweak

* chore(yarn): lock file update
  • Loading branch information
Berkmann18 authored Jul 17, 2019
1 parent 0cb61dd commit 412e924
Show file tree
Hide file tree
Showing 3 changed files with 1,691 additions and 1,718 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"documentation": "^11.0.0",
"eslint-config-kentcdodds": "^14.3.2",
"git-cz": "^3.0.1",
"kcd-scripts": "^1.4.0",
"kcd-scripts": "^1.5.2",
"semantic-release": "^15.13.16"
},
"eslintIgnore": [
Expand Down
6 changes: 2 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ class Learner {
partitions.partitions(this.dataset, numOfFolds, (trainSet, testSet) => {
if (log)
process.stdout.write(
`Training on ${trainSet.length} samples, testing ${
testSet.length
} samples`,
`Training on ${trainSet.length} samples, testing ${testSet.length} samples`,
)
this.train(trainSet)
test(this.classifier, testSet, verboseLevel, this.microAvg, this.macroAvg)
Expand Down Expand Up @@ -286,7 +284,7 @@ class Learner {
* @public
*/
getStats() {
//@todo use C3.js for a stacked baar chart
//@todo use C3.js (or whatever fits the bill) for a stacked bar chart
const {
TP,
TN,
Expand Down
Loading

0 comments on commit 412e924

Please sign in to comment.