Giter Site home page Giter Site logo

igupta967937 / ml-data-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jahnavisrividya/ml-data-bot

0.0 0.0 0.0 2.42 MB

Chatbot which helps you to get important statistics from the data to get insights to build Machine learning, Deep learning and Statistical models

License: MIT License

Python 100.00%

ml-data-bot's Introduction

Machine Learning Data Bot

HitCount Objective Outcome SideEffects

This project is the small demo to create Conversation Agent which can perform tasks on data and also can give you important insights from data. The bot is created using opensource NLP & NLU framework Rasa which gives ample foundation to create Knowledge based chatbot by intents, entities, slots etc.

rasa_img

You can see the demo from below GIF where I am asking the bot questions regarding different datasets and it is answering me and also it is doing changes in datasets as per my messages.

demo_gif

How to Run the Project

  • Install latest version of rasa using the instructions given on official website and Python version in your system must be 3.6 or greater.
  • Clone this repository with following command.
    • git clone https://github.com/ashutosh1919/ml-data-bot.git
  • I have not uploaded the pretrained model file because of its size but you can train model using following command.
    • rasa train
    • Note that, you don't need GPU to train model.
    • Also, the model will take 1-2 minutes time only to train on ordinary machine.
  • Now, the model is trained and you can talk to model.
  • I highly recommend using Visual Studio Code to run the project.
  • Run following command in bash terminal.
    • rasa run actions & rasa shell
    • rasa run actions will start the server from where you can access the custom actions (API call, Database fetch etc.) for the bot.
    • rasa shell will start interactive session where you can talk to your bot and you can give different commands which bot has to perform.
  • ALso, you can add more functionality which bot can do in actions.py file. Right now, bot is capable of doing following functionalities:
    • Find number of Columns/Rows
    • Find Categorical/Numerical Columns
    • Check if data has NULL values
    • Remove raws which has any attribute as NULL
    • Replace NULL value with mean of corresponding column.
    • Label Encode Categorical columns of Dataset.
    • Standard Scale Numerical columns of Dataset.
  • Bot can perform all above functionalities individually with any dataset which is present in datasets dir.

Contributing

  • You can add more example stories for current functionality in data/stories.md.
  • You can add more valid intents in data/nlu.md
  • Also, please change domain.yml file as per the change in intents.
  • You can add more functionalities bot can perform by adding addtional methods in actions.py

References

ml-data-bot's People

Contributors

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