d2l-en icon indicating copy to clipboard operation
d2l-en copied to clipboard

[PyTorch] Add The MovieLens Dataset

Open KuanHaoHuang opened this issue 2 years ago • 20 comments

Description of changes:

Add PyTorch code to 16.2. The MovieLens Dataset (movielens.md).

related issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

KuanHaoHuang avatar Jan 28 '22 09:01 KuanHaoHuang

Job d2l-en/PR-2030/1 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

mli avatar Jan 28 '22 09:01 mli

Job d2l-en/PR-2030/2 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Feb 23 '22 16:02 d2l-bot

Job d2l-en/PR-2030/2 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Mar 15 '22 08:03 d2l-bot

Job d2l-en/PR-2030/4 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Mar 24 '22 05:03 d2l-bot

can you merge this PR? Since the dataset loading functions are called in every other section of the chapter, its tough for us to develop the subsequent sections

divo12 avatar Jun 27 '22 03:06 divo12

Job d2l-en/PR-2030/6 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Jun 30 '22 00:06 d2l-bot

Job d2l-en/PR-2030/7 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Jul 09 '22 05:07 d2l-bot

Job d2l-en/PR-2030/8 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Aug 29 '22 06:08 d2l-bot

Job d2l-en/PR-2030/9 is complete. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/

d2l-bot avatar Aug 29 '22 17:08 d2l-bot

@KuanHaoHuang could you please rebase this PR to accommodate latest changes from master? That would also trigger the github actions for the same. Thanks!

AnirudhDagar avatar Aug 04 '23 11:08 AnirudhDagar

Hi @KuanHaoHuang, it looks like the merge was not made correctly. Request you to please fix that.

AnirudhDagar avatar Aug 06 '23 22:08 AnirudhDagar

Hi @KuanHaoHuang, it looks like the merge was not made correctly. Request you to please fix that.

Thanks for the reminder, @AnirudhDagar. I made a rookie mistake and just fixed it.

However, even though I rebased to resolve the problem in the d761547 commit, the CI job preview http://preview.d2l.ai/d2l-en/PR-2030/d761547 seems to (weirdly) render the problematic bc7e752, instead of the d761547 commit as shown in the url of the preview.

Is there anything I should do to solve the preview problem to make your review easier? If so, please let me know, thanks!

KuanHaoHuang avatar Aug 07 '23 05:08 KuanHaoHuang

Job PR-2030-d761547 is done. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/d761547

github-actions[bot] avatar Aug 07 '23 05:08 github-actions[bot]

Hi @KuanHaoHuang thanks for the update, yes that's not your fault. I've made another merge from master to include the recent changes. CI should be happy now!

AnirudhDagar avatar Aug 13 '23 10:08 AnirudhDagar

Job PR-2030-d8d5c0e is done. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/d8d5c0e

github-actions[bot] avatar Aug 13 '23 11:08 github-actions[bot]

Hi @AnirudhDagar, Thanks for merging from the master

Even though the commits all look sane, the movielens pages of d8d5c0e preview are not aligned with the d8d5c0e commits and show catastrophically weird results.

Is it possible that we fix the preview and make this code review process smoother?

KuanHaoHuang avatar Aug 14 '23 14:08 KuanHaoHuang

Yes, it seems to be a issue with the cache not being cleared out. I'll fix that and rerun the PR.

AnirudhDagar avatar Aug 14 '23 14:08 AnirudhDagar

Job PR-2030-d8d5c0e is done. Check the results at http://preview.d2l.ai/d2l-en/PR-2030/d8d5c0e

github-actions[bot] avatar Aug 14 '23 14:08 github-actions[bot]

@KuanHaoHuang don't worry about the preview atm, I'll review the PR. Meanwhile if you are interested you can start working on the next sections for recsys chapter.

AnirudhDagar avatar Aug 14 '23 15:08 AnirudhDagar

@KuanHaoHuang don't worry about the preview atm, I'll review the PR. Meanwhile if you are interested you can start working on the next sections for recsys chapter.

Thanks for the heads-up, @AnirudhDagar.

Sure, I'll work on other sections in this chapter. And I won't send another PR before the review of this movielens section finish.

KuanHaoHuang avatar Aug 14 '23 15:08 KuanHaoHuang