You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: k_means.rs
    path of file: ./repos/rusty-machine/tests/learning
    
    the code of the file until where you have to start completion: use rm::linalg::Matrix;
use rm::learning::UnSupModel;
use rm::learning::k_means::KMeansClassifier;
use rm::learning::k_means::{Forgy, RandomPartition, KPlusP
    
fn test_model_default() {
    let mut model = KMeansClassifier::<KPlusPlus>::new(3);
    let inputs = Matrix::new(3, 2, vec![1.0, 2.0, 1.0, 3.0, 1.0, 4.0]);
    let targets = Matrix::new(3,2, vec![1.0, 2.0, 1.0, 3.0, 1.0, 4.0]);

    model.train(&inputs).unwrap();

    let outputs = model.predict(&targets).unwrap();

    assert_eq!(outputs.size(), 3);
}