Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

perceptron weight averaging is not standard

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
perl, python

Research direction

Read the current Python implementation and compare its averaged-perceptron update with the linked Perl implementation and the referenced CIML chapter. Confirm how averaging is applied to each example within each iteration; done means the implementation follows that standard behavior and its existing checks pass.

Written by the indexing model from the issue text.

Description

My understanding is that for the averaged perceptron, the weights are averaged across each example in each iteration, not just each iteration as in the current implementation (and the perl one here from @sagae: http://people.ict.usc.edu/~sagae/parser/simpledep.pl).

A nice reference with a clever efficiency trick:
http://www.ciml.info/dl/v0_8/ciml-v0_8-ch03.pdf

Dominant language
Python
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

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.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.