I'm running distributed random forests on data in Python 3.5, using H2O h2o-3.8.2.8. I can print/look at most of my output, but I'm having trouble saving the output. For example, I'd like to export and save my confusion matrix to csv. When I check the type of the confusion matrix, I see that it is "h2o.model.confusion_matrix.ConfusionMatrix". Does anyone know how to transform this to a dataframe or other python object to export and save?
Thanks for any help!
h2o.H2OFrame().as_data_frame(use_pandas=False)When I use the following command:
confusion=rf_model.confusion_matrix(test)
type(confusion)
I get - h2o.model.confusion_matrix.ConfusionMatrix
I've tried to turn it into a dataframe but have been unsuccessful.
--
You received this message because you are subscribed to the Google Groups "H2O Open Source Scalable Machine Learning - h2ostream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2ostream+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.