Machine Learning, Artificial Intelligence, Python, Statistics, Mathematics.
example, let’s suppose we are considering a 3 degree feature space: def pol(degree): deg_list=[] for r in x: deg_list.append(r**degree) return deg_list So we converted a monodimensional input in a 3-dimensional one. Then, polynomial regression can be expressed by the following set of parameters: