Giter Club home page Giter Club logo

amazon-sagemaker-fraud-detection's Introduction

Sagemaker Fraud Detection Workshop

Lab description

This lab demonstrates three different ML algorithms used for identifying fraudelent transactions on the same dataset:

  • SageMaker XGBoost
  • AutoEncoders
  • Neural Networks

Steps for launching the workshop environment using EVENT ENGINE

Note: these steps were tested on Chrome browser using Mac OS

open a browser and navigate to https://dashboard.eventengine.run/login

Enter a 12-character "hash" provided to you by workshop organizer.

Click on "Accpet Terms & Login"

Navigate to Sagemaker Service

Click on "AWS Console"

Navigate to Sagemaker Service

Please, log off from any other AWS accounts you are currently logged into

Click on "Open AWS Console"

Navigate to Sagemaker Service

You should see a screen like this.

We now need select the correct Identity Role for the workshop

Type "IAM" into the search bar and click on IAM

(Identity and Access Management). Navigate to Sagemaker Service

Click on "Roles"

Navigate to Sagemaker Service

Scroll down past "Create Role" and Click on "TeamRole"

Navigate to Sagemaker Service

Copy "Role ARN" by selecting the copy icon on the right

You may want to temporariliy paste this role ARN into a notepad

Once you copied TeamRole ARN, click on "Services" in the upper left corner

Navigate to Sagemaker Service

Enter "SageMaker" in the search bar and click on it

Navigate to Sagemaker Service

You should see a screen like this.

Click on the orange button "Create Notebook Instance"

Navigate to Sagemaker Service

On the next webpage,

- Give your notebook a name (no underscores, please)

- Under Notebook instance type, select "ml.c5.2xlarge"

- Under "Permission and encryption" select "Enter a custom IAM role ARN";

- Paste your TeamRole ARN in the cell below labled "Custom IAM role ARN"

Note: your TeamRole ARN will have different AWS account number than what you see here

- Scroll down to the bottom of the page and click on "Create Notebook instance"

Navigate to Sagemaker Service

You should see your notebook being created. In a couple of minutes, its status will change

from "Pending" to "In Service", at which point, please click on "Open Jupyter"

Navigate to Sagemaker Service

In Jupyter Notebook console, please, click on 'New' -> 'Terminal' on the right-hand side

Navigate to Sagemaker Service

A new Chrome browser tab will open displaying a command prompt terminal

In the terminal tap, please, issue these two commands:

$ cd SageMaker

You should see output similar to this:

Navigate to Sagemaker Service

You may now close the browser tab with command prompt terminal,

return to Jupyter console and navigate the created folder structure to

amazon-sagemaker-fraud-detection -> notebooks

launch and run each one of the three Jupyter notebooks

Navigate to Sagemaker Service

Open SageMaker Console by clicking on "Services" and searching for Sagemaker

Navigate to Sagemaker Service

License

This library is licensed under the MIT-0 License. See the LICENSE file.

amazon-sagemaker-fraud-detection's People

Contributors

amazon-auto avatar sriharshams avatar vebsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amazon-sagemaker-fraud-detection's Issues

ImportError: cannot import name 'get_image_uri

Running this code from SageMaker studio. unable to start the training job. Any suggestions?


ImportError Traceback (most recent call last)
in
1 #Training
2
----> 3 from sagemaker.amazon.amazon_estimator import get_image_uri
4 container = get_image_uri(boto3.Session().region_name, 'xgboost')

ImportError: cannot import name 'get_image_uri'

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.