The weighted standard error is a standard metric that is used to compute the coefficient of determination when working with a linear regression model.
It provides an easy way to evaluate the model and can be used as shown below:
# Used along with TFLearn estimators
weighted_r2 = WeightedR2()
regression = regression(net, metric=weighted_r2)