Skip to main content

A svm classifier model for predicting license short_name

Project description

About

This is a simple python package of Linear support vector machine model trained on the Minerva dataset. The trained model can be used to predict the license shortname from the code.

How to use

  • Installing the package:
    • pip install linearsvc
  • Import the trained model:
    • from linearsvc import linearsvc
  • How to use:
    • By calling sklearn's predict function: classifier = linearsvc(processed_comment) predictor = classifier.classify() short_name = predictor.predict(processed_comment)
    • By directly calling predict_shortname(): classifier = linearsvc(processed_comment) short_name = classifier.predict_shortname()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

linearsvc-1.0.0.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page