5
$\begingroup$

What does the notation $g\colon X \to Y$ mean in this Wikipedia page, under the section "Problem statement (supervised version)"?

$\endgroup$
1
  • 1
    $\begingroup$ I generally use $\rightarrowtail$ instead of $\to$ but that is no big deal. Something like $$f:X\rightarrowtail Y:x\mapsto y$$ would mean $f(x)=y$ such that $x\in X$ and $y\in Y$. $\endgroup$ – Mr Pie Jun 20 '18 at 12:01
12
$\begingroup$

It means that $g$ is a function which takes elements from $X$ as inputs and returns elements in $Y$ as outputs.

$\endgroup$
3
  • $\begingroup$ is this always the case? also, is there a specific mathematics i should study to learn about related notation? $\endgroup$ – Charles Lambert May 1 '11 at 6:54
  • $\begingroup$ As far as I've seen this is always the meaning of $g: X\rightarrow Y$, but I can't say for certain that it's never used differently. $\endgroup$ – Alex Becker May 1 '11 at 6:55
  • $\begingroup$ Well, sometimes this notation is used to describe a morphism in a category. And morphisms needs not to be functions (e.g. in the category $\mbox{Set}^{op}$ a morphism $g: X \to Y$ is a function $Y \to X$). Anyway this is not the case here. $\endgroup$ – Giacomo d'Antonio May 1 '11 at 8:20
4
$\begingroup$

The $g$ function there is the mapping between instances to output labels. In other words, it is the correct association of events and their respective patterns. Presumably, the goal of supervised pattern recognition is to assign patterns to events in a way that best mirrors the truth (i.e. the $g$ function).

$\endgroup$
2
$\begingroup$

It describes a function; a mapping from one set (X) to another (Y). For a more details see Set-builder notation

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.