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
GNU General Public License v3.0
49 stars 10 forks source link

Clustering metrics #37

Closed smarbal closed 1 year ago

smarbal commented 1 year ago

Note : This is a new pull request since the original one was based on the main branch and got closed when that branch was synced with the original repository.

I've added the clustering metrics. A few of them need the original data, so I've added the parameter X for it. The _metrics method from model.py would probably need some adaptation if we keep that parameter.

The other ones need a y_true parameter but that would need manual labeling of the instances so I have not added them to the returned array since this not yet supported.