Skip to content

Bitcoin Blockchain Clustering Analysis for Ransomware Detection

License

Notifications You must be signed in to change notification settings

thiagorcdl/bitcoin_heist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preview

Bitcoin Heist

Released under the MIT license. This Repository uses a generated Social Preview from @pqt/social-preview

Bitcoin Blockchain Clustering Analysis for Ransomware Detection

This code was developed as a study tool for the Cluster Analysis, Association Mining, and Model Evaluation course provided by the University of California Irvine on Coursera. It utilizes the BitcoinHeistRansomwareAddress data set, available at the UCI Machine Learning Repository.

Usage

  1. Clone repository
  2. Fetch dataset (data.zip)
  3. Extract inside {PROJECT_ROOT}/assets/datasetso you have the following:
    • {PROJECT_ROOT}/assets/dataset/BitcoinHeistData.csv
  4. Install requirements:
    • pip install -r requirements.txt
  5. Run bitcoin_heist module for the regular (29 clusters) or for binary classification (2 clusters):
    • python -m bitcoin_heist
    • python -m bitcoin_heist binary
  6. Check results under /assets/results/

Acknowledgements

Special thanks to Cuneyt Gurcan Akcora (University of Manitoba), Yulia Gel (University of Texas at Dallas), and Murat kantarcioglu (University of Texas at Dallas) for providing the data set used here.

I'd also like to thank University of California Irvine for hosting the UCI Machine Learning Repository, where the data set can be downloaded.