I have a trained RandomForestModel object from a libsvm file and would now like to call the predict method with that model using a List<Double> as features. How can I convert a List<Double> to the necessary input in Java and see the predicted target class?
From what I can tell, predict(...) takes in a JavaRDD<Vector> but I'm uncertain how to convert a List<Double> to that .
 
     
    