UKNN Explicit

This page analyzes the hyperparameter tuning results for the ItemKNN scorer in explicit-feedback mode.

Parameter Search Space

Parameter Type Distribution Values Selected
max_nbrs Integer Uniform 2 ≤ \(x\) ≤ 50 48
min_nbrs Integer Uniform 1 ≤ \(x\) ≤ 5 1
min_sim Float LogUniform 1e-06 ≤ \(x\) ≤ 0.1 4.08e-06

Final Result

Searching selected the following configuration:

{'max_nbrs': 48, 'min_nbrs': 1, 'min_sim': 4.075276826553249e-06}

With these metrics:

{
    'RBP': 0.013347970606520449,
    'NDCG': 0.3093153921522855,
    'RecipRank': 0.042843178061660464,
    'RMSE': 0.7783596836010851,
    'TrainTask': '9a7620e6-ccb3-48b5-8830-35a44ec31b46',
    'TrainTime': 1.222099859995069,
    'TrainCPU': 1.2169349999999997,
    'TestTask': '2dbf6aaa-fb1f-4d6a-b6c8-175eebe9d549',
    'TestTime': 255.20861398099805,
    'TestCPU': 256.088322,
    'timestamp': 1746311719,
    'checkpoint_dir_name': None,
    'done': True,
    'training_iteration': 1,
    'trial_id': '8e61fcfc',
    'date': '2025-05-03_18-35-19',
    'time_this_iter_s': 258.8388729095459,
    'time_total_s': 258.8388729095459,
    'pid': 1448298,
    'hostname': 'CCI-ws21',
    'node_ip': '10.248.127.152',
    'config': {'max_nbrs': 48, 'min_nbrs': 1, 'min_sim': 4.075276826553249e-06},
    'time_since_restore': 258.8388729095459,
    'iterations_since_restore': 1,
    'experiment_tag': '18_max_nbrs=48,min_nbrs=1,min_sim=0.0000'
}

Parameter Behavior

Neighborhood Size

The neighborhood size is key argument to consider, let’s look at RMSE with repspect to that:

Filtering

There are two filtering parameters we also test — minimum neighbors and mininmum simialrity.