2024 May 29 10:26 AM - edited 2024 May 29 10:28 AM
Welcome to the last week of the AI Developer Challenge! Thank you so much for your collaboration! I love to see the exchange in the discussion! This week we want to take our model and deploy it to then make predictions using our model.
Now in the real world we would retrain the model with some feature engineering and by using the outcome of our feature importance. But we only have 5 Wednesdays in May and we want to finish the process of training and serving a model with Data Attribute Recommendation (DAR)! You are welcome to try to improve your model share it here as well! Maybe start with feature selection and train a model using only the most important features this time?
Here is what we have to do to deploy a model using DAR:
Use the POST Create Deployment Configuration Regression request. Assign the value of the deploymentExecutableIdRegression (=”70db0a45-c2ab-4525-91c5-0ff763d3784f”) in your environment. You can also find that ID using the GET List Executables request (make sure to use version 3 of the deployment executable for model template 'bdbcd699-4419-40a5-abb8-e7ad43dde49b’!)
{
"topN": 1,
"objects": [
{
"objectId": "optional-identifier-1",
"features": [
{"name": "Date", "value": "2015-12-30"},
{"name": "TotalVolume", "value": "74237.72"},
{"name": "PLU4046", "value": "1037.64"},
{"name": "PLU4225", "value": "36636.85"},
{"name": "PLU4770", "value": "52.16"},
{"name": "TotalBags", "value": "7589.96"},
{"name": "SmallBags", "value": "9603.53"},
{"name": "LargeBags", "value": "84.39"},
{"name": "XLargeBags", "value": "0.0"},
{"name": "type", "value": "conventional"},
{"name": "year", "value": "2015"},
{"name": "region", "value": "Albany"}
]
},
{
"objectId": "optional-identifier-2",
"features": [
{"name": "Date", "value": "2015-03-16"},
{"name": "TotalVolume", "value": "140487.57"},
{"name": "PLU4046", "value": "4942.49"},
{"name": "PLU4225", "value": "88080.11"},
{"name": "PLU4770", "value": "5551.28"},
{"name": "TotalBags", "value": "8697.87"},
{"name": "SmallBags", "value": "8703.62"},
{"name": "LargeBags", "value": "92.35"},
{"name": "XLargeBags", "value": "0.0"},
{"name": "type", "value": "conventional"},
{"name": "year", "value": "2015"},
{"name": "region", "value": "Indianapolis"}
]
}
]
}
6. To SUBMIT your result post a screenshot of the prediction:
If you have made it here, GREAT WORK! You have completed 5 weeks of learning about SAP's AI Services! Thank you so much for participating and helping each other out! It is so much fun to be part of this community! We would love to get your feedback on the AI Services! Let us know what your thoughts in the comments!
What you have learned:
We have used the AI API Postman collection to train and deploy our model. You can do the same using the AI API Python SDK.
You can also connect your DAR instance to SAP AI Launchpad to do the training and serving.
For the inference you can either do a standard REST Call or use the DAR SDK.
2024 May 29 9:15 PM
My submission for week 5 !
Thanks for all the challenges. For Data Attribute Recommendation, I think I'll need more time to understand the concept and what each API request is doing. I appreciate this opportunity to know this service.
2024 May 29 9:46 PM
2024 May 30 5:03 PM
Here is my Week5 Submission. Its new learning on SAP AI Services. Hope to understand in detail on DAR>
Hope to see more challenges on SAP AI
2024 May 30 8:03 PM
Hello,
Here is my submission for this week.
2024 May 30 10:06 PM
Thank you, @noravonthenen, for this awesome learning. I also need to practice a couple of more times with other AI-inference Ops scenarios.
2024 May 31 10:10 AM
2024 May 31 3:19 PM
Here's my submission for week 5.
The part of training a model using the API seemed both very complex and very interesting. Made me eager to read a bit more on this subject to try to understand every piece of the puzzle!
Thank you for this challenge, it was super fun!
2024 May 31 4:53 PM
2024 May 31 4:57 PM
@Ruthiel Think you need to wait until the Status is RUNNING.
2024 May 31 6:42 PM
2024 Jun 03 7:46 PM
Here is my Week 5 Submission!
2024 Jun 04 9:10 AM
2024 Jun 04 10:56 AM - edited 2024 Jun 04 10:58 AM
Hi @noravonthenen ,
Good Day
here is my 5th week submission. Thank you so much for introducing DAR to us.