Questions tagged [extrapolation]

extrapolation is a method of constructing new data points outside the range of a discrete set of known data points

Extrapolation is a method of constructing new data points outside the range of a discrete set of known data points.

197 questions
3
votes
1 answer

Predict future values of time-based dataset in PHP

For each year the given dataset contains the average price for the item sold, take this for example: ╔══════╦═══════════════╗ ║ Year ║ Cost of flerg ║ ╠══════╬═══════════════╣ ║ 2007 ║ 13 ║ ║ 2008 ║ 7 ║ ║ 2009 ║ 8…
Jelle De Loecker
  • 20,999
  • 27
  • 100
  • 142
3
votes
2 answers

Extrapolation of x,y coordinates from one screen size and resolution to other screen size and resolution

Quickly what I have !! I have a defined screen size (5.5 inches) and resolution (500 px width and 350 px height) and I have co-ordinates of certain location (x, y) on this screen. What I will have !! I will have the specifications of new screen size…
techDiscussion
  • 89
  • 3
  • 12
3
votes
1 answer

extrapolation using Gaussian processes regression or Kriging

Is there any way to estimate the extrapolation using kriging or Gaussian processes regression ? Gaussian processes work very well for interpolation of scattered data; however, I need to extrapolate a time series of variable in time. hoe can I…
shahrouzalimo
  • 41
  • 1
  • 2
3
votes
2 answers

Imputation for bounding NA observations using a linear approximation

I would like to impute values for NA observations at the beginning of the array, using a linear approximation of the following two non-NA observations to extrapolate the missing value. Then do the same for the NA observations at the end of the…
goclem
  • 904
  • 1
  • 10
  • 21
3
votes
4 answers

Extrapolate with LinearNDInterpolator

I've got a 3D dataset that I want to interpolate AND extrapolate linearly. The interpolation can be done easily with scipy.interpolate.LinearNDInterpolator. The module can only fill in a constant/nan for values outside the parameter range, but I…
oschoudhury
  • 1,086
  • 12
  • 17
3
votes
2 answers

extrapolate in R for a time-series data

I have a time-series data for the last 20 years. The variable has been measured every year so I have 20 values. I have a tab-delimited file with first column representing year and second column the value. Here is what it looks like : 1991 …
user1985425
  • 87
  • 1
  • 2
  • 4
2
votes
0 answers

Extrapolation on ChartJS

i would like to extrapolate line chart (which have missing data at the beginning or at the end of the data series) using frontend JS libraries (like ChartJS) It’s easy to do for inner data points (like "SpanGaps" properties). But outer data points……
guillim
  • 1,517
  • 1
  • 12
  • 16
2
votes
2 answers

Extrapolate NaN values in a numpy array

I have two values and know their index in an array full of nans. I want to interpolate / extrapolate all the nan's import numpy as np y = np.array([np.nan, np.nan, 0.75, np.nan, np.nan, np.nan, np.nan, np.nan, 2.25]) With the help of this answer I…
HJA24
  • 410
  • 2
  • 11
  • 33
2
votes
1 answer

Row wise parallel Processing in R?

I am working on large data sets, for which i have written a code to perform row by row operation on a data frame, which is sequential. The process is slow. I am trying to perform the operation using parallel processing to make it fast. Here is…
2
votes
0 answers

Extrapolate & retropolate in pandas dataframe

I have data that shows the price of products once every three years. The pandas dataframe looks something like this: product_group 2012 2013 2014 2015 2016 2017 2018 2019 product 0 x NaN NaN 12 NaN NaN 14 NaN NaN shoe 1 …
MarkCun
  • 23
  • 3
2
votes
1 answer

Extrapolate (and Interpolate) Pandas DataFrame

I have a pandas dataframe as below (Year index is int64, Total_Population_Final is float.) I want to create a linear interpolation (and extrapolation), but using pd.interpolate() I only seem to be able to create an interpolation between the two…
OJT
  • 887
  • 1
  • 10
  • 26
2
votes
0 answers

Contour plot of an extrapolated anonymous function in Julia

I created a 64x64 random 2D array in Julia, and then interpolated it using Interpolations.jl: using Interpolations using Plots gr() x = range(-10., length=64, stop=10.) y = range(-10., length=64, stop=10.) v_unscaled = interpolate(potential,…
Sato
  • 1,013
  • 1
  • 12
  • 27
2
votes
0 answers

Interpolating/Extrapolating values in 2D array to lines

I am trying to group things together, using a self organising map (SOM), and U-matrix that look like the following things: Fig 1: Self organising map (SOM) of light curves Fig 2: U-matrix for the above SOM Fig 3: local maxima for above…
2
votes
1 answer

Extrapolating data with interp not producing accurate image

I have a graph where the extrapolation does not match the initial interpolation. I would like the heatmap to fill the entire image. First, the interpolation code: library(akima) library(reshape2) xmin <- signif(min(CBLo2$MD1)) xmax <-…
Grubbmeister
  • 857
  • 8
  • 25
2
votes
2 answers

How to extrapolate a function based on x,y values?

Ok so I started with Python a few days ago. I mainly use it for DataScience because I am an undergraduate chemistry student. Well, now I got a small problem on my hands, as I have to extrapolate a function. I know how to make simple diagrams and…
TheChemist
  • 153
  • 1
  • 8
1 2
3
13 14