跟特征数量没关系
Some checks are pending
Update Docker Hub Description / dockerHubDescription (push) Waiting to run
Some checks are pending
Update Docker Hub Description / dockerHubDescription (push) Waiting to run
This commit is contained in:
parent
7da603fd08
commit
8535b10cea
@ -219,6 +219,8 @@ class FreqaiExampleHybridStrategy(IStrategy):
|
||||
1.0, # 数值型标签
|
||||
0.0
|
||||
)
|
||||
# Reshape the target variable to be a 2D array
|
||||
dataframe["&-up_or_down"] = dataframe["&-up_or_down"].values.reshape(-1, 1)
|
||||
except Exception as e:
|
||||
logger.error(f"Failed to create &-up_or_down column: {str(e)}")
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user