Forum Replies Created

Page 7 of 14
  • megan_mcp

    Administrator
    June 3, 2024 at 11:39 am in reply to: Test Case Help

    Hi @Treese_H85

    Apologies for the delay in response.

    Can you make sure you are not running this cell after defining .z.pg, as this reverts it on the server process.

    Let me know if this works !

    Thanks,

    Megan

  • megan_mcp

    Administrator
    June 3, 2024 at 11:29 am in reply to: Sandbox Button Doesn’t Exist

    Hi @KDDevLearning

    Just so that I understand correctly, you missing the following button in your lessons?

    Thanks,

    Megan

  • megan_mcp

    Administrator
    May 23, 2024 at 5:12 pm in reply to: Advanced capstone 3.5 Help

    Hi @nihS

    When the question states “Define a function on our local process” – this is the process you saved to hdbH.

    Try defining the function on this process instead.

    Thanks,

    Megan

  • megan_mcp

    Administrator
    May 20, 2024 at 4:38 pm in reply to: Get the cosine similarity scores along with the retrieved docs

    Hi @Sosycs

    As an example I’ve used snippets from our Document Search sample (screenshot below):

    Simply change the metric to: “metric” : “CS”.

    To see the distance print the results of the similarity search (the distance will be in a column in the result called “__nn_distance”:

    print(table.search(query_vector, n=3))

    Also take a look at our documentation on cosine similarity for extra help – KDB.AI Similarity Metrics – Documentation (kx.com)

    Hope this helps!

    Thanks,

    Megan

  • megan_mcp

    Administrator
    May 20, 2024 at 10:53 am in reply to: Advanced 3.2

    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

  • megan_mcp

    Administrator
    May 15, 2024 at 5:11 pm in reply to: Avd capstone 2.5

    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

  • megan_mcp

    Administrator
    May 14, 2024 at 4:34 pm in reply to: Avd capstone 2.5

    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

  • megan_mcp

    Administrator
    May 14, 2024 at 11:36 am in reply to: Avd capstone 2.5

    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

  • megan_mcp

    Administrator
    May 14, 2024 at 8:18 am in reply to: Advanced Capstone Environment Issue

    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

    Administrator
    May 8, 2024 at 9:12 am in reply to: Kernel disconnected and running into a file save error

    Hi @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

  • megan_mcp

    Administrator
    May 7, 2024 at 9:10 am in reply to: Advanced capstone 2.3

    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

  • megan_mcp

    Administrator
    May 2, 2024 at 1:36 pm in reply to: Advanced capstone 2.2

    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

  • megan_mcp

    Administrator
    May 15, 2024 at 1:06 pm in reply to: Avd capstone 2.5

    Hi @lonji3_1

    Try selecting a different column to apply the #p attribute to.

    Thanks,

    Megan

  • megan_mcp

    Administrator
    May 2, 2024 at 5:26 pm in reply to: Advanced capstone 2.2

    Does it pass the tests anyway?

  • megan_mcp

    Administrator
    May 2, 2024 at 1:33 pm in reply to: Advanced capstone 2.3

    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

Page 7 of 14