data_plotting

Functions

plot_predictors(data_frame, y)

Plot a series of factors in a dataframe against an output y.

plot_predicted_vs_actual(y, y_hat)

Plot predicted cost y_hat against actual cost y.

Module Contents

data_plotting.plot_predictors(data_frame, y)

Plot a series of factors in a dataframe against an output y.

Parameters

data_framedataframe

Dataframe of sampled factors

ylist/np.array

Vector of outputs following sampling using the data_frame

data_plotting.plot_predicted_vs_actual(y, y_hat)

Plot predicted cost y_hat against actual cost y.

Parameters

ylist/np.array

Actual y

y_hatlist/np.array

Predicted y