Git Product home page Git Product logo

tutorials's Introduction

Streamlit Workshop code for Omdena's Learning Session

Live on July 1st 2021

All the code for the Streamlit workshop for Omdena. Please be aware that some things are intentionally simplified because this is the code used for the Workshop.

Data

For this workshop I used the famous Titanic Dataset to reduce the amount of preprocessing and focus on Streamlit features. The file is the titanic.csv file within the folder.

Relevant links

Requirements

  • pandas==1.0.5
  • seaborn==0.10.1
  • streamlit==0.83.0
  • plotly==4.11.0
  • matplotlib==3.2.2
  • numpy==1.17.0
  • joblib==0.16.0
  • scikit-learn==0.23.1

I used Python 3.7. Streamlit currently requires Python 3.6-3.8.

ML Model

The .joblib file was generated using joblib and the code in this notebook.

Hosting on Streamlit Share

Obs: locally the code was running fine, but in order to work on Streamlit Share I also had to change the return of this function: https://github.com/victoraccete/omdena_streamlit_workshop/blob/c9330fd2c4a8b62a07d21a35386a421497c159dc/app.py#L53-L56

The requirements.txt file is necessary for streamlit share.

This is the link to access this app on Streamlit Share.

tutorials's People

Contributors

omdena avatar royn5618 avatar rehabemam228 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.