Add YAML IO for SegmentedRegressionModel