45a6ef7b722811ff1dfdc76652a144190c9e0ef8,examples/inspection/plot_partial_dependence.py,,,#,29

Before Change


plot_partial_dependence(est, X_train, features,
                        n_jobs=3, grid_resolution=20)
print("done in {:.3f}s".format(time() - tic))
fig = plt.gcf()
fig.suptitle("Partial dependence of house value on non-location features\n"
             "for the California housing dataset, with MLPRegressor")
fig.subplots_adjust(hspace=0.3)

After Change


features = ["AveOccup", "HouseAge", ("AveOccup", "HouseAge")]
print("Computing partial dependence plots...")
tic = time()
_, ax = plt.subplots(ncols=3, figsize=(9, 4))
display = plot_partial_dependence(
    est, X_train, features, kind="average", n_jobs=3, grid_resolution=20,
    ax=ax,
)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: scikit-learn/scikit-learn
Commit Name: 45a6ef7b722811ff1dfdc76652a144190c9e0ef8
Time: 2020-06-15
Author: madhura@predictivehire.com
File Name: examples/inspection/plot_partial_dependence.py
Class Name:
Method Name:


Project Name: automl/ParameterImportance
Commit Name: 6ecea4f289c368c96dd504f9822bcf58d1a7def3
Time: 2019-03-26
Author: jo.ma@posteo.de
File Name: pimp/evaluator/fanova.py
Class Name: fANOVA
Method Name: plot_result


Project Name: matplotlib/matplotlib
Commit Name: c1b6a1c39fdd4661930280c6098de55359c5a078
Time: 2017-11-24
Author: anntzer.lee@gmail.com
File Name: examples/animation/animation_demo.py
Class Name:
Method Name: