libsvm
libsvm copied to clipboard
how to optimize self-defined objective functions of SVR results
I want to use mse or mape indicator to show model performance, and use pso to optimize mse。However, I should define mse use the traditional formula without parameters c or gamma. And I got struck, needing help!
I think our MSE is the same as the standard definition.. It does involve C or gamma.
Hailprob writes:
I want to use mse or mape indicator to show model performance, and use pso to optimize mse。However, I should define mse use the traditional formula without parameters c or gamma. And I got struck, needing help!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.*
Thanks for your reply , and I am new to python, I am now looking for way of get mse by directly use the model methods or attributes. Could you please show me how I can use the mse?