Demo for using process_type with prune and refresh
Modifying existing trees is not a well established use for XGBoost, so feel free to experiment.
from urllib.error import HTTPError
import numpy as np
from sklearn.datasets import fetch_california_housing, make_regression
import