![]() |
About dicision tree analysis Help me! TT - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: About dicision tree analysis Help me! TT (/thread-10837.html) |
About dicision tree analysis Help me! TT - Shunta_U - Jun-08-2018 Hello thank you for read this. I’m japanese so maybe mistake in grammer, excuse me. ![]() I study dicision tree analysis in scikit-learn. I use dicision tree analysis for the data to divide which chip is OK or NG based on Tests. For the form of the target data, please see table.1 . Table.1 The data consists of ChipID (for identification) , NG (Chip is OK or NG) And Test1~ (test for Chips ,it become feature of Chips ) Decision tree devides Chips based on Tests , OK or NG. The example of tree is Fig.1 Fig.1 I want to get the dividing rules from the dicision tree. To get the dividing rule of the part surrounded by red circles , following the structure of the tree is neccesary. Following the structure means getting Test46&Test65 for the divinding rule. I would like to implement such work in python. I read the source of scikit-learn, but I couldn’t. ![]() ![]() |