Giter Club home page Giter Club logo

usedcarsanalysis's Introduction

MR

MapReduce stuff is located in directory mr. To build and run the project launch the script makefile.sh using:

cd mr
sh makefile.sh <n_reducers> <combiners_on>

where pars:

  • n_reducers = number of reducers to be used
  • combiners_on = it enables the usage of combiners; 0 -> off; any other -> on

The script will:

  • Compile all src files
  • Create the jar
  • Delete old jar in HDFS (if already present)
  • Put the new jar in HDFS
  • Run all jobs
  • Show res directory
  • Take and display execution time

The expected intput path containing the dataset is dataset/vehicles.csv. Results are contained in directories out, out2a, out2b, out3.

Spark

Spark stuff is located in directory spark. To run the project launch the script usedcars.sh using:

cd spark
sh usedcars.sh <n_executors> <cores_per_executor>

The script will:

  • Remove out directory (if already existing)
  • Run the spark jobs
  • Show res directory

The expected intput path containing the dataset is dataset/vehicles.csv. Results are contained in directory spark-out.

In the end, file usedcars.ipynb contains the same jobs saved as a project notebook.

usedcarsanalysis's People

Contributors

gabri-16 avatar

Watchers

 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.