Interpolation is a set of methods to construct intermediate points between known points.
Questions tagged [interpolation]
27 questions
4
votes
2 answers
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 are denoted by different colors.
As you can see,…
Ofri Telem
- 51
- 2
3
votes
1 answer
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 function that accepts an angle and distance to an object and output a new angle and power…
sergiu reznicencu
- 131
- 2
3
votes
1 answer
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 need weights for this. I am thinking the most…
Mike Wise
- 233
- 2
- 11
2
votes
1 answer
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 used different interpolations methods in order to…
Reut
- 349
- 2
- 13
2
votes
1 answer
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, but is expensive to run. We have a dataset of past…
Jean-François Corbett
- 123
- 5
1
vote
1 answer
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 for the specific date.
which would be a faster…
LIONEL JOSEPH
- 11
- 2
1
vote
0 answers
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 that. I've develop an ANN which requires hourly…
Jean
- 111
- 3
1
vote
0 answers
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.interpolate.splrep and try to understand what the…
mon
- 565
- 2
- 9
- 17
1
vote
2 answers
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-grams
We can combine knowledge from each of our…
thepen
- 111
- 2
1
vote
1 answer
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 filters...). The thing is: does it make sense,…
ignatius
- 1,638
- 7
- 21
1
vote
0 answers
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 incomplete in the following way: no data exists for…
requiemman
- 11
- 2
1
vote
2 answers
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?
time1 = '29-07-2022 22:15:00'
lat1 = 37.55
lon1 = -122.23
time2 = '29-07-2022 22:30:00'
lat2 =…
veer7
- 111
- 3
1
vote
1 answer
how many rows does pandas' interpolate consider?
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 work at 1 million rows?)
Or another way (please…
benjamin_z
- 11
- 1
0
votes
0 answers
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 quartic interpolation between 0 (dead) and 1 (full…
Tirafesi
- 101
0
votes
0 answers
Regression of discrete continuous averaged data
If I have data that is continuous and discrete that is the average of a timestep. For example average power usage over the past 1 hour that is continually sampled every hour. How could I turn such data into data with a 1 minute timestep?
BRobs
- 9
- 1