Reputation: 192
I have models that were designed trough SAS hpsplit procedure, outputing results to SAS files.
The content of the SAS files are quite complex... Despite being only in standard 'if then' format, they are quite lengthy (as much levels as tree depth, quite numerous conditions involving dozens of features and long lists of categorical features). I end up with thousands lines of codes, without indentation.
I am aiming at replicating the behavior of the model in Python. So I'd like to know if there exists solutions to either produce SAS file with 'easy to translate' architecture or solution that translate lengthy 'if then' SAS codes to python.
Upvotes: 0
Views: 39