Skip to content

Commit 6533cec

Browse files
authored
Update importance method return type to reflect feature importances as a 2D array (#986)
1 parent 115768e commit 6533cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/ridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class MulticlassRidge {
103103

104104
/**
105105
* Returns importances of the features.
106-
* @returns {number[]} Importances
106+
* @returns {number[][]} Importances
107107
*/
108108
importance() {
109109
return this._w.toArray()

0 commit comments

Comments
 (0)