https://stackoverflow.com/users/20882864/marce-puente The input would probably be hardcoded for now but I have plans to change that to be an algorithm to tune parameters but I want to make this as easy as possible for others to use the function in their own code. But as for your solution, eventually I will scale this to have a lot of models therefore lots of parameters which is why I want to avoid ifs at all costs.
https://stackoverflow.com/users/12085772/jason-chia I am sorry but I don't understand what you are saying, could you explain a bit more?