mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 06:46:56 +08:00
remove unneeded code from workflow_by_code.ipynb && fix analysis_model_performance (#740)
This commit is contained in:
@@ -57,7 +57,7 @@ def _group_return(pred_label: pd.DataFrame = None, reverse: bool = False, N: int
|
||||
).figure
|
||||
|
||||
t_df = t_df.loc[:, ["long-short", "long-average"]]
|
||||
_bin_size = ((t_df.max() - t_df.min()) / 20).min()
|
||||
_bin_size = float(((t_df.max() - t_df.min()) / 20).min())
|
||||
group_hist_figure = SubplotsGraph(
|
||||
t_df,
|
||||
kind_map=dict(kind="DistplotGraph", kwargs=dict(bin_size=_bin_size)),
|
||||
|
||||
Reference in New Issue
Block a user