예제 #1
0
#                           'RMSE', 'MAE'], with_dump=True, dump_info=dump_info)
# grid_search3 = GridSearch(ItemRelTags, param_grid_with_topic_ml, measures=[
#                           'RMSE', 'MAE'], with_dump=True, dump_info=dump_info)
# grid_search4 = GridSearch(ItemTopics, param_grid_with_topic_ml, measures=[
#                           'RMSE', 'MAE'], with_dump=True, dump_info='ml_best_params_0524')
grid_search7 = GridSearch(ItemTopics,
                          param_grid_with_topic_lt,
                          measures=['RMSE', 'MAE'],
                          with_dump=True,
                          dump_info='lt_best_params_0524')
# grid_search5 = GridSearch(CrossItemTopics, param_grid_with_topic_ml, measures=[
#                           'RMSE', 'MAE'], with_dump=True, dump_info='ml_best_params_0524')
# grid_search6 = GridSearch(CrossItemTopics, param_grid_with_topic_lt, measures=[
#                           'RMSE', 'MAE'], with_dump=True, dump_info='lt_best_params_0524')

# grid_search1.evaluate(ml_dataset)
# grid_search2.evaluate(ml_dataset)
# grid_search3.evaluate(ml_dataset)
# grid_search4.evaluate(ml_dataset)
grid_search7.evaluate(lt_dataset)
# print("----ItemTopics-ml----")
# grid_search4.print_perf()
print("----ItemTopics-lt----")
grid_search7.print_perf()
# grid_search5.evaluate(ml_dataset, aux_dataset=lt_dataset)
# print("----CrossItemTopics-ml----")
# grid_search5.print_perf()
# grid_search6.evaluate(lt_dataset, aux_dataset=ml_dataset)
# print("----CrossItemTopics-lt----")
# grid_search6.print_perf()
예제 #2
0
grid_search1.evaluate(ml_dataset)
grid_search2.evaluate(ml_dataset)
grid_search3.evaluate(ml_dataset)

# grid_search01.evaluate(lt_dataset)
# grid_search11.evaluate(lt_dataset)
# grid_search21.evaluate(lt_dataset)
# grid_search31.evaluate(lt_dataset)
# grid_search4.evaluate(ml_dataset)
# grid_search5.evaluate(lt_dataset)
# grid_search6.evaluate(ml_dataset, aux_dataset=lt_dataset)
# grid_search7.evaluate(lt_dataset, aux_dataset=ml_dataset)

print("----UserItemTags----")
grid_search1.print_perf()
print('----UserItemRelTags----')
grid_search2.print_perf()
print('----ItemRelTags----')
grid_search3.print_perf()

# print("----SVD-lt----")
# grid_search01.print_perf()
# print("----UserItemTags-lt----")
# grid_search11.print_perf()
# print('----UserItemRelTags-lt----')
# grid_search21.print_perf()
# print('----ItemRelTags-lt----')
# grid_search31.print_perf()

# print("----ItemTopics-ml----")