I've been in my operations research course, and we have been working on optimization in particular problems within regression. We hypothesize that for variables $h,s,d,t,$ there is this set relationship between them: $$h = \beta_s e^{s^2} + \beta_d d\sin(-\beta_t t) + \beta_0 + \epsilon,$$ where $\epsilon \sim Normal(0,\sigma^2)$. I am supposed to figure out a reasonable solution for finding our $\beta$'s given our training sample set $\{<h_n,s_n,d_n,t_n>\}$. My professor has recommended that we use a squared-error loss function, i.e. $$L(\mathbf{h},\mathbf{\hat{h}}) = \sum_{i=1}^n (h_i - \hat{h}_i)^2.$$ Given this, I would have liked to have had a closed form for directly calculating the $\beta$'s (like there is in standard linear regression), but given the nonlinearities present in this model, I have not been able to find a simple closed-form solution for cases like this. Hence, I have decided to find some algorithm to calculate this, but I have been told that standard gradient descent on the loss function is not going to help me in this non-linear situation due to the high likelihood of reaching a local minimum (rather than a global minimum). I would ask, is there another method within operations research that will be useful for training an extremely non-linear regression like this? As a reference, the gradient of this function will be this: $$\frac{\partial L}{\partial \beta_0} = \sum_{i=1}^n 2(h_i - \hat{h}_i) \times (-1)$$ $$\frac{\partial L}{\partial \beta_s}= \sum_{i=1}^n 2(h_i-\hat{h}_i) \times (-e^{s_i^2})$$ $$\frac{\partial L}{\partial \beta_d}=\sum_{i=1}^n 2(h_i-\hat{h}_i) \times -d_i \sin(-\beta_t t_i)$$ $$\frac{\partial L}{\partial \beta_t} =\sum_{i=1}^n 2(h_i - \hat{h}_i) \times -\beta_d d_i \cos(-\beta_t t_i) \times (-t_i).$$
2026-04-02 14:33:34.1775140414
Question on optimization algorithm to train peculiar regression
32 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in OPTIMIZATION
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- optimization with strict inequality of variables
- Gradient of Cost Function To Find Matrix Factorization
- Calculation of distance of a point from a curve
- Find all local maxima and minima of $x^2+y^2$ subject to the constraint $x^2+2y=6$. Does $x^2+y^2$ have a global max/min on the same constraint?
- What does it mean to dualize a constraint in the context of Lagrangian relaxation?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Building the model for a Linear Programming Problem
- Maximize the function
- Transform LMI problem into different SDP form
Related Questions in REGRESSION
- How do you calculate the horizontal asymptote for a declining exponential?
- Linear regression where the error is modified
- Statistics - regression, calculating variance
- Why does ANOVA (and related modeling) exist as a separate technique when we have regression?
- Gaussian Processes Regression with multiple input frequencies
- Convergence of linear regression coefficients
- The Linear Regression model is computed well only with uncorrelated variables
- How does the probabilistic interpretation of least squares for linear regression works?
- How to statistically estimate multiple linear coefficients?
- Ridge Regression in Hilbert Space (RKHS)
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Assuming that you have $n$ data points $(s_i,d_i,t_i,h_i)$ and the model $$h = \beta_s e^{s^2} + \beta_d d\sin(-\beta_t t) + \beta_0 $$ you already notice that the model is nonlinear; closed form formulae are not possible to obtain and only numerical methods could be used. Nonlinear regression being required, you need to start with "reasonable" estimates and this is a problem.
However, you can make the problem simpler noticing that the model is nonlinear just because of parameter $\beta_t$. If you fix it to a given arbitrary value, parameters $\beta_s,\beta_d,\beta_0$ are immediately obtained using multilinear regression( regressors being $e^{s_i^2}$ and $d_i\sin(-\beta_t t_i)$).
The values of these three parameters are implicit functions of $\beta_t$.
Doing it you have
$$L(\mathbf{h},\mathbf{\hat{h}}) = \sum_{i=1}^n (h_i - \hat{h}_i)^2=\Phi(\beta_t)$$ Try a series of values of $\beta_t$ until you see more or less $\Phi(\beta_t)$ going through a minimum. Now, you have your estimates with which you can start the nonlinear regression.
You could even skip the nonlinear regression solving numerically $\Phi'(\beta_t)=0$ that is to say searching graphically the solution of ,say, $$\Phi(1.001\beta_t)-\Phi(0.999\beta_t)=0$$