Questions tagged [interpolation]

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

29 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…
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
  • 253
  • 2
  • 11
3
votes
1 answer

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 factors (cloud cover, precipitation, etc.)…
John
  • 131
  • 1
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
  • 299
  • 3
  • 15
2
votes
1 answer

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
  • 829
  • 2
  • 11
  • 20
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…
2
votes
1 answer

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 this time series to forecast future hourly…
Stars
  • 23
  • 4
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…
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
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,696
  • 9
  • 22
1
vote
1 answer

Modelling a 3-variable system, with separate relations between two pairs

I am having some trouble approaching some data modelling of the following structured dataset I'm trying to analyse, and then creating a surface from it. So I have 3 variables: say x, y, and z (variable names changed for simplicity), where y is…
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
  • 146
  • 4
1
2