Giter Club home page Giter Club logo

bias_detection_task's Introduction

Bias detection task

The goal of this task is to train a classifier to detect political bias in news articles.

Data

The data folder contains three files

  • bias_articles_train.json: Json containing array of dicts with
    • id: unique integer id for each article
    • title: Title of the article
    • body: Body of the article
    • bias: Class label it can be "Left", "Center" and "Right"
  • bias_articles_dev.json: Same as bias_articles_train, but used for validation of the models.
  • bias_articles_test.json: Same as bias_articles_train, but does not contain bias labels (to be predicted.)

Task

  • In bias_classifier.py Implement fit, test and predict functions.
  • You may use any classifier that you like, any features extracted from the title and the body.
  • Use bias_articles_train.json to train the model, bias_articles_dev.json to fine-tune the parameters.
  • Predict the labels for articles in bias_articles_test.json using the model trained above.
  • Document the code and follow Google python coding conventions
  • Document the results of your model (train performance vs test performance) in Results.md markdown file.

bias_detection_task's People

Contributors

mansogf avatar

Watchers

 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.