add docs to split_shuffle_tutorial.ipynb

This commit is contained in:
2025-03-21 05:15:52 -05:00
parent 192ce80598
commit ad5fc0e695
2 changed files with 118 additions and 16 deletions

View File

@@ -61,7 +61,7 @@ class UserKeypad:
# shuffle all keys
keypad_mat = self.keypad_matrix()
np.random.shuffle(keypad_mat)
# select half the property sets
# select half the property positions
prop_permutation = np.random.permutation(self.keypad_size.props_per_key)[: self.keypad_size.props_per_key // 2]
key_permutation = np.random.permutation(self.keypad_size.numb_of_keys)
# shuffle the selected property sets to new keys as a group