Coder Social home page Coder Social logo

kevinmellott91 / big-data-wisconsin-2018-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 60 KB

Contains the demo materials pertaining to https://2018.bigdatawisconsin.org/sessions/how-to-use-millions-of-mobile-activity-logs-to-understand-our-customers-in-real-time/

License: MIT License

Scala 98.54% Shell 0.65% Batchfile 0.81%

big-data-wisconsin-2018-demo's Introduction

Demo Materials

Model creation/export (via Databricks notebook)

You can create a free Community Edition account with Databricks, and then follow the instructions to import the Export Model.dbc notebook into your environment.

Local microservice (via Lagom)

After executing the Databricks notebook (and downloading your model JAR), then update the local path to the model file within the FraudmodelServiceImpl class. Alternatively, you can find a local copy of the model JAR in the resources folder.

Once you've done this, then build and run the project using the SBT command below.

./sbt runAll

Service endpoints

After running the local microservice, you can reach the endpoints below.

Model metadata

GET
http://localhost:9000/api/fraud

Analyze record

POST
http://localhost:9000/api/fraud/analyze

Content-Type
application/json

Body
{"RegisteredDevice":1,"Flow":"hacker-portal","Action":"BALANCE_INQUIRY","Amount":0}

big-data-wisconsin-2018-demo's People

Contributors

kevinmellott91 avatar

Watchers

James Cloos avatar  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.