Code Monkey home page Code Monkey logo

technology-project-insurance-claim's Introduction

Insurance Application

Table of contents

General info

This project contains two parts: a data generator that creates a csv file with random data in it. It also contains an analysis file that takes information from a csv and analyzes the information as well as some functions to take the data in the csv and graph it.

Technologies

Project is created with:

  • java.io._
  • scala.io.Source
  • java.util.Properties
  • scala.util.Random
  • scala.collection.JavaConverters._

Setup

To run this project clone it from git hub and follow these steps:
Make sure you set how large of a csv file you want to create in the generator.scala
From prod2 folder copy the followoing files to your unix machine

scp -P 2222 ./insurance.csv [email protected]:/home/maria_dev
scp -P 2222 ./names.txt [email protected]:/home/maria_dev
scp -P 2222 ./states [email protected]:/home/maria_dev
scp -P 2222 ./date.txt [email protected]:/home/maria_dev

to set the amount of lines created in your csv change the value in the for loop in genorator.scala

for(i <- 1 until 5000)

will create a CSV with 5,000 lines
To run generator.scala
To Run the genorator Follow these steps:
Step 1(start sbt):

cd insurance
sbt
Compile
Package

Step 2(Copy the JAR file to your vm)):

scp -P 2222 ./insurance_2.11-0.1.0-SNAPSHOT.jar [email protected]:/home/maria_dev

Step 3(Run on the VM):

spark-submit --deploy-mode client ./insurance_2.11-0.1.0-SNAPSHOT.jar --class example.genData

technology-project-insurance-claim's People

Contributors

helloteamplz avatar basemmo avatar 113rafael avatar mahmood81s avatar dwayne-commit 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.