|
Methods defined here:
- __init__(self, n, **kw)
- Construct with number n.
Keyword arguments:
str -- descriptor is string str;
prop -- compute from Proportion prop;
fic -- build from first line of filename fic;
prop -- build from Lproportion file of name fprop;
default -- as read from string "".
- __str__(self)
- (x.__str__()<==> str(x))
- copy(self, i)
- Return a NEW copy Descripteur of the Descripteur, with number i.
- equals(self, x)
- Become a copy of Descripteur x, keeping its own number.
- num(self)
- Return the number of the Descripteur.
- prediction(self, d, i)
- Return the prediction on data D at position i.
- read_prop(self, p)
- Build from Proportion p. Compute automatically
log-probabilites, or -10000 if log not possible.
- read_str(self, st)
- Build from string st. Iff not ok, is emptied.
|