The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"How to speed up logistic regression?"

UsernameUsername Member Posts: 39 Maven
edited May 2019 in Help
Hi,

the logistic regression operator has several parameters. I'm currently using it with the default values. I have ~150 attributes and ~300 000 examples. What parameters can speed up the learning process without decreasing the regression quality too much?

Thanks
Tagged:

Answers

  • stereotaxonstereotaxon Member Posts: 10 Contributor II
    Not to disrespect RapidMiner, but if you might want to try R for the analysis. 

    make sure you have lots of memory, and fast memory at that.

    -Mike
  • TobiasMalbrechtTobiasMalbrecht Moderator, Employee-RapidMiner, Member Posts: 295 RM Product Management
    Hi,

    since logistic regression uses an evoluationary approach to find an optimal solution you can reduce the runtime by specifying smaller values for the parameters [tt]max_generations[/tt] or [tt]population_size[/tt]. However you have to be aware, that it is more unlikely to find an optimal solution the more you put constraints on the parameters.

    Besides, there are to Weka operators that use other model fitting approaches. Maybe you might want to try these, so you do not have to leave RapidMiner completely! ;)

    Regards,
    Tobias
  • UsernameUsername Member Posts: 39 Maven
    The W-Logistic operator from WEKA is indeed much faster :).
  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,

    and I want to give a hint to our Kernel logistic regression approach "MyKLRLearner" which in my experience is again faster  ;)

    Cheers,
    Ingo
Sign In or Register to comment.