/fake-news-detection

Mini-project to detect fake news

Primary LanguageJupyter Notebook

Data analysis

  • Document here the project: fake-news-detection
  • Description: Project Description
  • Data Source:
  • Type of analysis:

Please document the project the better you can.

Startup the project

The initial setup.

Create virtualenv and install the project:

sudo apt-get install virtualenv python-pip python-dev
deactivate; virtualenv ~/venv ; source ~/venv/bin/activate ;\
    pip install pip -U; pip install -r requirements.txt

Unittest test:

make clean install test

Check for fake-news-detection in gitlab.com/{group}. If your project is not set please add it:

  • Create a new project on gitlab.com/{group}/fake-news-detection
  • Then populate it:
##   e.g. if group is "{group}" and project_name is "fake-news-detection"
git remote add origin git@github.com:{group}/fake-news-detection.git
git push -u origin master
git push -u origin --tags

Functionnal test with a script:

cd
mkdir tmp
cd tmp
fake-news-detection-run

Install

Go to https://github.com/{group}/fake-news-detection to see the project, manage issues, setup you ssh public key, ...

Create a python3 virtualenv and activate it:

sudo apt-get install virtualenv python-pip python-dev
deactivate; virtualenv -ppython3 ~/venv ; source ~/venv/bin/activate

Clone the project and install it:

git clone git@github.com:{group}/fake-news-detection.git
cd fake-news-detection
pip install -r requirements.txt
make clean install test                # install and test

Functionnal test with a script:

cd
mkdir tmp
cd tmp
fake-news-detection-run