[RkWard-devel] integer spinbox behaviour

Jimmy Shadbolt jimmy at muckheap.ukfsn.org
Fri Dec 15 14:37:58 UTC 2006


Hi Thomas,

Thanks for that.

At the moment I'm doing some work on variable selection. So I'm making a 
plugin that will let us use things like BMA, random forests, elastic net, 
etc.

Regards,

Jimmy




On Friday 15 December 2006 14:24, Thomas Friedrichsmeier wrote:
> Hi,
>
> On Friday 15 December 2006 14:00, Jimmy Shadbolt wrote:
> > I'm trying to set up an integer spinbox with a non-zero initial value,
> > but can't make it work.
> >
> > If I set min=0, max=20, initialvalue=0, then it will increment/decrement
> > by 1. If I set any other initial value, it will increment/decrement by
> > some multiple of 10. So if min=0 and max=20, an initial value of 20 will
> > only allow me to chose 0 or 20, which is not very usefull!
>
> actually, for initial="1" you should get the same behavior, as for
> initial="0", but of course you're right, this is rather broken. In the
> development version I have now adjusted the heuristics to chose the step
> size (ideally this would be readjusted as the value changes on a
> logarithmic scale, i.e. increment by 1 while in the 0-100 range, then by 10
> in the 100-1000 range, and so on. Right now however, the step size is set
> only once based on the min, max, and initial values), so you will get a
> saner behavior.
>
> Thanks for reporting!
>
> Out of curiosity: What plugin(s) are you working on?
>
> Regards
> Thomas




More information about the Rkward-devel mailing list