RE: [MLLIB] Best way to extract RandomForest decision splits

2016-02-10 Thread Mohammed Guller
: [MLLIB] Best way to extract RandomForest decision splits I've trained a RandomForest classifier where I can print my model's decisions using model.toDebugString However I was wondering if there's a way to extract tree programmatically by traversing the nodes or in some other way

RE: [MLLIB] Best way to extract RandomForest decision splits

2016-02-10 Thread Jay Luan
sage- > From: jluan [mailto:jaylu...@gmail.com] > Sent: Wednesday, February 10, 2016 5:57 PM > To: user@spark.apache.org > Subject: [MLLIB] Best way to extract RandomForest decision splits > > > > I've trained a RandomForest classifier where I can print my model's > dec

RE: [MLLIB] Best way to extract RandomForest decision splits

2016-02-10 Thread Mohammed Guller
he.org Subject: RE: [MLLIB] Best way to extract RandomForest decision splits Thanks for the reply, I'd like to export the decision splits for each tree out to an external file which is read elsewhere not using spark. As far as I know, saving a model to a path will save a bunch of binary files whi

[MLLIB] Best way to extract RandomForest decision splits

2016-02-10 Thread jluan
. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/MLLIB-Best-way-to-extract-RandomForest-decision-splits-tp26201.html Sent from the Apache Spark User List mailing list archive at Nabble.com