I want to use Python to predict a value of a chemical reaction. As an input I have time units (0,2,4..) and the concentrations of 2 solutions. As an output I have a chemical measurement.
As an example of inputs that I got :
time concentration1 concentration2 result
0 100 0 -> 123
2 100 0 -> 100
example2
0 95 5 -> 321
2 95 5 -> 300
I tried linear regression and polynomial regression but the prediction is biased. This is because time depends on the other variables.
If time would be independent then for if the concentrations will be 0 and time would be for example 5 I would still get an output value != 0.
My questions is how should I process this data? What type of regression should I use?