Skip to content
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

There is no codes about the cluster prediction about the discrete type network structure parameter in the encoder_rev_eng.py file #16

Closed
zhangtzq opened this issue Dec 5, 2022 · 5 comments

Comments

@zhangtzq
Copy link

zhangtzq commented Dec 5, 2022

I'm sorry to have bothered you.
But I didn't find the code for discrete type network structure parameter clustering prediction in the encoder_rev_eng.py file of the original models folder or in the latest Reverse Engineering 2.0 code compressed file. However, your article states the clustering prediction about discrete type network structure parameters, which is important to the result. Looking forward to your reply.

@zhangtzq zhangtzq closed this as completed Dec 5, 2022
@vishal3477
Copy link
Owner

I have updated the files with the networks. Please have a look. Thanks!!

@zhangtzq
Copy link
Author

zhangtzq commented Dec 7, 2022 via email

@vishal3477
Copy link
Owner

Hi, thank you for your comment. So for the p_131_dim.npy, each column has value for one discrete variable (6 network arch, 10 loss func), and there are 131 rows for all GMs.

For the data, the drive link has one folder with 116 GMs. You need to separate out the test GMs from it. You can see supplementary for which GMs to separate. Finally, you need to update the list N by including only the GM which is in training. This is basically the folder number in alphabetical order. I'm really sorry for the inconvenience caused. I'll automate this in future.

@vishal3477 vishal3477 reopened this Dec 7, 2022
@zhangtzq
Copy link
Author

zhangtzq commented Dec 7, 2022 via email

@vishal3477
Copy link
Owner

I'm really sorry for putting you through all this inconvenience. We are preparing a third release of the code with more GMs (131, currently 116). However, that is still not ready and it got mixed up with 2.0 release. So basically, the code is updated and is released for one of the sets i.e. set 2 (see supplementary. ). The number of clusters has been updated from 3 to 11. Previously, the number of clusters was wrong due to the mix-up. The cluster ground truth and p value would rely on clusters formed, which would change if we change the training GMs. We have released these files for set 2 for your training/testing purposes. We evaluate on 4 sets to check the variability. We will release files for all four sets in few days. For now, please go ahead and download the updated 2.0 release having files for set 2. The net.npy and loss.npy should have shape (116,15) and (116,10). The rest of the files will have 104 rows. Please accept my sincerest apologies for the inconvenience caused. Let me know if you face anymore difficulties.

@zhangtzq zhangtzq closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants