Git Product home page Git Product logo

wi-ads's Introduction

WI Project

The goal is to predict the click on an ads based on a dataset from the real world.

The program must take a json file of user data as input and produce a csv file enhanced by a first column named label that will contains the wether or not (true or false) the user would had clicked.

Build the project

Download this project, then go to the directory and open a terminal in the source folder. Then execute the following command: sbt assembly

A jar executable called TheIllusionists-assembly-0.1.jar should be created in the source folder at target/scala-2.12.

You can move the executable from his place to the source folder by executing the following command: mv target/scala-2.12/TheIllusionists-assembly-0.1.jar TheIllusionists.jar

Run the project

⚠️ Before launching the following command be sure the folder "models/LR" exists and is not empty ⚠️

Once you moved the executable to the source folder, you can run the project by using: java -jar TheIllusionists.jar "path to the json data file"

A CSV file called part-0000-xxxx.csv should be created in the result folder with the prediction of the model in the first column label.

wi-ads's People

Contributors

alexis-luangpraseuth avatar alexis559 avatar lamhanissa avatar lucassardois 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.