brightwind.analyse.correlation.SpeedSort¶
-
class
brightwind.analyse.correlation.
SpeedSort
(ref_spd, ref_dir, target_spd, target_dir, averaging_prd, coverage_threshold=0.9, sectors=12, direction_bin_array=None, lt_ref_speed=None, preprocess=True)¶ -
__init__
(ref_spd, ref_dir, target_spd, target_dir, averaging_prd, coverage_threshold=0.9, sectors=12, direction_bin_array=None, lt_ref_speed=None, preprocess=True)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(ref_spd, ref_dir, target_spd, …)Initialize self.
get_error_metrics
()get_r2
()Returns the r2 score of the model
get_result_table
()plot
()For plotting
plot_wind_vane
()Plots reference and target directions in a scatter plot
run
([show_params])show_params
()Show the dictionary of parameters
synthesize
([input_spd, input_dir])-