I am utilizing the DecistionTreeClassifier predict_proba() function to generate an Alpha Signal. Since the classifier is one of two values (0, 1), I hit the max_loss threshold immediately when generating the get_clean_factor_and_forward_returns() and later factor_returns() functions. Any ideas on how to avoid this and properly test my classifier prediction? The end goal is to calculate the Sharpe Ratio of the Alpha Signal factor returns.
Thanks.