Giter Site home page Giter Site logo

basyesianspamfilter's Introduction

Bayesian Spam Filter

Building

make

Running with prebuild CSV and Generating Report

./BasyesianSpamFilter --report

Running and rebuilding Probability CSV and Generating Report

./BasyesianSpamFilter --report

Help Text

Usage: BayesianSpamFilter [OPTIONS] [PATH]

Options:
  -r, --report           Generate a report on the data processed (requires pdflatex).
  -h, --help             Show this help message and exit.
  -c, --csv              Rebuild Probability CSV 

Arguments:
  PATH                   The path to the dataset file containing the text message data to be processed.
                         Default: $PWD/SMSSpamCollection.txt

Description:
  This CLI application utilizes Bayesian filtering techniques to categorize
  text messages as spam or ham (not-spam). It processes text message data
  from the specified dataset file or from $PWD/SMSSpamCollection.txt if no
  path is given.

  The --report flag can be used to generate a report detailing the
  classification results, including information such as the number
  of messages processed, the number classified as spam, and the overall
  accuracy of the filter. The report is generated using the pdflatex command.

  Significant results will be output to the terminal screen with or without the --report flag.

Examples:
  # Process text message data from the default dataset file and generate a report
  $ BayesianSpamFilter --report

  # Process text message data from the specified dataset file
  $ BayesianSpamFilter /path/to/SMSSpamCollection.txt

  # Process text message data from the specified dataset file and generate a report
  $ BayesianSpamFilter --report /path/to/SMSSpamCollection.txt

ChatGPT

basyesianspamfilter's People

Contributors

briantipton1 avatar

Watchers

 avatar  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.