clips / clips/pattern

is it possible to get a list of influential features (words) after using one of the Pattern classifiers?

Open
#156 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.9k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Hello everyone,

I am looking at the tutorial http://www.clips.ua.ac.be/pages/pattern-vector#classification and I dont see any function that returns the list of (say top 100) features that can help predict a given class.

Is that possible with pattern? I may have a classifier that performs well (good) but I would also like to understand what are the key features to predict a given class.

Many thanks for your help!!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Pattern vector classification tutorial and identify the classifier API used there. Determine whether it exposes feature influence by class, then define what a top-100 result should contain and how completion would be demonstrated for a trained classifier.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.