Class FraudDetectionExample


  • public class FraudDetectionExample
    extends java.lang.Object
    Example of using classification algorithms for fraud detection problem.

    Description of models can be found in: https://en.wikipedia.org/wiki/Logistic_regression and https://en.wikipedia.org/wiki/Decision_tree_learning . Original dataset can be downloaded from: https://www.kaggle.com/mlg-ulb/creditcardfraud/ . Copy of dataset are stored in: modules/ml/src/main/resources/datasets/fraud_detection.csv . Score for clusterizer estimation: accuracy, recall, precision, f1-score . Description of entropy can be found in: https://en.wikipedia.org/wiki/Evaluation_of_binary_classifiers .

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Run example.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FraudDetectionExample

        public FraudDetectionExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Run example.
        Throws:
        java.io.IOException