is there a way I can pass stored procedure data in DatabaseSource.
Any other way I can load data from stored procedures in ML.net?
var loader = context.Data. CreateDatabaseLoader<Patient>(); var SPData=(mySPData); DatabaseSource dbSource =SPData; IDataView data= loader.Load(dbSource);
You should be able to as long as you can express it in your query.
One other way to do it would be to execute a query with your stored procedure and map the results to an
IEnumerable<T>. Then, load the IEnumerable into an
Answered By – Luis Quintanilla
Answer Checked By – Robin (BugsFixing Admin)