We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating a One-Class SVM classifier (e.g. for the following data) do { try trainData.addDataPoint(input: [0.2, 0.9], dataClass:1) try trainData.addDataPoint(input: [0.8, 0.3], dataClass:1) try trainData.addDataPoint(input: [0.5, 0.6], dataClass:1) } //catch etc. let svm = SVMModel(problemType: .oneClassSVM, kernelSettings: KernelParameters(type: .radialBasisFunction, degree: 0, gamma: 0.5, coef0: 0.0)) svm.train(trainData)
Throws Index out of range error in SVM.swift in two places: Line 1531 and Line 1197
The text was updated successfully, but these errors were encountered:
Have you figured out a solution and if you have would you mind sharing it?
Sorry, something went wrong.
Unfortunately, no solution 👎
No branches or pull requests
When creating a One-Class SVM classifier (e.g. for the following data)
do {
try trainData.addDataPoint(input: [0.2, 0.9], dataClass:1)
try trainData.addDataPoint(input: [0.8, 0.3], dataClass:1)
try trainData.addDataPoint(input: [0.5, 0.6], dataClass:1)
} //catch etc.
let svm = SVMModel(problemType: .oneClassSVM, kernelSettings:
KernelParameters(type: .radialBasisFunction, degree: 0, gamma: 0.5, coef0: 0.0))
svm.train(trainData)
Throws Index out of range error in SVM.swift in two places:
Line 1531 and Line 1197
The text was updated successfully, but these errors were encountered: