|
Methods defined here:
- KL_MC(self, lp2, nb=100, lg=1000)
- Compute Kullback-Leibler divergence to Lproportion lp2 with
Monte Carlo simulation on nb=100 Sequence of length lg=1000.
- __init__(self, **kw)
- Opt: if fic=f, builds from filename f.
- lg_max_posterior(self)
- Return the length of the longest posterior.
- lg_max_prior(self)
- Return the length of the longest prior.
- loglex(self)
- Write as a string for a Lexique, using logarithms of
proportions.
- read_Lcompte(self, lc, **kw)
- Build from Lcompte lc with options:
Keyword argument:
lpost -- posterior (ie on the right) must have as much as possible
lpost letters (default: > 0).
lprior -- prior (ie on the left) msut have at most lprior letters (default: 0).
- read_nf(self, nf)
- Reads file of proportions with name $1
Methods inherited from _Lrac_Arb:
- __getitem__(self, i)
- Return the count of descriptor i ( x.__getitem__(i) <==> x[i]).
- __setitem__(self, i, c)
- Set the Compte or Proportion c to descriptor number i
( x.__setitem__(i,c) <==> x[i]=c ).
- __str__(self)
- Return the string of within and between descriptors' counts.
(x.__str__()<==> str(x))
- alph(self)
- Return the list of used letters.
- g_inter(self, a, b, v)
- Set the count or proportion of transitions from a to b at value v.
- inter(self, a, b)
- Return the count or proportion of transitions from a to b.
- lg_max(self)
- Return the length of the longest word.
- num(self)
- Return the list of descriptors' numbers.
|