This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
How to use: | |
1. Place a "Python Script" node on your canvas | |
2. Hook your "Classification Tree" node out into the "Python Script" input | |
3. Paste this gist in the python script and hit "Execute" | |
The output should be similar to this: | |
# slope (<32.000, 34.000>) | |
if slope <=1.008: return False #(<7.000, 0.000>) |