Questions tagged [regression]

For questions related to regression (both linear and non-linear) in the context of machine learning and AI.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Can transformers be used to improve regression?

I was recently reading a bit about transformers and I don't understand them very much but I was wondering if anyone knows if any of their techniques such as attention mechanism or anything has been ...
0
votes
1answer
39 views

How to explain that a same DNN model have radically different behaviours with each new initialization and training?

I'm trying to predict the continuous values of a variable $y$ using a Fully Connected Neural Network while providing it with data from a $(3300, 13)$ matrix $X$ where $X[i, :]=[0,...,1,...,0,x_{i}]$. ...
0
votes
0answers
17 views

Converting inputs as a batch for time series classification would increase accuracy?

I have sensor dataset. I have already classified these data with LSTMs.I have a dataframe with 2 features and a class column. Assume that I take every two rows(inputs) respectively and make the ...
0
votes
0answers
15 views

Is it possible to use RGB image with decimal values when feeding training data to CNN?

I am working with four grayscale images of float32 data type to perform regression using Keras. Three images are stacked using np.dstack to form a RGB data-set. The ...
3
votes
2answers
44 views

Can predictions of a neural network using ReLU activation be non-linear (i.e. follow the pattern) outside of the scope of trained data?

Training on a quadratic function x = np.linspace(-10, 10, num=1000) np.random.shuffle(x) y = x**2 Will predict an expected quadratic curve between ...
1
vote
1answer
53 views

How to get more accuracy of the logistic regression model?

I am working on a Baby Crying Detection model using logistic regression. Out of $581$ audios, $222$ are of a baby crying. Each audio is of $5$ seconds. what I have done is convert each audio into ...
0
votes
0answers
27 views

Predicting the probability of a periodically happening event occurring at a given time

I have encountered this problem on how to predict the probability of a periodically happening event occurring at a given time. For example, we have an event called being_an_undergrad. There are many ...
0
votes
0answers
13 views

How to use MultiTarget Regression without classes

I would like to forecast a dataset composed of two attributes, a sample is displayed below: ...
0
votes
1answer
43 views

How to forecast multiple target attributes in Python?

I need to forecast two non-correlated time-series (non-stationary). A sample is presented below: ...
0
votes
0answers
27 views

Multi-target regression using scikit-learn without ytrain

I would like to use the multi-target regression with scikit-learn. However, the examples I've seen use Xtrain and ytrain? What is ytrain in regression? I know y it is used for classes in ...
2
votes
1answer
110 views

Why is no activation function needed for the output layer of a neural network for regression?

I'm a bit confused about the activation function in the output layer of a neural network trained for regression. In most tutorials, the output layer uses "sigmoid" to bring the results back ...
3
votes
1answer
72 views

How to define machine learning to cover clustering, classification, and regression?

How to define machine learning to cover clustering, classification, and regression? What unites these problems?
0
votes
1answer
19 views

Handling imbalanced data with multiple targets

I have the model which has 3 outputs (it is a regression task, I have the angle of the steering wheel, brake and acceleration). I can divide my values to some smaller bins and in this way I can change ...
1
vote
0answers
33 views

How to restrain a model's outputs to a certain range without affecting its representative capacity?

CONTEXT I am trying to build a regression model that finds the optimal parameters for a given input. The data I am using are point clouds, with N points and ...
-1
votes
1answer
55 views

What model to use to get a robust model to predict next 3 days of sales even for products that have just sold once ever?

PROJECT: I am working on an e-commerce site where digital products can run out so there is need to reorder them 72h before they run out (reordering them sooner is not a problem but having notification ...
2
votes
1answer
42 views

Which NN would you choose to estimate a continuous function $f:\mathbb R^2 \rightarrow \mathbb R$?

Suppose we want to estimate a continuous function $f:\mathbb R^2 \rightarrow \mathbb R$ based on a sample using a NN (around 1000 examples). This function is not bounded. Which architecture would you ...
0
votes
0answers
22 views

How should I use deep learning to find the rotation of an object from its 2D image?

I have 6600 images and I am supposed to know the rotation of the object in each image. So, given an image, I want to regress to a single value. My attempt: I use Resnet-18 to extract a feature vector ...
1
vote
0answers
21 views

Neural network architecture with inputs and outputs being an unkown function each

I am trying to set up a neural network architecture that is able to learn the points of one function (blue curves) from the points of an other one (red curves). I think that it could be somehow ...
1
vote
0answers
28 views

How to find a parameter combination for a black box using AI?

I am working on a project where I encountered a component which takes 96 arguments (all integer values) and outputs 12 float values. I would like to find a useful combination of these 96 values to ...
1
vote
1answer
93 views

When are multiple hidden layers necessary?

I know that my question probably seems like being asked many times, but Ill try to be more speciffic: Limitations to my question: I am NOT asking about convolutional neural networks, so please, try ...
0
votes
1answer
51 views

What is the best algorithm to solve the regression problem of predicting the number of languages a Wikipedia article can be translated to?

I'm doing a student project where I construct a model predicting the number of languages that a given Wikipedia article is translated into (for example, the article TOYOTA is translated into 93 ...
0
votes
1answer
50 views

How to use validation dataset in my logistic regression model?

I am new to machine learning and recently I joined a course where I was given a logistic regression assignment in which I had to split 20% of the training dataset for the validation dataset and then ...
1
vote
0answers
13 views

How do you make a regression model from a binary labeled dataset?

Suppose I have a dataset with hand images. Hand completely opened is labeled as 0 and hand completely closed (fist) are labeled as 1. I also have a bunch of unlabeled images of hands which, if ...
0
votes
1answer
89 views

Wind speed forecasting using ARIMA model in Python3

Recently, I started working on time-series models and would mention that I am very new to python and ML as a whole. I tried to implement a time-series model on wind speed data. Being a newbie, I ...
0
votes
0answers
31 views

Noise reduction in output from regression network

I am building a regression network to predict gravity strength based on meteorological data. I'm getting a fairly good fit, but quite a bit of noise in my output. I can find a lot of info on how to ...
0
votes
2answers
64 views

What ML algorithm should I use that suits this data?

What if I have some data, let's say I'm trying to answer if education level and IQ affect earnings, and I want to analyze this data and put in a regression model to predict earnings based on the IQ ...
0
votes
0answers
34 views

Problem fitting data using mlpregressor

I'm training a sklearn.neural_network.mlpregressor by a large data of students performance (an excel file with 740 students and 27 columns that are their qualities) and I want to predict their grades. ...
0
votes
0answers
68 views

GPU-training on Google Cloud Platform slower than CPU-training

I recently trained Kaggles "Advanced Housing Prices"-Competition using Catboost. For training i used a compute-instance on Google Cloud Platform (GCP) (CPU: Xeon Quad-Core, RAM: 15GB, GPU: ...
0
votes
0answers
59 views

Finding the 'ultimate resolution' of an ANN

I want to use a neural network to predict the refractive index of a solution. My thinking is, instead of immediately training on many samples, I will first find the 'ultimate resolution' of the ...
0
votes
0answers
18 views

How to figure out loss weight for label-imbalanced regression problems?

In classification, suppose you have 1 image labeled as cancer and 99 labeled as not cancer, you can just divide the loss weight of "not cancer" by 99. Then you can train the model as this ...
2
votes
0answers
29 views

Is there a classification task with multiple attribute regression?

I'm trying to look for a task that predicts a discrete label first (classification), and then predicts the multiple continuous attributes of the predicted class. I found some papers about multi-output ...
2
votes
0answers
60 views

What work has been done with Poisson-style regression via neural networks with exponential activation function?

The first neural net I wrote was a classifier. After that, I learned that neural nets can be used for regression tasks, even quantile regression. It has become clear to me that the usual games with ...
2
votes
0answers
101 views

Which activation functions should I use for polynomial regression?

I am a beginner in machine learning and neural networks. I have only used neural networks for classification problems. My aim is to modify it so that it can work for polynomial regression as well. In ...
1
vote
0answers
30 views

3d representation of a regression with two independent variables one of them is categorical and another is continuous

I have hopefully a fundamental question of Do I understand things right. (Thank you in advance and sorry for my English which might be not so good) 1-Preambula 1: I know that if we have 2 independent ...
1
vote
0answers
52 views

Can SqueezeNet be used for regression?

I want a model that outputs the pixel coordinates of the tip of my forefinger, and whether it's touching something or not. Those would be 3 output neurons: 2 for the X-Y coordinates and 1, with a ...
1
vote
0answers
47 views

How MSE should be appliead with multi target deep network?

I'm having a problem understanding how the MSE should be used when working with a multidimensional target, e.g 3 dimensiones. (My outputs are continuois values, not categorical) Let us say I have a ...
2
votes
0answers
31 views

Can a neural network whose output is uniformly equal to zero learn its way out of it?

I am performing a regression task on sparse images. The images are a result of a physical process with meaningful parameters (actually, they are a superposition of cone-like shapes), and I am trying ...
0
votes
0answers
39 views

Non-linear regression with a neural network

I have to perform a regression on three curves as shown in the following plot. Here, accA (y-axis) is the dependent variable, and ...
1
vote
0answers
59 views

Which one is better: multivariate regression with basis expansion or neural networks?

Assume we are given a training dataset $D = \{ (x_i, y_i)\}_{i=1}^{N}$. My question is: which is better? A multivariate regression with basis expansion with independent matrix $X$ and dependent ...
2
votes
0answers
30 views

Boston Housing Current Best Model

I'm currently looking for a standard data-set to test some new regression models I've been developing on, and the "Boston Housing Prices" data-set seemed to stand out, since it's very standard. ...
2
votes
3answers
157 views

Using sigmoid in LSTM network for multi-step forecasting

I'm trying to develop a multistep forecasting model using LSTM Network. The model takes three times steps as input and predicting two time_steps. both input and output columns are normalised using ...
3
votes
1answer
50 views

What is the type of problem requiring to rate images on a scale?

I'm new to the topic, but I've used some off the shelf knowledge about computer vision for classifying images. For example, you can easily generate labels that can determine whether or not e.g. a ...
3
votes
2answers
97 views

Is a basic neural network architecture better with small datasets?

I'm currently trying to predict 1 output value with 52 input values. The problem is that I only have around 100 rows of data that I can use. Will I get more accurate results when I use a small ...
3
votes
2answers
105 views

Is there a possibility that there is no relationship between some inputs and outputs?

I'm doing machine learning projects. I took a look at many datasets I worked with, mostly there are already famous datasets that everyone uses. Let's say I decided to make my own dataset. Is there a ...
1
vote
1answer
73 views

How does the regression layer in the localization network of a spatial transformer work?

I am trying to understand the spatial transformer network mentioned in this paper https://papers.nips.cc/paper/5854-spatial-transformer-networks.pdf. I am clear about the last two stages of the ...
2
votes
1answer
43 views

Have GANs been used to solve regression problems?

I've noticed that in the last 2 years GANs have become really popular. I know that initially they have been proposed for image classification but I was curious if any of you are aware of any papers ...
1
vote
0answers
48 views

Predicting population density from satellite imagery

I have very high resolution images from LANDSAT 8 (5 out of 12 bands), which are of various administrative regions of a country. Each image is of variable dimensions, but generally of the order of [...
0
votes
1answer
94 views

Possible model to use to find pixel locations of objects

I want to make a model that outputs the centre pixel of objects appearing in an image. My current method involves using a CNN with L2 loss to output an image of equivalent size to the input where ...
2
votes
1answer
36 views

Predicting a day's data

I have a dataset containing timestamp and temperature. For each day, I have 1440 values viz., I have data for every minute of that day(60minutes * 24hrs = 1440). The Dataset looks like this: As an ...
2
votes
1answer
191 views

Finding the optimal combination of inputs which return maximal output

I am currently working on a problem and now got stuck to implement one of it's steps. This is a simple attempt to explain what I am currently facing, which is something that I am aiming to implement ...