Giter Site home page Giter Site logo

kanugoyal / streamlit_data_analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 310 KB

A simple multipage Streamlit web app for classifying three datasets on the basis of three classifiers ('KNN', 'SVM', 'Random Forest') and on second page we have Stock Data Analysis which retrieve data like opening price, closing price, and other additional information and plotting graphs with the help of the information obtained using yfinance library

Home Page: https://kanugoyal-streamlit-data-analysis-stocks-analysis-hc6k3f.streamlitapp.com/

Python 97.21% CSS 2.79%
classification-model python3 sklearn stock-data-analysis streamlit streamlit-sharing

streamlit_data_analysis's Introduction

Web app using Streamlit and sklearn

I tried my hands on Streamlit Streamlit is a free, open-source, all-python framework that enables data scientists to quickly build interactive dashboards and web apps with no front-end web development experience required.

Open web app with:

https://kanugoyal-streamlit-data-analysis-stocks-analysis-hc6k3f.streamlitapp.com/

Homepage2

Stock Data Analysis

The web app will allow you to search for and retrieve information on any stock from Yahoo! Finance using its ticker and display a line chart of the closing prices, the last closing price, and the daily volume along with some additional information for every stock searched

Make sure your virtual environment is activated before installing the libraries python -m venv venv venv/Scripts/activate.ps1

Required packages

pip install -r requirements.txt or pip install streamlit, seaborn, scikit-learn, matplotlib, yfinance

Data Analysis on different Dataset

Homepage Here, We will use 3 different models (KNN, SVM, Random Forest) for classification and give the user the ability to set some parameters. Before we get started import streamlit, the datasets from sklearn, various models from sklearn, libraries needed to make our plots and pandas

Homeplot

  • Creating multipages in streamlit

    • Create main script named Stocks-analysis.py.
    • In same directory, create a new folder named pages
    • Add new .py files in the pages folder.
    • Add numbers before filename like, 01_Analyzing-Dataset.py to arrange multipages.

    Run file using

    streamlit run Stocks-analysis.py on windows if error occurs : python -m streamlit run Stocks-analysis.py

References

streamlit_data_analysis's People

Contributors

kanugoyal avatar

Watchers

 avatar

streamlit_data_analysis's Issues

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.