Coder Social home page Coder Social logo

cyberfraud1's Introduction

Cyber Fraud assignment 1 ๐Ÿ’ฐ

Code for Group 66 python implementation of Cyber Data Analytics assigment 1 CS4035. ๐Ÿ”’

Team members:

Project structure ๐Ÿ“‚

The structure of the project is as follows:

  • main.py - The main entry point in the project. This uses all the necessary components to run the pre-procesing, feature extraction, classificantion and optimization.
  • card_tracker.py - Contains the class used to store the context associated with each card and calculates the additional features.
  • Exploratory_Analysis.ipynb - The notebook used for analisys. A saved version of the output can be found under Exploratory_Analysis.html.
  • config.txt - Used for configuration variables. For the moment only the path to the data set is used.
  • cross_valid.py - Used for the cross-validation algorithm.
  • data_preproc.py - Used for preprocessing of data(droping + conversions).
  • feats_utils.py - Utilities. Mainly used for functions to run apply in pandas.
  • hyperparam_tunning.py - The algorithm used perform random grid search.
  • logger.py - Logger class.
  • plot_utils.py - Utilities used to plot the results.
  • data/ - Folder containing the dataset data_for_student_case.csv.
  • logs/ - Folder where the logs are stored.
  • models/ - Folder where the parameters for the classifiers are stored.
  • output/ - Folder where the images output.

For a more detailed look check the code comments.

Installation ๐Ÿ’ป

The scripts can be run in Anaconda Windows/Linux environment.

You need to create an Anaconda ๐Ÿ python 3.6 environment named cyber1. Inside that environment some addition packages needs to be installed. Run the following commands inside Anaconda Prompt โŒจ:

(base) conda create -n cyber1 python=3.6 anaconda
(base) conda activate cyber1
(cyber1) conda install -c conda-forge imbalanced-learn
(cyber1) conda install -c anaconda py-xgboost

cyberfraud1's People

Contributors

simionandrei avatar mihai1voicescu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.