Code Monkey home page Code Monkey logo

layoff_prediction_app's Introduction

Layoff Prediction App

The directory of the project is in the evadb-venv folder.

Setup

After installing the prerequisite libraries using pipenv, run python -m run_evadb to test out the program. There is a requirements.txt file for you to use, it contains the libraries on top of EvaDB that you will need.

How to use/Input

The program will ask you for an OpenAI key, after which, it will ask you for the name of the company. It will then prompt you for a series of search queries, the more queries you provide, the more accurate the program will be when determining layoffs. There is bias based on your input, so make sure to choose accordingly. Inputting end will terminate your input and start the program. The default searches are "COMPANY_NAME layoffs", "COMPANY_NAME financials and funding", and "COMPANY_NAME hiring".

Notes

The program uses Google to scrape, so you may get timed out occasionally. The program now uses DataFetcher as an integrated EvaDB function, and the CREATE FUNCTION IF NOT EXISTS DataFetcher IMPL './evadb-venv/DataFetcher.py line in run_evadb.py references the DataFetcher.py file. Since I run the program in the root directory, there isn't a problem. However, if you're running the project from a different directory, you may have to change this line for it to reference the function properly.

Sample Flow

image

layoff_prediction_app's People

Contributors

jamesli12 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.