Share Your Experience: Take the 2024 Developer Survey

# Questions tagged [interpolation]

Interpolation is a set of methods to construct intermediate points between known points.

29 questions
Filter by
Sorted by
Tagged with
1 vote
19 views

### Is there a method to impute missing temperature values in time series that considers external factors?

I have 10 day temperature forecast data that is hourly initially and then every 3 hours. I would like to predict the hourly values for the full 10 days. Linear interpolation fails as sunrise and other ...
• 111
12 views

### i am trying to get the the variance of derivative of order 2. i only have the data of an EEG signal sampled at 128 Hz. is the below code correct

I basically want to implement equation 7 present in the added image ...
150 views

### Can Machine Learning Algorithms Process Contextual Features for Regression?

Take Figure 1 showing point interpolation, where point L0 is being interpolated using points L2 and L1 and the distances L11, L12, L21, and L22. Whilst the graph shows a linear interpolation example, ...
65 views

### Should I remove or interpolate missing values?

I have a dataset containing a very long time series of hourly traffic congestion in a certain city, during a period of ~22 years (number of data points: Roughly 24 X 365 X 22 = 192720). I want to use ...
• 23
16 views

### Working of 'Interpolation' to impute missing values & the importance of the order of data points for the process

Definition of interpolation - Interpolation predicts values at a point by studying its neighbouring points (within the same column), as opposed to data modeling where all the columns are taken into ...
• 307
24 views

### Interpolating missing data given county and state totals

Problem: I have population data for states and their constituent counties over several years. Each row is uniquely identified by a state/county and a year. There are four population columns: ...
50 views

### Understanding the working of 'Interpolation'

'Interpolation' is a technique that is used to predict a null/empty value by studying its neighbouring points. Interpolation doesn't take into consideration the entire dataset when predicting the ...
• 307
28 views

### Interpolation techniques predicting negative values in a column with positive values

I tried different interpolation techniques & for some numeric columns with only positive values the interpolation techniques: Polynomial, Cubic Spline & Radial Basis are predicting negative ...
• 307
81 views

### Mean Average Precision with 11 points interpolation method Python libs

I want to calculate mAP with 11 points interpolation method for object detection, as described here: https://learnopencv.com/mean-average-precision-map-object-detection-model-evaluation-metric/ What ...
• 61
1 vote
25 views

### What approaches can I take to reconstruct missing climate data?

I have climate datasets consisting of tables where each row has four elements: latitude, longitude, rainfall, and timestamp. This dataset covers the entirety of the planet. However this dataset is ...
50 views

### How to mathematically calculate individual pixel values after each image rotation?

If I have an image that is being rotated using OpenCV in python, about its centre, How do I mathematically calculate the pixel values after each rotation? A python code for this operation would be ...
1 vote
466 views

### Interpolate a point in time for two given geolocations and their times in python

Let's say I have two geolocations at given times. How can I interpolate these two geolocation and find any location for a given time time3 in python? ...
• 146
601 views

### what exactly is the "order"-parameter in pandas interpolation?

what exactly is the "order"-parameter in pandas interpolation? it is mentioned in the doc: ...
1 vote
655 views

### how many rows does pandas' interpolate consider? [closed]

How does pandas' DataFrame.interpolate() work in relation to the amount of rows it considers: is it just the row before the NaNs and the row right after? Or is it the whole DataFrame (how does that ...
381 views

### How to impute the missing values in time series for long periods

I have electrical consumption data between 2016-2019. The data was recorded every 30 minutes for 4 years. There is no data between 13/03/2019 - 31/03/209. I started with ...
20 views

### How often may algorithms improve on the quality of input data? Or i.e. extrapolate in information?

How often may algorithms improve on the quality of input data? Or i.e. extrapolate in information? I've sometimes thought that it might seem like it's possible to "add data points" by some ...
• 416
545 views

### Find the best interpolation method for missing observations

I have a database which has measurements of objects every day every hour. However, some data is missing and I don't have measurements for all the hours. in order to get over this challenge I have ...
• 349
77 views

### Chossing between regression models

This is the first time I attempt to use machine learning with Keras. In contrast to others I need to use one of the disadvantage of such algorithms. I need a ...
1 vote
303 views

### empty fields to be filled with previous values

In the above sample data, I have empty fields and now the task is to fill the fields with previous values. my columns are dates and the values are a number of items present for that particular article ...
1 vote
205 views

### Is it possible retrive hourly data from daily weather data?

I'm a beginner, so sorry if my question could be basic. Reading on internet I've found example written in python that makes the reverse of my questions (covert from daily to monthly). My problem is ...
• 111
30 views

### What is and how to calculate quartic interpolation?

I was reading the gist on the reward function used in OpenAI Five, but I didn't understand the way they calculate health's reward. This is what they state: Hero health is scored according to a ...
• 101
1 vote
5k views

### How to understand the return values of scipy.interpolate.splrep

Background Continuation of Spline interpolation - why cube with 2nd derivative as following Cubic Spline Interpolation in youtube. The example in the youtube is below. Implemented using scipy....
• 721
53 views

### Ordering scrambled 1D data sets by continuity

This is a cute little clustering problem that was probably solved a million times over, but I couldn't find a good reference for it. I have 20 1D datasets with 400 entries each. In the picture they ...
813 views

### Sparse Data Interpolation

I have a price data set where on some days there are up to five data points and some days none at all. For example: ...
1 vote
2k views

### Interpolation in nlp - definition of O term

Reading definition of interpolation below how are the O terms defined? Is this a value that is set manually? Example P( Sam | I am ) = count( Sam I am ) / count(I am) = 1 / 2 Interpolation using N-...
• 111
1 vote
295 views

### Does it make sense to interpolate image just before a CNN?

I'm training a CNN with images which have lots of horizontal black lines (due to the nature of the sensor). I'm thinking in removing this artifacts by some kind of preprocessing (interpolation, median ...
• 1,668
204 views

### Neural net layer that preserves spatial information

I'm attempting to use a neural network as a kind of interpolator for a high-dimensional function. We're doing this to circumvent the need for a physical model that calculates this function exactly, ...
601 views

### How to mask or crop IDW results

My question is: how can I mask or crop the results, using R, of IDW interpolation to only the area containing the original set of data points? In the example below, 20 random points are used to ...
• 21