TypeError: plot_learning_curve() got an unexpected keyword argument 'figsize'
时间: 2023-10-23 22:40:02 浏览: 176
TypeError: Unexpected keyword argument passed to optimizer: learning_rate 解决方法
This error message suggests that there is an issue with the function `plot_learning_curve()` being called with an unexpected argument `figsize`. This could mean that the function does not accept the argument `figsize` or that it has been misspelled.
To resolve this error, you can try removing the `figsize` argument from the function call or checking the function definition to see if it accepts the `figsize` argument. Alternatively, you can try correcting any misspellings in the argument name.
阅读全文