Giter Site home page Giter Site logo

capstone_project's Introduction

capstone_project

Project Overview: Design complete solution to demonstrate end-to-end pipeline development and manage a machine/deep learning project Develop an understanding of all stages of a machine learning project life-cycle Demonstrate understanding of challenges encountered during the project development and provide ways to tackle them Showcase understanding of software engineering best practices while developing the project

Problem Statement: Classify News Articles into categories - With information overload today users are inundated with news articles of all topics, even the ones which may not be relevant to users. Design a system which can classify incoming news articles and appropriately tag the corresponding category. Develop a data pipeline which includes the all the following stages of Machine Learning Project Life Cycle โ€“ 1.Data Ingestion 2.Data Preparation 3.Data segregation & Model Training 4.Model Deployment 5.Model Prediction

Project Milestones:

  1. Data Ingestion
  2. Data Cleansing & Preparation
  3. Data Segregation & Model Training
  4. Model Deployment
  5. Model Prediction

Run below commands on docker host.

  1. docker-compose up
  2. docker-compose exec mongo1 /usr/bin/mongo --eval '''if (rs.status()["ok"] == 0) { rsconf = { _id : "rs0", members: [ { _id : 0, host : "mongo1:27017", priority: 1.0 } ] }; rs.initiate(rsconf); } rs.conf();'''
  3. curl localhost:8083/connector-plugins | jq
  4. curl http://localhost:8083/connectors/mongo-sink/status | jq 5.curl -X POST -H "Content-Type: application/json" -d @sink-connector.json http://localhost:8083/connectors | jq
  5. curl localhost:8083/connector-plugins | jq
  6. docker-compose exec broker bash
  7. kafka-topics --zookeeper zookeeper:2181 --create --topic capstone.news_articles --partitions 1 --replication-factor 1
  8. You can access the UI at http://host_ip:8501/ You can access the swagger ui at http://host_ip:8889/

Steps for Monolithic code:

  1. Run kafka zookeeper service.
  2. Run kafka server start i.e. brokerr start.
  3. Create topic news_articles. 4.Run api_data_publisher.py in one terminal. 5.Run feed_data_publisher.py in one terminal. 6.Run main.py in another terminal for swagger UI. 7.Run streamlit run streamlit_ui.py for UI in another terminal.
  4. You can access the UI at http://host_ip:8501/ You can access the swagger ui at http://host_ip:8889/

capstone_project's People

Contributors

chandankadiri avatar udayabhanukonne 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.