mlclouds.p_fun

Automatic cross validation of PhyGNN models predicting opd and reff

TODO: Add FARMS-DNI model?

Functions

decode_sky_type(cloud_type)

Decode integer cloud types as strings.

encode_sky_type(cloud_type)

Encode string cloud types as integers.

get_sky_type(model, y_predicted, p[, labels])

Get sky type either from model predictions (if training a model which includes cloud classification) or from training data.

get_variable(model, var_name, y_predicted, p)

Get variable either from model predictions (if training a model which includes prediction of "var_name") or from training data.

p_fun_all_sky(model, y_true, y_predicted, p)

Physics loss function

p_fun_dummy(model, y_true, y_predicted, p[, ...])

Dummy loss function to disable pfun