-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope out/write pseudocode for network-based sampling #9
Comments
So as a pass in from Python side: Inputs
C++ psuedo algorithm
Summary of Proposed WorkI think to make things backwards compatiable for the sake of comparing, for now, we can assume we're trying to add a new List of files in Python:
Errors and Python backend computations:
shape_arr = []
for graph in sampling_graphs:
shape_arr.append(graph.shape[0]) These shapes should be error checked during
List of files in C++:
inline void setParameter(const std::string& parameterName, const std::string& parameterValue){
fpSingleton::getSingleton().setParameter(parameterName, parameterValue);
}
inline void setParameter(const std::string& parameterName, const double parameterValue){
fpSingleton::getSingleton().setParameter(parameterName, parameterValue);
}
inline void setParameter(const std::string& parameterName, const int parameterValue){
fpSingleton::getSingleton().setParameter(parameterName, parameterValue);
} Once we have the "parameters" successfully set in the
Test ScenarioSpecify a two-node connected, or disconnected graph.
Application Scenarios
All scenarios that "add" your prior belief about how the data might be correlated |
More info on the topic of passing numpy arrays from Python -> C++ via pybind11: |
Re: Last point of 1. Are we expecting a graph for each time step? I.e. will shape_arr = []
for graph in sampling_graphs:
shape_arr.append(graph.shape[0]) If so, then the above snippet makes sense. Otherwise, need a little more clarification |
Yep a list/array of matrices. So we should expect a graph for each time step, and possibly... we can allow for the "default" SRerf functionality by passing in
|
SUMMARY
Here, we scope out the code to implement any prior biases in multi-variate data. Take X = (X_1, X_2, X_3, ...), where
each X_i has dimensionality, d_i. Then we might have apriori notions of how "correlated" samples are in each axis.
For example:
TODO
Look into SPORF source code:
The text was updated successfully, but these errors were encountered: