Feature Engineering, Machine Learning, Data Science, Data, Python.
XGBRegressor # Set Matplotlib defaults plt.style.use("seaborn-whitegrid") plt.rc("figure", autolayout=True) plt.rc( "axes", labelweight="bold", labelsize="large", titleweight="bold", titlesize=14, titlepad=10, ) #Standardization and applying PCA to create principal components def apply_pca(X,