Skip to content

Commit 6964aa4

Browse files
committed
change asRegression for regression and asClassification for classification.
1 parent a8e34c1 commit 6964aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FeatureExtractor/Mobilenet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ class Mobilenet {
5757
return tf.model({ inputs: this.mobilenet.inputs, outputs: layer.output });
5858
}
5959

60-
asClassifier(video, callback) {
60+
classification(video, callback) {
6161
this.usageType = 'classifier';
6262
return this.loadVideo(video, callback);
6363
}
6464

65-
asRegressor(video, callback) {
65+
regression(video, callback) {
6666
this.usageType = 'regressor';
6767
return this.loadVideo(video, callback);
6868
}

0 commit comments

Comments
 (0)