Skip to content

Commit

Permalink
Merge pull request #564 from mlrun/1.6.x-dev
Browse files Browse the repository at this point in the history
[Stocks ] updating news set ingest
  • Loading branch information
aviaIguazio authored Jan 16, 2024
2 parents 902a2c2 + f175acc commit f922780
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions stocks-prediction/01_ingest_news.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -991,11 +991,10 @@
"# ingesting dummy (A MUST)\n",
"name = 'stocks-dummy'\n",
"\n",
"fstore.ingest(news_set,\n",
" pd.DataFrame.from_dict({'ticker':[name],\n",
" 'Datetime': now,\n",
" 'n_stocks':number_of_stocks,\n",
" 'stocks_list':stocks_list}),\n",
"news_set.ingest(pd.DataFrame.from_dict({'ticker':[name],\n",
" 'Datetime': now,\n",
" 'n_stocks':number_of_stocks,\n",
" 'stocks_list':stocks_list}),\n",
" overwrite=True)"
]
},
Expand Down Expand Up @@ -1044,7 +1043,7 @@
"run_config = fstore.RunConfig(function=function, local=False)\n",
"\n",
"# Deploying\n",
"news_set_endpoint, function = news_set.deploy_ingestion_service(run_config=run_config)"
"news_set_endpoint, function = fstore.deploy_ingestion_service_v2(featureset=news_set, run_config=run_config)"
]
},
{
Expand Down

0 comments on commit f922780

Please sign in to comment.