-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring: streamline perf()
and tune()
functions to do performance assessment on just input model
#343
Comments
perf()
and tune()
functions so they perform different rolesperf()
functions to do performance assessment on just input model
perf()
functions to do performance assessment on just input modelperf()
and tune()
functions to do performance assessment on just input model
Going through
|
Describe the issue
The functions
perf()
andtune()
perform overlapping roles which do not follow exactly their nomenclature.Expected behaviour
Based on function naming, would expect
tune()
to build and assess multiple models with different parameters to aid parameter tuning whilstperf()
would assess the performance of just one, final model.Solution
Refactor the code for
perf()
andtune()
so that they can still be run as before BUT also can be run in this new way:Old way of running these methods also needs to remain unchanged, i.e.
Update: for this to be possible will need to make a new function called
perf.assess()
rather than editperf()
as would not be possible to both add new functionality and keep old function mechanism.Functions to add:
perf.assess.mixo.plsda()
==perf.assess.mixo.splsda()
perf.assess.mixo.pls()
==perf.assess.mixo.spls()
perf.assess.sgccda()
perf.assess.mint.plsda()
==perf.assess.mint.splsda()
The text was updated successfully, but these errors were encountered: