maxiaoba / grape Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi!
I am trying to apply your approach on my dataset with a lot of missing values, stored as NaN values. I am trying to customize your code, but I think that some your suggestions could be useful to speed up my work.
I am currently with two dataframes df_X and df_Y as input parameters, df_X being a feature matrix with numerical and NaN values, df_Y being an array of numbers yi = 1, 2 or 3.
I already tried to use the "get_data" function used for the UCI dataset: the code works, but the training fails (loss is always nan) due to nan values contained in data. I think I should not add the "nan" edges during training, but the lack of comments in code makes it difficult to understand what to change to accomplish this purpose.
Thanks in advance for your help! :)
I‘d like to consult some questions about the code. When I want to change the edge dropout rate and the missing data ratio, which parameter should I change?The default of the '--dropout' or the '--valid' or the '--known'?
Hoping for your kindly reply.
Do I need to modify the initial hyperparameters for the concrete dataset?
Hello!
I'm having difficulties running the code, even though I have all the requirements installed. This is likely a version mismatch.
This is what I am seeing:
File "/usr/PycharmProjects/GRAPE/models/egsage.py", line 55, in forward
return self.propagate(edge_index, x=x, edge_attr=edge_attr, size=(num_nodes, num_nodes))
File "/usr/anaconda3/envs/grape/lib/python3.7/site-packages/torch_geometric/nn/conv/message_passing.py", line 235, in propagate
msg_kwargs = self.inspector.distribute('message', coll_dict)
File "/usr/anaconda3/envs/grape/lib/python3.7/site-packages/torch_geometric/nn/conv/utils/inspector.py", line 58, in distribute
raise TypeError(f'Required parameter {key} is empty.')
Which version of pytorch-geometric did you use?
Hello @maxiaoba I have a dataframe includes features and target variable as given in your case. Now I want to create a regressor using your code. what changes I need to make, as in your code you filling these missing values and then predicting the output right?
Secondly if my data has already some missing values in it then Can I use your code ? where are you saving the missing values or completely filled feature matrix?
As the paper writes, the edge values are either continuous or discrete. But how are the edge values transfered into edge embeddings? what does the edge embedding look like? I dont see this clearly in the paper.
Hoping for the authors kindly reply.
Do I need to modify the initial hyperparameters for the concrete dataset?
How to use result as it produced different shape from the original input shape
I have some data and want to use them to run GRAPE.
Is it possible to run GRAPE with data other than UCI and MC?
What is the data format that GRAPE requires as input?
Hi,
There is no mention of a batch size in the code or paper. Is it possible to do batch wise training for GRAPE?
Thanks,
VR
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.