packing-box / docker-packing-box

Docker image gathering packers and tools for making datasets of packed executables and training machine learning models for packing detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add dimensionality reduction parameters to exported image name.

smarbal opened this issue · comments

Improvement suggestion

To make comparison between visualizations easier, it would be nice to have the PCA/t-SNE parameters in the name of the exported file.
For now, visualizations with different parameters will have the same file name and a new visualization will overwrite the previous visualization.

commented

Hi @smarbal
Good point. Can you provide an example of 2 such filenames ?

For a file currently named fs-upx_pe32-pe64_1909_kmeans_f15.png, where :

  • PCA has 20 components
  • t-SNE has 2 components

It could be interesting to have it named : fs-upx_pe32-pe64_1909_kmeans_f15_p20_t2.png .

Having the perplexity parameter of t-SNE could also be interesting but could make the naming a bit confusing.
Maybe having fs-upx_pe32-pe64_1909_kmeans_f15_p20_t2-30.png would be interesting, where 30 is the perplexity.

commented

@smarbal Please test.

Works as intended. Thank you.