Top "Polynomials" questions

In mathematics, a polynomial is an expression consisting of variables (or indeterminates) and coefficients, that involves only the operations of addition, subtraction, multiplication, and non-negative integer exponents.

In R formulas, why do I have to use the I() function on power terms, like y ~ I(x^3)

I'm trying to get my head around the use of the tilde operator, and associated functions. My 1st question is …

r formula polynomials tilde
Cannot understand with sklearn's PolynomialFeatures

Need help in sklearn's Polynomial Features. It works quite well with one feature but whenever I add multiple features, it …

python machine-learning scikit-learn polynomials
What does the capital letter "I" in R linear regression formula mean?

I haven't been able to find an answer to this question, largely because googling anything with a standalone letter (like "…

r regression formula polynomials
How to find the best degree of polynomials?

I'm new to Machine Learning and currently got stuck with this. First I use linear regression to fit the training …

python machine-learning linear-regression polynomials
Checking the error detection capabilities of CRC polynomials

I tried to find out how to calculate the error detection capabilities of arbitrary CRC polynomials. I know that there …

checksum crc polynomials hamming-distance error-detection
Fitting a polynomial using np.polyfit in 3 dimensions

I have an array of data, with dimensions (N,3) for some integer N, that specifies the trajectory of a particle …

python numpy polynomials
How to fit a polynomial with some of the coefficients constrained?

Using NumPy's polyfit (or something similar) is there an easy way to get a solution where one or more of …

python numpy scipy curve-fitting polynomials
Map which allows to provide the equals-comparator and the hashing function separately

While trying to model polynomials, in particular their multiplication, I run into the following problem. During the multiplication, the individual …

java hashmap symbolic-math polynomials
Get the inverse function of a polyfit in numpy

I have fit a second order polynomial to a number of x/y points in the following way: poly = np.…

python numpy polynomials
Plotting predicted values from a lme model (with polynomials) in R

I am using linear mixed-effect model (run with the lme() function in the nlme package in R) that has one …

r predict mixed-models polynomials nlme