boston_housing.analyzing_model_performance.model_complexity

boston_housing.analyzing_model_performance.model_complexity(X_train, y_train, X_test, y_test)[source]

Calculates the performance of the model as model complexity increases. Then plots the learning and testing errors rates