This release adds support for scikit-learn 1.2 and drops support for previous versions.
Enhancements
- Raise more informative error messages when a parameter does not have a valid type/value (see [sklearn23462](https://github.com/scikit-learn/scikit-learn/issues/23462)).
- Add positive and random_state parameters to [sksurv.linear_model.IPCRidge](https://scikit-survival.readthedocs.io/en/v0.20.0/api/generated/sksurv.linear_model.IPCRidge.html#sksurv.linear_model.IPCRidge).
Documentation
- Update API docs based on scikit-learn 1.2 (where applicable).
Backwards incompatible changes
- To align with the scikit-learn API, many parameters of estimators must be provided with their names, as keyword arguments, instead of positional arguments.
- Remove deprecated `normalize` parameter from [sksurv.linear_model.IPCRidge](https://scikit-survival.readthedocs.io/en/v0.20.0/api/generated/sksurv.linear_model.IPCRidge.html#sksurv.linear_model.IPCRidge).
- Remove deprecated `X_idx_sorted` argument from [sksurv.tree.SurvivalTree.fit()](https://scikit-survival.readthedocs.io/en/v0.20.0/api/generated/sksurv.tree.SurvivalTree.html#sksurv.tree.SurvivalTree.fit).
- Setting `kernel="polynomial"` in [sksurv.svm.FastKernelSurvivalSVM](https://scikit-survival.readthedocs.io/en/v0.20.0/api/generated/sksurv.svm.FastKernelSurvivalSVM.html#sksurv.svm.FastKernelSurvivalSVM), [sksurv.svm.HingeLossSurvivalSVM](https://scikit-survival.readthedocs.io/en/v0.20.0/api/generated/sksurv.svm.HingeLossSurvivalSVM.html#sksurv.svm.HingeLossSurvivalSVM), and [sksurv.svm.MinlipSurvivalAnalysis](https://scikit-survival.readthedocs.io/en/v0.20.0/api/generated/sksurv.svm.MinlipSurvivalAnalysis.html#sksurv.svm.MinlipSurvivalAnalysis) has been replaced with `kernel="poly"`.
**Full Changelog**: https://github.com/sebp/scikit-survival/compare/v0.19.0.post1...v0.20.0