# Questions tagged [constraint]

The tag has no usage guidance.

138 questions
Filter by
Sorted by
Tagged with
1 vote
15 views

### Could we impose to a SARIMA model that the sum of predict values equals a given value (in R)?

I work on forecasting in R using a SARIMA model with monthly time series data. However, for the last year, I don't have the details by months but I have the annual value. I want to predict 2023 data ...
1 vote
28 views

### Open-Source Alternative of Closed-Source Swarm Optimization

We are currently using a closed-source software for model optimization. Since it is closed, we have no transparency into the underlying code, which therefore by definition makes it challenging to ...
• 1,202
21 views

### Constrain loss function based on input variables

I'm doing a simple regression task using a neural network with two inputs (x1 and x2) and one output (...
1 vote
34 views

### How to model the additive components of a random variable whose value is known

I would like to model the variables $Y_1, Y_2, …, Y_n$, which satisfy the constraint $Y_1 + Y_2 + … + Y_n = Y$; where $Y$ (or at least an accurate estimate $\hat{Y}$ thereof) is readily available. ...
16 views

### Supervised classifier for nested interval data and ordinal classes

I'm having trouble formalizing the following classification problem: Let $x_i$ denote univariate (scalar), continuous, real data points Let $y_i \in \mathbb{N}$ be their corresponding labels Classes ...
66 views

### Constrained, Supervised Classification

I am playing around with a classification model, and I would like to know if there are any known methods to achieve what I am looking to do. The data looks something like this: Class id $x_1$ $x_2$ .....
• 95
24 views

• 193
101 views

### Estimate variables which sum to zero? [closed]

Assume we have $y_i$ such that $\sum y_i=0$. Assume we have estimation machinery (some machine learning) which can estimate each $y_i$. So we can forget constraint and eastimate each of them, or we ...
1 vote
45 views

### How to generate two matrices with given (constrained to) column-wise and row-wise correlations in R? [closed]

I would like to generate two matrices X and Y, of the same dimensions (n x ...
1 vote
138 views

• 313
32 views

### Fitting Sparsed Constrained regression with non-negative coefficients adding to 1

I see a similar problem in How do I fit a constrained regression in R so that coefficients total = 1? Specifically, my model is $Y_i= \pi_1 X_1+\pi_2 X_2 +...+ \pi_K X_K +\epsilon_i$ with $\pi_k \ge 0$...
491 views

### What is the difference between constrained and unconstrained models

I have a question what is the difference between constrained and unconstrained model or freely estimated model. I am trying to test for chi square difference between them to determine discriminant ...
187 views

### Modeling a functional relationship with Constrained Gaussian Process regression

I searched the site for an answer to this question, but the closest I could find was: Gaussian process where the output is constrained to be 0 or greater which doesn't have an answer. So, I have a ...
• 18.2k
60 views

• 720
1 vote
222 views

### Clustering with constraints on group composition and size

Let's say that I know that in my data I have underlying clusters (if it helps, it may be reasonable to assume that I might even know how many) that are of a fixed size (let's say 4) and each cluster ...
• 33.5k
317 views

• 1,189