GithubHelp home page GithubHelp logo

news-media-reliability's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

news-media-reliability's Issues

Code to Collect the Features?

Hello,

Thanks for releasing this repository. Can you please release the code to collect the features such as article content, YouTube text, twitter followers, etc?

Thanks!

Error When Running Program

Hello,

When running python3 classification.py --task [0] --features [1] I get the following error:

task:[0]
features:[1]
Traceback (most recent call last):
  File "classification.py", line 145, in <module>
    results = Classification(corpus, features, task)
  File "classification.py", line 72, in Classification
    X, y = GetFeaturesAndLabels(corpus, features, task)
  File "classification.py", line 67, in GetFeaturesAndLabels
    y = pd.DataFrame(np.asarray(y).reshape(-1, 1))
UnboundLocalError: local variable 'y' referenced before assignment

Why is this happening?

Any help would be much appreciated.

Thanks

Raw articles

Could you please add raw data i, e, news articles and wikipedia articles?

Trouble Reproducing Results, Potentially Missing Features

Hello,

I am having trouble reproducing the results you have in your paper. For example, for factuality detection with YouTube, twitter, and article features, your paper claims 71% accuracy using the classifier, but I get 58%.

What I run:

python3 train.py -tk fact -f articles_body_bert,articles_title_bert,twitter_profile,twitter_followers,youtube_numerical  -ds acl2020

Results I get:

10-05 23:12:36 _main_     INFO     Macro-F1: 49.796351167843326
10-05 23:12:36 _main_     INFO     Accuracy: 58.09080325960419
10-05 23:12:36 _main_     INFO     Flip Error-rate: 8.265424912689173
10-05 23:12:36 _main_     INFO     MAE: 0.5017462165308498

After inspecting further, it appears that maybe the BERT feature file is not accurate? Many of the feature values are 0 (with a very small select few negative integers). Maybe this file was corrupted somehow?

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.