Is changing Power
from an NpElemOperator to an NpPairOperator a good idea?
#1010
Labels
Power
from an NpElemOperator to an NpPairOperator a good idea?
#1010
In order to achieve the expression like "Power($close, Rank($close, 14))" which is fairly common in fomulla alpha.
I guess we could use following code:
class Power(NpPairOperator): def __init__(self, feature_left, feature_right): super(PairPower, self).__init__(feature_left, feature_right, "power")
Finally, we could add a rpow magic method to Expression class
The text was updated successfully, but these errors were encountered: