Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Question on making label with different params.

Take an example to illustrate:
With machine learning, I am trying to make label with a score function which has 2 params
- return: higher is better
- period: smaller is better
The question is how to define the score(return, period){}

please note the return and period has different scale and different distribution, how to combine them properly into one score for training purpose? any good practice for this ?