Datasets

SocialFALCON Datasets

Epinions Dataset

Ratings Table [user_id int(11), item_id int(11), rating_value int(11)] Trust Table [source_user_id int(11), target_user_id int(11)]

Fold 1 Train Fold 1 Probe
Fold 2 Train Fold 2 Probe
Fold 3 Train Fold 3 Probe
Fold 4 Train Fold 4 Probe
Fold 5 Train Fold 5 Probe

Flixter Dataset

Ratings Table [user_id int(11), item_id int(11), rating_value int(11)] Trust Table [source_user_id int(11), target_user_id int(11)]

Fold 1 Train Fold 1 Probe
Fold 2 Train Fold 2 Probe
Fold 3 Train Fold 3 Probe
Fold 4 Train Fold 4 Probe
Fold 5 Train Fold 5 Probe

SQL Commands

SQL to create ratings table:

CREATE TABLE IF NOT EXISTS `ratings` (
`user_id` int(11) NOT NULL,
`item_id` int(11) DEFAULT NULL,
`rating_value` int(11) NOT NULL,
KEY `item_id` (`item_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SQL to create trust table:

CREATE TABLE IF NOT EXISTS `trust` (
`source_user_id` int(11) NOT NULL,
`target_user_id` int(11) NOT NULL,
KEY `source_user_id` (`source_user_id`),
KEY `target_user_id` (`target_user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SQL to create train table:

CREATE TABLE IF NOT EXISTS `train` (
`user_id` int(11) NOT NULL,
`item_id` int(11) DEFAULT NULL,
`rating_value` int(11) NOT NULL,
KEY `item_id` (`item_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SQL to create probe table:

CREATE TABLE IF NOT EXISTS `probe` (
`user_id` int(11) NOT NULL,
`item_id` int(11) DEFAULT NULL,
`rating_value` int(11) NOT NULL,
KEY `item_id` (`item_id`),
KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;