2024 May 22 10:32 AM - edited 2024 May 30 12:40 PM
CHECK OUT WEEK 5 OF THIS CHALLENGE
Congratulations! You made it to week 4 of the AI Developer Challenge! This week we will continue where we left of last week and train our regression model using the dataset we uploaded in week 3 and the Data Attribute Recommendation service (DAR).
Before we start, let me give you a brief intro to machine learning so that you know what kind of model we are going to train this week. Machine Learning is a subclass of AI that focuses on the development of algorithms and models that enable computers to learn from and make predictions or decisions based on data. Traditionally, there are three main types of algorithms: supervised, unsupervised, and reinforcement learning. Furthermore, there are also different types of machine learning models like regression, classification, clustering, and association rules. These models serve various purposes and are used in different types of machine learning problems. Regression models are models that are used to predict continuous values, such as predicting a person's salary based on their years of experience and education or predicting avocado prices based on region, type, and the other values in our dataset. For the regression model we will train this week, we are using a supervised approach, as we provide labeled training data - that is a dataset that includes the avocado prices in the training dataset from past purchases to learn from for future predictions.
There are different supervised regression algorithms that you can use such as Linear Regression, Support Vector Regression, Decision Tree Regression, Gradient Boosting Regression and many more. The Data Attribute Recommendation services uses a neural network for regression that seeks to minimize the mean squared error (MSE). If you want to learn more about the regression capabilities of DAR check out this blog post.
Stay tuned for next week to deploy your model and run inferences to see your model in action!
2024 May 23 11:10 AM
Hi @noravonthenen ,
Hope you doing well.
I followed the steps as define but I am getting below error on step 5. Would appreciate if provide guidance to resolve.
2024 May 23 11:25 AM
Hi @Hira, your model has not been trained yet. How long has the status been unknown now?
2024 May 23 11:35 AM
Hi @noravonthenen ,
Almost 30 mins now.
2024 May 23 1:45 PM
2024 May 23 1:58 PM
@Hira Can you please provide the landscape and the subaccount ID?
2024 May 28 7:11 AM
2024 May 28 7:27 AM
2024 May 23 1:25 PM
I'm facing the same issue and has also been waiting for 1½ hour now.
2024 May 23 2:42 PM - edited 2024 May 23 2:43 PM
2024 May 28 7:14 AM
2024 May 23 9:52 PM - edited 2024 May 23 9:54 PM
Hi @noravonthenen,
I am experiencing the same issue as @Hira at step 5. In the status details there's an error "Execution 'e8937ee4c1f0daee' could not be found". Can this be causing the issue?
For the environment variable "trainingExecutableIdRegression", "340abda5-d605-452a-bf4c-169249aab362" has been set.
2024 May 24 12:28 PM
Your training is COMPLETED. Can you check again with GET Get Execution Regression? And then continue with step 7?
2024 May 31 12:02 PM
I'm getting stuck at exactly the same place, I've redone this weeks challenge a few times over the last couple of days and it's still not working. Any suggestions? @noravonthenen
2024 May 31 12:03 PM
The trainings status is still UNKNOWN
2024 May 24 7:31 PM
Here are my results:
Please note I had to modify the name of the variable in the last step from `{{trainingExecutionId}}` to `{{trainingExecutionIdRegression}}` to avoid the Error 500, as `trainingExecutionIdRegression` is the name of the variable populated at the end of the step 4:
Going back to the results it was interesting to see the top 3 contributing scores (if I read the JSON properly):
37.7% Type
31.0% Region
17.4% Date (where the price - I just assume - has been changing over time)
Have a good weekend!
2024 May 24 8:03 PM
Thanks for your comment Vitaliy! I tried to specify that in step 7 but thanks for making it clear! I will clarify that more in step 7 🙂
2024 May 25 11:17 PM
Btw, because I was using VS Code with Postman extension, I did not know that the Postman application has this nice "Visualize" tab to have a nicer overview of the data from the response:
2024 May 24 9:21 PM
2024 May 25 1:36 PM
2024 May 25 4:11 PM
Your execution is still running so the model is not finished training. Please check again 🙂
2024 May 25 5:26 PM
2024 May 27 9:02 AM
Could you try to continue with step 7? I will check on your model 🙂
2024 May 28 9:02 PM
2024 May 26 7:38 AM
2024 May 27 9:01 AM
have you refreshed your token?
2024 May 27 9:12 AM
2024 May 27 9:29 AM
which scenario id are you using?
2024 May 27 9:31 AM
2024 May 27 9:53 AM
That is the executable ID that you need to continue. Sorry for the misunderstanding! I already got the execution ID for you to make it easier! The correct scenario ID to see all executable IDs is this: 35cd9fbc-7290-4042-b6df-178d74c67363
2024 May 27 10:27 AM
2024 May 26 7:00 PM
2024 May 27 11:50 AM
2024 May 27 6:10 PM - edited 2024 May 27 6:11 PM
@noravonthenen Have managed to get myself into a knot. Last week I used the wrong Scenario ID. Having updated to the correct one and rerun the steps for week 3. Running "Get Executables" just returns, "
2024 May 28 7:38 AM
Hi @geek ,
If you try to get list of your artifacts, there you will find the scenario id, which you can set manually in environment variables list. Hope it solve your problem.
2024 May 28 10:20 AM - edited 2024 May 28 10:36 AM
Finally decided to delete the whole thing and start again, eventually:
@Hira The problem might have been simply that I needed to populate the scenarioId with the scenarioIdRegression.
Stay tuned for next week to deploy your model and run inferences to see your model in action!
@noravonthenen So, there will be a week 5? When will the deadline be for completing this one? Does it need to be complete by Friday or next Wednesday
2024 May 29 10:31 AM
Yes! I just posted week 5! You have time until the end of next week. That's when I will check the results 🙂
2024 May 27 9:51 PM - edited 2024 May 27 9:53 PM
2024 May 28 7:35 AM
Hi @sabarna17
I faced the same issue, noravonthenen suggest to replace trainingExecutableIdRegression value with "340abda5-d605-452a-bf4c-169249aab362" in step 2 and then do the training request.
2024 May 30 9:31 PM - edited 2024 May 30 9:33 PM
Got it. Thanks @Hira . There was also another prob with the below values -
I had to execute the clean-up APIs. Also, I am curious to know about the Clean API for training jobs if there is any.
Now the Job is running and I am waiting. (fingers-crossed)