Questions tagged [non-linear-regression]

In statistics, nonlinear regression is a form of regression analysis in which observations are modeled by a function which is a nonlinear combination of the model parameters and depends on one or more independent variables.

732 questions
0
votes
0 answers

Python - Simple Scipy 'curve_fit' non linear regression with a basic log function

I am relatively new to coding and have recently been asked by my research professor to create a log regression script to fit functions to experimental data. The input data is always small values (<10 for x,y) and contains no more than 5 data points…
JJ2244
  • 1
0
votes
2 answers

How to test a trained Neural Network in Tensorflow with a new data set

I have trained a neural network with 100% of my training data set. Now I want to test the network with a new data set not included in the original data set. My code is given here... from __future__ import absolute_import from __future__ import…
0
votes
2 answers

How do I fix error in Tensorflow Neural Network Regression

I don't understand why my code wouldn't run. I started with the TensorFlow tutorial to classify the images in the mnist data set using a single layer feedforward neural net. Then modified the code to create a multilayer perceptron that maps out 37…
Bright
  • 23
  • 1
  • 5
0
votes
2 answers

Gradient Descent isn't working

I am learning tensorflow from a Stanford course named, "TensorFlow for Deep Learning Research". I have taken the code from the following address. While exploring tensorflow I changed Y_predicted = X * w + b as Y_predicted = ​ X ​* ​ X ​* ​ w ​+ ​ X…
0
votes
1 answer

how to check time series data is linear or non linear

I have data of idle duration of a system as follows: Date | Idle Time Start | Idle Time End | Idle Duration | 2017/07/11 | 10:36:21 | 10:37:28 | 67 | 2017/07/11 | 10:45:44 | 10:46:58 | 74 | ....... I want to check whether the idle duration is…
M. Paul
  • 361
  • 5
  • 18
0
votes
1 answer

Better way call a non-linear regression model in curve() drawings in R?

I have been learning how to plot graphs and curves in R, and have used the plot() and curve() functions with a set of data to plot both the data and the curve. However, I don't believe I am using the most efficient methods. What I have done is set…
DeCodened
  • 59
  • 2
  • 8
0
votes
1 answer

Polynomial regression with multiple independent variables in R

I have a data set having 5 independent variables and 1 dependent variable. I want to know that can I apply polynomial Regression model to it. if yes then please guide me how to apply polynomial regression model to multiple independent variable in R…
0
votes
0 answers

Polynomial regression with one non-linear and other linear independent variables

In a hypothetical situation where I have 3 independent variables and one of those variables has a non-linear relationship(exponential) with the dependent variable and the other two independent variables are linearly related to the dependent…
0
votes
1 answer

How do I replicate TensorFlow loss value, outside of Tensorflow, using the final prediction?

I am trying to learn Tensorflow. I have put together a toy demo of a simple model. I noticed that I cannot arrive at the same loss value as Tensorflow, if I take the final prediction and compare it to the actual values. The toy model is a time…
Chechy Levas
  • 2,206
  • 1
  • 13
  • 28
0
votes
0 answers

MATLAB: Asymmetric Double Sigmoid Fit Function

I am trying to fit some data to an asymmetric double sigmoidal (ADS) function in Matlab. I got the function from a paper on deconvolution of kinetic data and I wanted to try it out myself for future use (In case you are interested:…
Tarkus
  • 21
  • 2
0
votes
0 answers

Time Series Analysis - Model Choosing

I am new to time series analysis and wanted to know what the best r package is to solve my dilema. I have a data frame with the following columns: Date Spend Result 2017-06-22 2 17 2017-06-21 5 19 2017-06-20 …
nak5120
  • 4,089
  • 4
  • 35
  • 94
0
votes
2 answers

Predicting data from a power curve manually

I have a series of data I have fit a power curve to, and I use the predict function in R to allow me predict y values based on additional x values. set.seed(1485) len <- 24 x <- runif(len) y <- x^3 + rnorm(len, 0, 0.06) ds <- data.frame(x = x, y =…
Vint
  • 413
  • 6
  • 17
0
votes
1 answer

nlinfit in MatLab receives an unexpected result

The quiz I met first gave me an Logistic model: And ask me to linearize it, then evaluate the value of a and k according to the data it gave( in this subject L is took as 3000). I finished that, but got into trouble in the second subject which…
Amarth Gûl
  • 1,040
  • 2
  • 14
  • 33
0
votes
0 answers

R non-linear model

I have the above plot of y vs x1. in this analysis, I have a few more predictors namely x2, x3 and x4. I'm more concerned with y vs x1 but keeping in mind as well x2, x3 and x4 all affect y. I'm relatively new to R and i'm not sure how to fit it to…
user7729135
  • 399
  • 1
  • 3
  • 11
0
votes
0 answers

How to "punish" or weight certain (non-linear) regression errors?

I want to predict the approx. number of open parking lots for a car park for a given time slot (hour of day / day of week etc.). Using GradientBoostingRegressor, results seem quite ok so far. However I'm wondering how I could weight/punish certain…
Florian
  • 271
  • 3
  • 14