Heh, as usual, formulating the question made me reveal an answer. I'll require the models to provide a "new" method, and say
my $model = $self->{'model'}->new($self); $model->train($data);
Other suggestions are of course most welcome!
In reply to Re: OO Design Question
by Sixtease
in thread OO Design Question
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |