@@ -68,15 +68,13 @@ mod svm_sparse_class {
6868 test_model ! ( m_csvm_linear, "m_csvm_linear.libsvm" , false , [ 0 , 7 ] , [ 0 , 0 ] ) ;
6969 test_model ! ( m_csvm_poly, "m_csvm_poly.libsvm" , false , [ 0 , 7 ] , [ 0 , 0 ] ) ;
7070 test_model ! ( m_csvm_rbf, "m_csvm_rbf.libsvm" , false , [ 0 , 7 ] , [ 0 , 0 ] ) ;
71- // TODO: Why do these fail?
72- // test_model!(m_csvm_sigmoid, "m_csvm_sigmoid.libsvm", false, [0, 5], [0, 0]);
71+ test_model ! ( m_csvm_sigmoid, "m_csvm_sigmoid.libsvm" , false , [ 0 , 7 ] , [ 0 , 0 ] ) ;
7372
74- // NUSVM
75- // TODO: Why do these fail?
76- // test_model!(m_nusvm_linear_prob, "m_nusvm_linear_prob.libsvm", true, [0, 7], [1, 6]);
77- // test_model!(m_nusvm_poly_prob, "m_nusvm_poly_prob.libsvm", true, [0, 7], [0, 7]);
78- // test_model!(m_nusvm_rbf_prob, "m_nusvm_rbf_prob.libsvm", true, [0, 7], [0, 7]);
79- // test_model!(m_nusvm_sigmoid_prob, "m_nusvm_sigmoid_prob.libsvm", true, [0, 7], [0, 7]);
73+ // NUSVM - TODO: Why do these actually differ between sparse and dense even in libSVM?!
74+ test_model ! ( m_nusvm_linear_prob, "m_nusvm_linear_prob.libsvm" , true , [ 0 , 7 ] , [ 0 , 6 ] ) ;
75+ test_model ! ( m_nusvm_poly_prob, "m_nusvm_poly_prob.libsvm" , true , [ 0 , 7 ] , [ 0 , 5 ] ) ;
76+ test_model ! ( m_nusvm_rbf_prob, "m_nusvm_rbf_prob.libsvm" , true , [ 0 , 7 ] , [ 0 , 6 ] ) ;
77+ test_model ! ( m_nusvm_sigmoid_prob, "m_nusvm_sigmoid_prob.libsvm" , true , [ 0 , 7 ] , [ 0 , 6 ] ) ;
8078
8179 // Temporarily disabled as they trigger ICE in Rust Nightly
8280 test_model ! ( m_nusvm_linear, "m_nusvm_linear.libsvm" , false , [ 0 , 7 ] , [ 0 , 0 ] ) ;
0 commit comments