news-audit icon indicating copy to clipboard operation
news-audit copied to clipboard

Hello. Could I know more about the project? like the version of python, some example command in command line.

Open mchen798 opened this issue 6 years ago • 3 comments

Hey, there. Could I know more about the project? like the version of python, some example command in command line, the dependency package name(means could found the name in PyPI), etc. This project looks like have a good F1 score, I'd like to try to run in my ubuntu. But I am a new python worker. So could I got some help from there? Thanks.

mchen798 avatar Jul 17 '18 07:07 mchen798

Sorry guys for bothering you. The version of Python is python2.x, the dependency is nltk, numpy, sklearn, pattern, scipy. All of those could be installed with the command "pip install ". But I still not understand the parameters. In my case, command like this "python SensationalismClassifier.py --trainset ./data/training_data.csv --dump True --verbose True --classify ./data/sample_test_data.csv --save ./testoutput" , I want training a model use the same dataset, not use the exist model(trained_model.pkl), I also want to --verbose true. But I got the error like "Unrecognized arguments: True True". If I could get help, it will be perfect. By the way, did you publish a paper or something? If there is some paper thing, I'd like to read it. Thanks.

mchen798 avatar Jul 17 '18 08:07 mchen798

I got some result of the training, a file with the label and a model file. Is there output some more detail? such like recall and precision, threshold etc. Or I have to use the output file to calculate the value by myself.

mchen798 avatar Jul 17 '18 09:07 mchen798

Hi there,

Have you cleaned your dataset before classifying it? For example removing news articles license information or author names? What technique you used to removed them?

dhiyyah avatar Sep 24 '18 19:09 dhiyyah