Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
157 views
in Technique[技术] by (71.8m points)

Using Weka generated Decision Tree in Python

I generated a Decision Tree using Weka-GUI and am trying to use the generated Decision Tree in my Python code.

Is there an option in Python to load the DT model and use it or would I have to train the Decision Tree in Python itself using a weka wrapper?

question from:https://stackoverflow.com/questions/65901687/using-weka-generated-decision-tree-in-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you use the same version of Weka in GUI and Python wrapper, you can use the same model.

Here are some details:

Also consider some alternatives:


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...