megan_mcp
Forum Replies Created
-
Hi @k
Your code seems to be correct. The issue could be that you have accessed the project from the wrong directory.
Make sure when you are launching KX Developer, it is from the course-advanced-capstone directory.
If you are still experiencing this issue, please let me know.
Thanks,
Megan
-
Hi @lonji3_1
Can you download your project.md file and send it to me at mmcparland@kx.com so I can have a closer look?
Thanks,
Megan
-
The .viz.getModSensor function uses data from the sensor table.
You can either edit this function so that the runtime is quicker or apply an attribute to the table on disk (or both).
If you need any further assistance, please let me know.
Thanks,
Megan
-
Hi @lonji3_1
There is no table called “raceTab”, it was the name given to the input parameter for raceDay.
When you ran Profile on .viz.createDashboard[] what function did you find took the longest to run?
Thanks,
Megan
-
Hi @ckeogh1
I see you have received your certificate so congratulations on completing the course!
I’m assuming this issue was resolved?
Thanks,
Megan
-
megan_mcp
AdministratorMay 8, 2024 at 9:12 am in reply to: Kernel disconnected and running into a file save errorHi @GC
You may want to save your answers as this will erase any code you have entered into the notebook.
But if you want to restart your server, go to File -> Hub Control Panel
Then click “Stop my Server” and “Start my Server”.
If this does not resolve the problem, please let me know.
Thanks,
Megan
-
Hi @timbs_1995
If you are still having trouble with this exercise can I ask that you download your project.md file and send it to me at mmcparland@kx.com ?
Thanks,
Megan
-
Hi @timbs_1995
The \l f1 command simply loads in the lap data from disk.
You must then preform your select statement for lapTable.
Thanks,
Megan
-
Hi @timbs_1995
In exercise 2.3, it asks you to define a dictionary using the logic from the table above (screenshot below). This is missing from your function and is needed to be able to complete the functional code for benchmark and chk.
Can I ask that you include this and let me know the outcome?
Thanks,
Megan
-
Hi @timbs_1995
It states in the exercise that you must load the lap table from disk.
To do we use the system command:
\l
**Tip: Instead of listing each individual column, you can simply run
select from lap
To retrieve the entire lap table.
Hope this helps!
Thanks,
Megan
-
Hi @masmail
For question 2.3, you must convert the code that is provided within the .f1.checkSensor function into functional form.
So instead of the following select statement:
benchmark:select benchmarkValue:avg sensorValue by sensorId from lapTab;
It must be in the following format:
Functional Select
?[ table; whereConditions; groupBy; selectedColumns]
Let me know if this helps!
Thanks,
Megan
-
-
Does it pass the tests anyway?
-
Hi @timbs_1995
The table provided above is stating that there are 4 possibilities for the “mysensor” parameter: temp, tyre, wind or all.
If mysensor = temp then what should be returned are all the sensorId’s that include the word temp at the start. So tempBackLeft, tempBackRight, tempFrontLeft, tempFrontRight. The same applies for the rest.
If mysensor = all then all the sensorId’s must be returned.
You must create a dictionary that represents this logic.
Let me know if you have any further questions.
Thanks,
Megan
-
Hi @timbs_1995
Sorry my mistake – you must add the name of the directory.
Which in this case is f1:
\l f1
Thanks,
Megan