Trang chủ‎ > ‎IT‎ > ‎Data Science - Python‎ > ‎

My experiment on credit card fraud detection with Python Notebook

1. Install Anaconda3 [find tutorial]
2. Install numpy, matplotlib, scikit-learn, scipy, r-essentials packages for anaconda
    Scikit-learn requires:
  • Python (>= 2.6 or >= 3.3),
  • NumPy (>= 1.6.1),
  • SciPy (>= 0.9).

If you already have a working installation of numpy and scipy, the easiest way to install scikit-learn is using pip

pip install -U scikit-learn

or conda:

conda install scikit-learn
conda install -c r r-essentials
to install required R packages from CRAN repositories:
install.packages('readr', repos='http://cran.us.r-project.org')
install tensorflow: conda install -c conda-forge tensorflow
install keras:    conda install -c conda-forge keras
install tflearn:    pip install tflearn
3. open anaconda command prompt
3. start notebook
    jupyter notebook --notebook-dir=c:/workspace/dataminingproj/CreditCardFraudDetection
4. On Chrome, new webpage will be automatically opened: http://localhost:8888/tree 
5. Open notebook file
6. Restart kernels and Run All cells
Comments