Comments (12)
@monajalal @davidatbu this method contradicts with the current one. I still don't know how to do it subtly.
from openframing.
I think we have to do it in the backend. Frontend modification is kind of limited.
from openframing.
Hi @edward-edberg,
I don't see how modifying the backend will help with this. The backend already sends an email when training finishes, and then another one when predicting finishes.
I understand what you are saying in that, in the frontend, this is not possible if the user is going to upload training dataset and the unlabeled dataset at the same time. But, if we have different pages for the two, imagine this:
The user goes to www.openframing.org/train_a_classifier.html
He gets an email when training finishes at www.openframing.org/predict_with_classifier.html?classifier_id=<SOME_ID>
On the frontend, the JS inside predict_with_classifier.html
will grab the <SOME_ID>
from the URL(this is possible, and this is what we do for topic modeling previewing already), and then it will let the user upload testing data.
And then we send an email to the user with the results.
from openframing.
Okay, but how about if the client wants to use default classifier? They will upload the test file in the first place, right?
If we want to implement a new mechanism that you have mentioned, then we will separate training from scratch page and testing-only page.
from openframing.
from openframing.
@davidatbu I have a question, how do you provide unique link for each task to upload test file?
from openframing.
from openframing.
@davidatbu ok, you can provide me topic_model_id, then how can I get that topic_model_id? since I have to make post request
from openframing.
parse the url? or do you have any suggestion? because I have never done this before
from openframing.
Here's how we do it in topicModelPreviews.html
Here's the function:
Here's how we call it.
https://github.com/davidatbu/openFraming/blob/2642424f43c481ee3bf178b161fb41cc1f3ff34a/services/web/frontend/js/topicModelPreview.js#L74-L75
from openframing.
My code looks terrible compared to this lol.
Got it. I think I can build them.
from openframing.
from openframing.
Related Issues (20)
- Provide example datasets in the framing and LDA pages so the user could test the functionalities without having their own data HOT 2
- Add 'queued for training' to the training statuses HOT 2
- Embedd the video tutorial in the 'Tutorials' tab of our Webpage
- Echo back to the user the error messages that the backend responds with HOT 1
- LDA topic name assignment doesn't work HOT 3
- Create additional pretrained classifiers HOT 8
- What are the minimum system specs required for AWS EC2 instance? Then Downgrade to it. HOT 2
- Change http://www.openframing.org to https://www.openframing.org HOT 1
- Let the emails sent for training a classifier or topic model include metrics HOT 1
- Adding the project tags, descriptions, and Website to the 'About' section in GitHub HOT 1
- Add a one liner in HTML to explain to the user that they need two columns in their data namely Example, Label
- Provide instruction for the user in a line and let them know they should have only one column in their data
- Show a message to the user on the landing page of openframing.org when the system is down or under reconstruction
- Cannot input "/" in the label HOT 1
- When sharing the openframing.org in a social media (e.g. Facebook), the thumbnail is not good HOT 3
- Don't use 'gun violence' for 'other' policy issue when we ask the user to use 'our dataset' HOT 5
- Add an example to visualize framing in news HOT 6
- Document error messages in the backend API
- support for multiple languages for BERT and LDA HOT 6
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 openframing.