Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Cc: Ding List <ding@gnus.org>
Subject: Re: Better defaults for adaptive scores together with decays.
Date: Fri, 14 Oct 2005 15:16:05 +0200	[thread overview]
Message-ID: <v9psq86xyi.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87achfhej1.fsf@futtelifut.dyndns.org> (Martin Geisler's message of "Wed, 12 Oct 2005 00:31:14 +0200")

On Wed, Oct 12 2005, Martin Geisler wrote:

> Gnus v5.11
> GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars, multi-tty)
[...]
> When using adaptive scoring together with decaying of scores, authors
> are never really adaptively scored: when reading an article the from
> address gets +3, but the default decay function snaps scores between
> -3 and +3 to zero... so unless you happen to read several articles by
> the same author on a given day, then the scores will always stay at
> zero.
>
> Increasing the default scores (to 10 or something like that) seems to
> work for me.

How about making it depend on `gnus-score-decay-constant'?  But maybe
that's overkill and we should only mention it in the doc string.
Opinions?

(defcustom gnus-default-adaptive-score-alist
  `((gnus-kill-file-mark)
    (gnus-unread-mark)
    (gnus-read-mark
     (from , (+ 2 gnus-score-decay-constant))
     (subject , (+ 27 gnus-score-decay-constant)))
    (gnus-catchup-mark
     (subject , (+ -7 (* -1 gnus-score-decay-constant))))
    (gnus-killed-mark
     (from , (- -1 gnus-score-decay-constant))
     (subject , (+ -17 (* -1 gnus-score-decay-constant))))
    (gnus-del-mark
     (from , (- -1 gnus-score-decay-constant))
     (subject , (+ -12 (* -1 gnus-score-decay-constant)))))
  "*Alist of marks and scores.
If you use score decays, you might want to set values higher than
`gnus-score-decay-constant'."
  ;; [...]
  )

Result with the default value of `gnus-score-decay-constant' (3):

ELISP> gnus-default-adaptive-score-alist
((gnus-kill-file-mark)
 (gnus-unread-mark)
 (gnus-read-mark
  (from 5)
  (subject 30))
 (gnus-catchup-mark
  (subject -10))
 (gnus-killed-mark
  (from -4)
  (subject -20))
 (gnus-del-mark
  (from -4)
  (subject -15)))

Current default value:

((gnus-kill-file-mark)
 (gnus-unread-mark)
 (gnus-read-mark
  (from 3)
  (subject 30))
 (gnus-catchup-mark
  (subject -10))
 (gnus-killed-mark
  (from -1)
  (subject -20))
 (gnus-del-mark
  (from -2)
  (subject -15)))

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



       reply	other threads:[~2005-10-14 13:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87achfhej1.fsf@futtelifut.dyndns.org>
2005-10-14 13:16 ` Reiner Steib [this message]
2005-10-14 15:18   ` Martin Geisler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9psq86xyi.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).