Use pure python to build interactive apps for data science/ machine learning
Data Science相关的工作最终转换为产品,有些成为了API,成为了微服务,但是最终的产品,有大多数都要有用于测试/交互的界面 用python快速开发demo,以及使用这样的demo进行快速debug,交流、介绍等等,是DS快速实现价值的重要内容
- streamlit https://streamlit.io/
- Dash/plotly https://dash.plotly.com/
- Gradio https://www.gradio.app/
- Bokeh https://bokeh.org/
从多个维度进行对比,重要性由高到低
- 可用性、快速构建App的能力
- 易于上手学习,学习曲线
- 支持的展示形式/可视化的形式
- 是否支持复杂功能的实现
- Styling,美观
App | easy to use | Learning Curve | Viz | Complex Functions | Styling |
---|---|---|---|---|---|
Gradio | ☆☆☆☆☆ | ☆☆☆☆☆☆ | Almost everything | No | No |
Streamlit | ☆☆☆☆☆ | ☆☆☆☆☆☆ | Almost everything | No | No |
Bokeh | ☆☆☆☆ | ☆☆☆☆☆☆ | ☆☆☆☆ Bokeh + Almost everything | Emm | ----------- |
Dash | ☆☆☆☆ | ☆☆☆☆☆ | Plotly + Almost everything | Yes | ☆☆☆☆☆ CSS,bootstrap etc |