Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1eefc74

Browse files
committed
Update docs
1 parent4981aeb commit1eefc74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎docs/classifier.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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|

‎src/classifier.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp