Click here to Skip to main content
15,885,141 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
In my mega project I want to find out coefficient of polynomial equation .The eq is

f(x)=(ax+b)summation of(ci(x*mod(lamda))^i where i from 0 to degree of equation.

In this equation x is difference between days for ex. 10days,20days ie. after purchasing of one product user purchase another product after 10 days or 20 days.& y means how much time this sequence of 10 days or 20 days comes in database ex. user purchase a product series(after purchasing a they purchase b so ab is one series) of 10 days for 5 times so y=5.
so for that polynomial equation has been used. lamda is the error in that sequence & I know value of x,y,lamda,i,a,b. & ci is coefficient of polynomial equation.I have large database for x & y & I want to find eq f(x).So anyone can help me how to find constant ci (i=0 to i=degree of eq).
Posted

1 solution

please see this link it may helpful to you.

http://www.centerspace.net/blog/tag/c-polynomial-regression/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900