Comments (1)
In WIT, the querying of the model on the datapoints is done through python code that executes behind the html, powering what is displayed. So we cannot return HTML from WitWidget that can be rendered in a separate webpage.
If you want to embed WIT in a webpage, you can use it inside of an instance of TensorBoard you run (which itself is a webpage). WIT in TensorBoard will soon support custom predict functions, as can be seen in #94
Or you could add WIT code to your own web server's front-end and add code to your web server to run the model and pass the results back to the front-end WIT HTML. That will require a bunch of glue code in your front-end html/js code and your web server, but it is doable. Our web demos (https://github.com/PAIR-code/what-if-tool/tree/master/wit_dashboard/demo) are one example of embedding WIT directly in a webpage, but in those cases, we run the models in the browser using TensorFlow.js models, so our web demos don't require a backend.
from what-if-tool.
Related Issues (20)
- Not getting the desired output with Hugging face models on NLP tasks HOT 3
- How do I export "What-If-Tool" output? HOT 3
- Multiclass classification HOT 1
- Does what-if-tool support lightgbm or xgboost or scikit learning models? HOT 1
- Replacing model with predictions data HOT 1
- GOOGLE APPLICATION CREDENTIALS HOT 3
- Can this work just on data without any model input? HOT 1
- Can the dashboard be changed according to our need? HOT 1
- what if tool for ranking model? HOT 1
- how to install what if in managed notebook of vertex ai? HOT 3
- UnboundLocalError("local variable 'values' referenced before assignment") HOT 7
- what-if tool unable to return predictions - InactiveRpcError
- Enabling Persistence with what-if tensorboard plugin
- Data loading issue at scale with tensorboard what-if plugin
- Error when trying to reproduce example notebook locally HOT 6
- Custom Sprite Thumbnail Dimensions HOT 1
- Unable to import Witwidget
- Cant use fairness solution for regression so In that case How to mitigate the bias for the regression model? HOT 1
- ERROR: An error occurred during the fetch of repository 'zlib': HOT 1
- Uncaught (in promise) Error: Tensorflow Op is not supported: _FusedConv2D HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from what-if-tool.