1 of 3

  • You can check the lab results in the comment section of your Kaggle notebook.

​

  • Sample title: 2023 lab_0{n}_{studentID1}_{studentID2}_{studentID3}
  • The first student ID stands for the leader’s ID.
  • 🡪 ex. 2023 lab_01_109022521_109022522_109022523
  • *Remember to write the peer assessment at the end of the notebook after finished your work!*

​

  • Bonus: Copy a notebook from your group’s one, finish the bonus part and submit it individually!
  • Sample title: 2023 lab_0{n}_bonus_{studentID}
  • 🡪 ex. 2023 lab_01_bonus_109022521

2 of 3

  • Hints are helpful: the function we mentioned in the problems may help you to solve the problem in more convenience way.
  • Try to read the document and search useful sample codes.

​

  • Function np.where()
  • np.where() with condition argument only --> np.nonzero() with condition.
  • returning the indices (array like) that the element satisfies the condition.
  • Numpy supports indexing on ndarrays. --> select the element satisfies the condition.

​

​

​

3 of 3

  • Ex.

label = data[“label”]

pts = data[“jet_pt”]

top_idx = np.where(label[0,:] == 1)

top_pt = pts[top_idx]

​

​

​

​