Skip to content

data: migrate movielens dataset to new domain#691

Closed
hieuddo wants to merge 2 commits into
PreferredAI:masterfrom
hieuddo:fix-movielens
Closed

data: migrate movielens dataset to new domain#691
hieuddo wants to merge 2 commits into
PreferredAI:masterfrom
hieuddo:fix-movielens

Conversation

@hieuddo
Copy link
Copy Markdown
Member

@hieuddo hieuddo commented May 21, 2026

Description

The http://files.grouplens.org/datasets/movielens domain for movielens dataset is down, so we create backup of the data to static.preferred.ai.

Related Issues

Checklist:

  • I have added tests.
  • I have updated the documentation accordingly.
  • I have updated README.md (if you are adding a new model).
  • I have updated examples/README.md (if you are adding a new example).
  • I have updated datasets/README.md (if you are adding a new dataset).

Copilot AI review requested due to automatic review settings May 21, 2026 16:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Cornac’s built-in MovieLens dataset downloader to use a new mirror (static.preferred.ai) because the original GroupLens file-hosting domain is unavailable, ensuring cornac.datasets.movielens.load_feedback() can still fetch data.

Changes:

  • Switched MovieLens (100K/1M/10M/20M) download URLs from files.grouplens.org to static.preferred.ai.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 30 to 36
"100K": MovieLens(
"http://files.grouplens.org/datasets/movielens/ml-100k/u.data",
"https://static.preferred.ai/cornac/datasets/movielens/ml-100k/u.data",
False,
"ml-100k/u.data",
"\t",
0,
),
Comment on lines 37 to +45
"1M": MovieLens(
"http://files.grouplens.org/datasets/movielens/ml-1m.zip",
"https://static.preferred.ai/cornac/datasets/movielens/ml-1m.zip",
True,
"ml-1m/ratings.dat",
"::",
0,
),
"10M": MovieLens(
"http://files.grouplens.org/datasets/movielens/ml-10m.zip",
"https://static.preferred.ai/cornac/datasets/movielens/ml-10m.zip",
@hieuddo
Copy link
Copy Markdown
Member Author

hieuddo commented May 21, 2026

Merged to fix-build-env

@hieuddo hieuddo closed this May 21, 2026
@hieuddo hieuddo deleted the fix-movielens branch May 21, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants