GSR: A Generalized Symbolic Regression Approach