Closed notadamking closed 5 years ago
The documentation states that the SVM.predict function has the signature:
SVM.predict
predict(samples: Array<Array<number>>): Array<number>
however, the function actually returns Array<Array>. This is an invalid response and is difficult to interpret.
The SVM.predictOne function is also incorrect. This is the signature:
SVM.predictOne
predictOne(sample: Array<number>): number
however, the function returns Array, again an invalid response.
The documentation states that the
SVM.predict
function has the signature:however, the function actually returns Array<Array>. This is an invalid response and is difficult to interpret.
The
SVM.predictOne
function is also incorrect. This is the signature:however, the function returns Array, again an invalid response.