Coder Social home page Coder Social logo

georgetown_capstone's Introduction

georgetown_capstone

This project talks about: https://meta.wikimedia.org/wiki/Research:Detox/Data_Release

You can find the files related to wiki Detox project at: https://figshare.com/articles/Wikipedia_Talk_Labels_Personal_Attacks/4054689

attack: attack_annotated_comments.tsv(55.43 MB) attack_annotations.tsv(44.59 MB)

I have used as an example the 2 files from wikidetox attack_annotated_comments.tsv and attack_annotations.tsv

The other files needed are already in the repository

Be sure to downloads all the needed files before!!

Exploratory Phase (Exploratory Data Analysis)

Understand Transformers: See_how_Fit_transform_works.ipynb

Length of comments and dictionary: EDA.ipynb

Use of Classifiers:

Simple bow with Naive Bayes: bowNBanalyzer.ipynb

Use of Tfidf Transformer with Naive Bayes: tfidfNBanalyzer.ipynb

Use of MultiLayerPerceptron: MLP_classifier.ipynb

Use of Logistic Regression: tfidfLRanalyzer.ipynb

Use of the Pipeline for Logistic Regression (LR) and use of an external set example as holdout test to print Machine Learning prediction Vs Human Labeling for a comment: bowTfidfLR_model01.ipynb

Naive Bayes tuned after GridSearchCV (Hyperparameters): bow_Tfidf_NB_Tuned.ipynb

Hyperparameter tuning for Naive Bayes: bowNBanalyzer132.py (Python File,not notebook)

Hyperparameter tuning for Logistic Regression: bowTfidfLRanalyzerPipeline.py

Hyperparameter tuning for MLP: bowMLPanalyzerHyperP.py

Example of Logistic Regression Pipeline after Hyperparameter tuning: bow_Tfidf_LR_Tuned_nice.py

Example of Words Visualization: Word_Viz.ipynb

Boxplot model comparison: Comparison_model.ipynb

Analyzing (LR) external datasets from scraped data (reddit communities, politics, soccer, video games) and heatmap with Yellobrick: LR_ExternalHoldouts.ipynb

georgetown_capstone's People

Contributors

danyvi avatar

Watchers

James Cloos 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.