Skip to content

Determine author of a paragraph, with Decision Tree and Logistic Regression

Notifications You must be signed in to change notification settings

soumyakanti3578/Authorship_Determination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorship_Determination

Determine author of a paragraph, with Decision Tree and Logistic Regression

usage: lab2.py [-h] [--train] [-d] [--print] [--max_depth MAX_DEPTH] [-l]
               [--predict FILENAME] [--train_test]

optional arguments:
  -h, --help            show this help message and exit
  --train               train models on dataset
  -d, --dtree           flag to train only decision tree
  --print               prints preorder traversal of decision tree
  --max_depth MAX_DEPTH
                        max depth of Decision Tree
  -l, --logreg          flag to train only logistic regression
  --predict FILENAME    predicts author on provided file
  --train_test          train models on dataset

Pairplot of selected features: alt text

About

Determine author of a paragraph, with Decision Tree and Logistic Regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages