nok / sklearn-porter

Transpile trained scikit-learn estimators to C, Java, JavaScript and others.
BSD 3-Clause "New" or "Revised" License
1.28k stars 170 forks source link

[Error] Works fine with C but getting this error when ported to Java #76

Closed TanveshT closed 4 years ago

TanveshT commented 4 years ago
javac -cp . SVC.java 

SVC.java:178: error: cannot find symbol
            SVC clf = new SVC(5, 5, vectors, coefficients, intercepts, weights, "linear", scale, 0.0, 3);
                                                                                                                                      ^
  symbol:   variable scale
  location: class SVC
1 error