Comments (2)
Thanks for reporting. Can you share the code you wrote that triggered the issue? I'm not familiar with this part of the code, but the mr
attribute appears to be created by the pygsp.reduction.graph_multiresolution
function, which I would assume you'd call before pygsp.reduction.interpolate
.
from pygsp.
Yes, sure. And I'm sorry for the huge delay, I had to step back from this problem and just recently returned to it.
I have a graph signal stored in the 1D array s
. I decimated half of its samples and I'm trying to estimate the values in the now "unknown" vertices:
from pygsp.reduction import interpolate
from pygsp import graphs
import numpy as np
import copy
frac_zero = 0.5
s_ = copy.deepcopy(s)
idx_zero = np.random.permutation(len(s))[:int(frac_zero*len(s))]
s_[idx_zero] = 0
bool_is_zero = s_ == 0
# Interpolated signal
s_intep = interpolate(
G, f_subsampled=s[~bool_is_zero], keep_inds=np.where(~bool_is_zero)[0],
order=100, reg_eps=0.005)
from pygsp.
Related Issues (20)
- inverse method not working for any filter HOT 4
- Import issues after installation HOT 1
- from_networkx() and to_networkx() method are not working
- How to get edge weights as node signal of LineGraph
- Filtering assumes Hermitian/symmetric Laplacian
- Inability of handling large matrix due to dense matrix operation in Graph.compute_fourier_basis HOT 2
- Graph processing
- The Principle of cheby_rect algorithm ?
- Friendly fork of PyGSP
- Inquiry About AssertionError in compute_fourier_basis Function
- Install latest version with latest functionality HOT 4
- How to keep the signal values of a heat diffusion higher HOT 1
- feat: Changing the signal colormap in plotting function
- Question on importing from segmented numpy array or point cloud cloud HOT 10
- maybe a bug about extract_components(self) HOT 1
- Memory usage reduction HOT 4
- GraphWave? HOT 13
- Heat filter not working HOT 9
- Add support for the magnetic laplacian HOT 6
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 pygsp.