Port ensemble. Add Display to naive_bayes (#208)
This commit is contained in:
+2
-4
@@ -1119,10 +1119,8 @@ mod tests {
|
||||
let svc = SVC::fit(&x, &y, ¶ms).unwrap();
|
||||
|
||||
// serialization
|
||||
let _serialized_svc = &serde_json::to_string(&svc).unwrap();
|
||||
let serialized_svc = &serde_json::to_string(&svc).unwrap();
|
||||
|
||||
// println!("{:?}", serialized_svc);
|
||||
|
||||
// TODO: for deserialization, deserialization is needed for `linalg::basic::matrix::DenseMatrix`
|
||||
println!("{:?}", serialized_svc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user