Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Add Endpoint to store mislabeled tweets #5

Open
3 tasks
Haimchen opened this issue Nov 24, 2019 · 1 comment
Open
3 tasks

Add Endpoint to store mislabeled tweets #5

Haimchen opened this issue Nov 24, 2019 · 1 comment
Assignees
Milestone

Comments

@Haimchen
Copy link
Collaborator

Haimchen commented Nov 24, 2019

Goal

Create a new public API endpoint where mislabeled tweets can be sent.

Description

Add a new endpoint POST /mislabeled_tweet to the public API.
It should accept the following parameters:

  • text (string): the text of the tweet (html removed?)
  • tweet_id (string): ID of the tweet
  • prediction_value(float): the prediction value the model returned for the tweet
  • user_threshold (float): the current threshold value the user has set
  • model_version(int): the model version the prediction was made with

The new feedback entries should be stored in a new database table, feedback.

Tasks

  • add new database table
  • add new route
  • add new endpoint to README
@djbusstop
Copy link

Not sure if we should store this data exactly the way described but every thing else is generally correct. #13

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants