Currently I have a machine learning model and I'm retraining it with Python BES code. I need to pass the input directly to the input parameters. It's accepting only CSV file (Or may be other files). I don't want to use any file. I have fetched the rows from database from python.
Is it possible to directly pass the queried values as input parameters?
I have read about the reader module but I cannot fine anything to use it with python BES code.
Any help is appreciated. Thanks
I have deployed the model through Azure machine learning studio (Classic) and Here is the code where the input payload is passed. I need to pass a python variable or the data returned from the storage table to this and not as CSV. Is it possible to achieve this?
payload = {
"Inputs": {
"input1":
{
"ConnectionString": connection_string,
"RelativeLocation": "/" + storage_container_name + "/filename.csv" # Replace this with the location you would like to use for your input file, and valid file extension (usually .csv)
},
},
"Outputs": {
"output2":
{
"ConnectionString": connection_string,
"RelativeLocation": "/" + storage_container_name + "/filename.ilearner" # Replace this with the location you would like to use for your output file, and valid file extension (usually .csv for scoring results, or .ilearner for trained models)
},
"output1":
{
"ConnectionString": connection_string,
"RelativeLocation": "/" + storage_container_name + "/filename.csv" # Replace this with the location you would like to use for your output file, and valid file extension (usually .csv for scoring results, or .ilearner for trained models)
},
},
"GlobalParameters": {
}
}