User:Francis Tyers/Perceptron

From Apertium
Jump to navigation Jump to search

A perceptron is a classifier that

The classifier consists of:

  • Binary features
  • Weights

Example

Here is a worked example of a perceptron applied to the task of lexical selection. Lexical selection is the task of choosing a target translation t for a given source word s in a context C out of a set of possible translations T. A perceptron makes a classification decision for a single class, so we need to train a separate perceptron for each possible target word selection.

Features

Training data

1:sec season
1:de 2:el 3:any season
1:de 2:tren station
1:humit season
1:de 2:televisió station
1:de 2:línia station
1:plujós season
1:naval station

Feature vector

Weight vector