Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
R
robo-dividend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenwen.tang
robo-dividend
Commits
c0a487e0
Commit
c0a487e0
authored
Dec 11, 2023
by
wenwen.tang
😕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add print log
parent
6d823536
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
EstimateMarketTrendV20.py
ai/EstimateMarketTrendV20.py
+1
-0
No files found.
ai/EstimateMarketTrendV20.py
View file @
c0a487e0
...
...
@@ -102,6 +102,7 @@ if __name__ == '__main__':
builder
=
TrainingDataBuilder
(
index
,
eco
,
fund
,
indexDict
,
toForecast
,
win1W
,
win1M
,
win1Q
,
numForecastDays
,
theThreshold
)
for
pid
in
PREDICT_LIST
:
print
(
f
'{indexDict[pid]} start '
.
center
(
50
,
'='
))
t_data
=
indexData
if
pid
in
index
else
fundData
X_train
,
X_test
,
y_train
,
y_test
,
scaledX_forecast
,
forecastDay
=
\
builder
.
build_train_test
(
pid
,
t_data
,
vixData
,
indexOtherData
,
cpiData
,
FDTRData
,
NAPMPMIData
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment