Comments (12)
As far as I can tell, the current implementation of theiler windows does not work here.
The theiler neighborhoods require an index n for the query, which does not exist in general.
Instead we would need a method that makes sure the nearest neighbors are not temporal neighbors of eachother....
from timeseriesprediction.jl.
The theiler neighborhoods require an index n for the query, which does not exist in general.
Damn, you are right.
from timeseriesprediction.jl.
Well, on the other hand, you can still find the closest neighbor and then not allow temporal neighbors of the closest neighbor. See here: JuliaDynamics/DynamicalSystemsBase.jl#45
from timeseriesprediction.jl.
What do you think of this?
could something like this work?
function neighborhood_and_distances(point::AbstractVector,R::AbstractDataset, tree,
ntype::FixedMassNeighborhood; w::Int = 1)
ind = Int[]
function f(i)
for j ∈ ind
if abs(i-j) < w
return true
end
end
push!(ind,i)
return false
end
idxs,dists = knn(tree, point, ntype.K, false, f)
return idxs,dists
end
from timeseriesprediction.jl.
Nice approach. Seems like it would work, but may have performance issues.
If it is bad, you can increase the performance by making f
a Functor instead, with the only field a Vector{Int}
, I guess...
from timeseriesprediction.jl.
@JonasIsensee I think this is a nice approach. We should have it in DynamicalSystemsBase
neighborhood
as well.
from timeseriesprediction.jl.
@JonasIsensee the theiler window is currently not an argument of localmodel_tsp
. Make it a keyword argument that defaults to mean(τ)
for methods that have τ and to mean(R.delay)
for methods that given an abstract dataset.
from timeseriesprediction.jl.
Then we can close this issue.
from timeseriesprediction.jl.
Which implementation of it do you want though?
from timeseriesprediction.jl.
The one we have already. That excludes temporal neighbors of the query point only.
The only thing that is left is to only have the argument to tsp
a swell.
from timeseriesprediction.jl.
The theiler neighborhoods require an index n for the query, which does not exist in general.
Damn, you are right.
from timeseriesprediction.jl.
my brain is literally out of order.
from timeseriesprediction.jl.
Related Issues (20)
- Move documentation of TSPred to this repo.
- Issue with light cone embedding
- Implement a CompositeBoundary HOT 1
- Prediction of flow dynamics using point processes (new prediction scheme)
- Documentation of SymmetricSpatialEmbedding
- ArgumentError: principal variance cannot exceed total variance. HOT 9
- Documentation: light_cone_embedding and r0 HOT 2
- Nearest Trajectory Strategy for Time Series Prediction HOT 2
- Barkley in tests/system_defs.jl is very slow
- Consistency of source code for crossprediction
- versions, documentation, paper
- Use multiple input timeseries as training HOT 1
- Remove duplication of inner to reduce source
- Better Boundary Conditions
- LoadError: UndefVarError: AbstractEmbedding not defined HOT 4
- Is this repo supported? HOT 2
- error to run timeseriesprediction.ipynb HOT 1
- Compile fail : AbstractDataset not defined HOT 2
- TagBot trigger issue HOT 10
- Compatibility with DynamicalSystems v3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timeseriesprediction.jl.