File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ Return an array of one or more Prediction instances
4545| --- | --- | --- | --- |
4646| input | <code >string</code > | | Input string to make a prediction from |
4747| [ maxMatches] | <code >int</code > | <code >1</code > | Maximum number of predictions to return |
48- | [ minimumConfidence] | <code >float</code > | <code ></code > | Minimum confidence required to include a prediction |
48+ | [ minimumConfidence] | <code >float</code > | <code >null </code > | Minimum confidence required to include a prediction |
Original file line number Diff line number Diff line change @@ -93,8 +93,8 @@ class Classifier {
9393 * Return an array of one or more Prediction instances
9494 *
9595 * @param {string } input - Input string to make a prediction from
96- * @param {int } [maxMatches] Maximum number of predictions to return
97- * @param {float } [minimumConfidence] Minimum confidence required to include a prediction
96+ * @param {int } [maxMatches=1 ] Maximum number of predictions to return
97+ * @param {float } [minimumConfidence=null ] Minimum confidence required to include a prediction
9898 * @return {Array }
9999 */
100100 predict ( input , maxMatches = 1 , minimumConfidence = null ) {
You can’t perform that action at this time.
0 commit comments