Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [interpolation]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
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 ...
John's user avatar
  • 111
0 votes
1 answer
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 ...
Shreedatta Nasik's user avatar
-1 votes
1 answer
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, ...
Emad Ezzeldin's user avatar
2 votes
1 answer
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 ...
Stars's user avatar
  • 23
0 votes
0 answers
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 ...
Apoorva's user avatar
  • 307
0 votes
1 answer
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: ...
myusername's user avatar
0 votes
0 answers
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 ...
Apoorva's user avatar
  • 307
0 votes
0 answers
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 ...
Apoorva's user avatar
  • 307
0 votes
0 answers
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 ...
Ars ML's user avatar
  • 61
1 vote
0 answers
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 ...
requiemman's user avatar
0 votes
0 answers
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 ...
giantjenga's user avatar
1 vote
2 answers
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? ...
veer7's user avatar
  • 146
0 votes
1 answer
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: ...
benjamin_z's user avatar
1 vote
1 answer
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 ...
benjamin_z's user avatar
0 votes
1 answer
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 ...
Hamzah Al-Qadasi's user avatar
0 votes
1 answer
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 ...
mavavilj's user avatar
  • 416
2 votes
1 answer
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 ...
Reut's user avatar
  • 349
3 votes
1 answer
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 ...
sergiu reznicencu's user avatar
1 vote
1 answer
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 ...
LIONEL JOSEPH's user avatar
1 vote
0 answers
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 ...
Jean's user avatar
  • 111
0 votes
0 answers
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 ...
Tirafesi's user avatar
  • 101
1 vote
0 answers
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....
mon's user avatar
  • 721
4 votes
2 answers
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 ...
Ofri Telem's user avatar
0 votes
1 answer
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: ...
AlexAbrahams's user avatar
1 vote
2 answers
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-...
thepen's user avatar
  • 111
1 vote
1 answer
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 ...
ignatius's user avatar
  • 1,668
2 votes
1 answer
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, ...
Jean-François Corbett's user avatar
0 votes
2 answers
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 ...
Víctor's user avatar
  • 21
3 votes
1 answer
39 views

Geometric weighting of temperature

I have a number of weather stations, and I know their positions. I would like to interpolate measurements from them for various other positions as a weighted average of these stations, but of course I ...
Mike Wise's user avatar
  • 233