author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
88,783 | 08.04.2020 08:39:05 | -3,600 | fa5cfd803d2e98e1f5028468838596cf4b375c8d | fix: change checkout@v1 to checkout@v2 | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -8,7 +8,7 @@ jobs:\nruns-on: ubuntu-latest\nsteps:\n- - uses: actions/checkout@v1\n+ - uses: actions/checkout@v2\n- name: Set up Python 3.7\nuses: actions/setup-python... | Python | MIT License | beta-team/beta-recsys | fix: change checkout@v1 to checkout@v2 |
88,783 | 08.04.2020 08:44:48 | -3,600 | 2f0b145ac25639d139462db90b62b42d1d5f3459 | fix: fix CI pytest cover error | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -60,6 +60,7 @@ jobs:\nrun: |\npython -m pip install --upgrade pip\npip install flake8\n+ pip install pytest-cov\npip install pytest\n- name: Lint with flake8\nrun: |\n... | Python | MIT License | beta-team/beta-recsys | fix: fix CI pytest cover error |
88,783 | 08.04.2020 10:56:25 | -3,600 | 2b06e960eca627defe0a2fb87f30d19f238e0712 | fix: use sys.path.append to fixe the issue of model not found | [
{
"change_type": "DELETE",
"old_path": "beta_rec/train_nmf.py",
"new_path": null,
"diff": "-import sys\n-import json\n-import argparse\n-from datetime import datetime\n-from tqdm import tqdm\n-from beta_rec.models.gmf import GMFEngine\n-from beta_rec.models.mlp import MLPEngine\n-from beta_rec.model... | Python | MIT License | beta-team/beta-recsys | fix: use sys.path.append to fixe the issue of model not found |
88,788 | 08.04.2020 22:33:10 | -28,800 | f4d90435d0c48370bd546becf298f5147012b81e | fix: add dependencies in CI | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -62,6 +62,7 @@ jobs:\npip install flake8\npip install pytest-cov\npip install pytest\n+ pip install -r requirements.txt\n- name: Lint with flake8\nrun: |\n# stop the b... | Python | MIT License | beta-team/beta-recsys | fix: add dependencies in CI |
88,784 | 09.04.2020 21:26:11 | -28,800 | eb2090ca0752f7463b62c3b486d2ebbb33c7e193 | feat: add dataset base model & several datesets model | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "+import os\n+import shutil\n+import pandas as pd\n+import numpy as np\n+\n+from beta_rec.utils.constants import *\n+from beta_rec.utils.download import download_file, get_format\n+\n+\n+class DatasetB... | Python | MIT License | beta-team/beta-recsys | feat: add dataset base model & several datesets model |
88,784 | 11.04.2020 00:51:25 | -28,800 | 441ec45753656a0b1ab9b0a82af57733ea842c64 | fix: fix the dataset class | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -7,21 +7,29 @@ from beta_rec.utils.constants import *\nfrom beta_rec.utils.download import download_file, get_format\n+# download_url\n+ML_100K_URL = r'http://file... | Python | MIT License | beta-team/beta-recsys | fix: fix the dataset class |
88,784 | 11.04.2020 01:06:58 | -28,800 | 77b8b132df049020af04bacfc3e8adc54f3c1319 | fix: rectify the comment msg | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -25,6 +25,7 @@ class DatasetBase(object):\nArgs:\ndataset_name: the dataset name that a folder can be created with.\nurl: the url that can be downloaded the datase... | Python | MIT License | beta-team/beta-recsys | fix: rectify the comment msg |
88,788 | 11.04.2020 12:55:28 | -28,800 | cedec986a5c0e4e77b60c1f45845f0a187e8a83f | feat: add onedrive download | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/download.py",
"new_path": "beta_rec/utils/download.py",
"diff": "import os\nimport requests\n+from beta_rec.utils.onedrive import OneDrive\ndef download_file(url, store_file_path):\n\"\"\"Download the raw dataset file\n@@ -34,3 +35,8 @@ def get_... | Python | MIT License | beta-team/beta-recsys | feat: add onedrive download |
88,788 | 11.04.2020 12:58:16 | -28,800 | 52c331c5eaaf38136cfa5cbd25d16131936dcc31 | chore: add comments from onedrive download | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/download.py",
"new_path": "beta_rec/utils/download.py",
"diff": "@@ -38,5 +38,13 @@ def get_format(suffix):\ndef download_file_from_onedrive(url, path):\n+ \"\"\"Download processed file from OneDrive\n+\n+ Download file from Onedrive with the gi... | Python | MIT License | beta-team/beta-recsys | chore: add comments from onedrive download |
88,788 | 11.04.2020 21:18:22 | -28,800 | 57e264ad07c783cc55a64df0cbeaf536233defb7 | feat: add make_xxx for DatasetBase | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -5,7 +5,7 @@ import numpy as np\nfrom beta_rec.utils.constants import *\nfrom beta_rec.utils.download import download_file, get_format\n-\n+from beta_rec.datasets.... | Python | MIT License | beta-team/beta-recsys | feat: add make_xxx for DatasetBase |
88,788 | 11.04.2020 21:51:48 | -28,800 | e6361c58e6cf8a875c7c3d0e325e7a90ca57c779 | feat: add load_xxx for DatasetBase | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -52,7 +52,8 @@ class DatasetBase(object):\nos.mkdir(self.processed_path)\nif not url:\n- print(f'please download the dataset by your self via {self.manual_download... | Python | MIT License | beta-team/beta-recsys | feat: add load_xxx for DatasetBase |
88,783 | 12.04.2020 00:21:32 | -3,600 | 97d7e7d358ec14e158c086d45aa8c4668224623b | fix: add comments for some old codes | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/eval_engine.py",
"new_path": "beta_rec/eval_engine.py",
"diff": "+import pandas as pd\n+import torch\n+import numpy as np\nfrom threading import Thread\nfrom threading import Lock\nimport beta_rec.utils.evaluation as eval_model\nfrom beta_rec.utils.co... | Python | MIT License | beta-team/beta-recsys | fix: add comments for some old codes |
88,788 | 12.04.2020 22:58:23 | -28,800 | a78b5c3bc205d6e15e238bc42606d063075d2046 | fix: fix onedrive download | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "*.ipynb_checkpoints\n*.ipynb_checkpoints/\n*.npy\n+*.ipynb\n*.ckpt.*\n.coverage\ncoverage.xml\n"
},
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/onedrive.py",
"new_path": "beta_rec/utils... | Python | MIT License | beta-team/beta-recsys | fix: fix onedrive download |
88,788 | 12.04.2020 23:46:27 | -28,800 | 56baa7151dbf21e067e8d6237f32cc5d82339980 | chore: move download_url to derived classes | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -7,14 +7,6 @@ from beta_rec.utils.constants import *\nfrom beta_rec.utils.download import download_file, get_format\nfrom beta_rec.datasets.data_split import data_... | Python | MIT License | beta-team/beta-recsys | chore: move download_url to derived classes |
88,789 | 13.04.2020 15:33:07 | -3,600 | b936267609ee259403a7aadd2eb2a42f6c4b63cb | format/style adjustment | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/eval_engine.py",
"new_path": "beta_rec/eval_engine.py",
"diff": "@@ -172,6 +172,7 @@ class EvalEngine(object):\nself.init_prometheus_client()\nprint(\"Initializing test engine ...\")\n+\ndef predict(self, data_df, model):\n\"\"\" Make prediction for a... | Python | MIT License | beta-team/beta-recsys | format/style adjustment |
88,788 | 13.04.2020 23:06:22 | -28,800 | 1e4b98834c8666a1a8a1d7c486012fc2c87fd5fa | feat: add parameterized path when saving data | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -131,7 +131,7 @@ def feed_neg_sample(data, negative_num, item_sampler):\nreturn total_interact\n-def save_data(data, base_dir, data_split=\"leave_one_basket\", suffix=... | Python | MIT License | beta-team/beta-recsys | feat: add parameterized path when saving data |
88,789 | 13.04.2020 20:52:57 | -3,600 | a3abaca5c430324f0825610e8cf8b05029a7fe30 | fix: ready to run examples/train_nmf.py | [
{
"change_type": "MODIFY",
"old_path": "configs/neumf_default.json",
"new_path": "configs/neumf_default.json",
"diff": "\"map_at_k\"\n],\n\"validate_metric\": \"ndcg_at_k@10\",\n- \"device\":\"gpu\",\n+ \"device_str\":\"gpu\",\n\"optimizer\":\"adam\",\n\"lr\":1e-3,\n\"num_epoch\":50,\n"
},
{
... | Python | MIT License | beta-team/beta-recsys | fix: ready to run examples/train_nmf.py |
88,788 | 14.04.2020 23:00:28 | -28,800 | 91de56f8d7e52e9dfb32f24a1b1d5c42463d939e | fix: fix checkpoint folder not exist | [
{
"change_type": "MODIFY",
"old_path": "examples/train_nmf.py",
"new_path": "examples/train_nmf.py",
"diff": "@@ -105,6 +105,9 @@ if __name__ == \"__main__\":\ncommon_config[\"model_str\"] = (\nconfig[\"model\"] + \"_\" + config[\"config_id\"] + \"_\" + time_str\n)\n+\n+ if not os.path.exists(root_d... | Python | MIT License | beta-team/beta-recsys | fix: fix checkpoint folder not exist |
88,788 | 15.04.2020 00:12:06 | -28,800 | 873d62b5894a304c1d66b3a29d1ba247c86fea10 | fix: modify load_xxx functions | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -5,8 +5,8 @@ import numpy as np\nfrom beta_rec.utils.constants import *\nfrom beta_rec.utils.download import download_file, get_format\n-from beta_rec.datasets.dat... | Python | MIT License | beta-team/beta-recsys | fix: modify load_xxx functions |
88,789 | 14.04.2020 22:09:56 | -3,600 | 0983835b732b4a86627f7de56b612ad41b95e404 | fix: clean the ncf code | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/models/gmf.py",
"new_path": "beta_rec/models/gmf.py",
"diff": "@@ -6,8 +6,8 @@ class GMF(torch.nn.Module):\ndef __init__(self, config):\nsuper(GMF, self).__init__()\nself.config = config\n- self.num_users = config[\"num_users\"]\n- self.num_items = co... | Python | MIT License | beta-team/beta-recsys | fix: clean the ncf code |
88,783 | 15.04.2020 00:12:54 | -3,600 | a28b492e8d985ba0626c5b236a4f929f9a21dc20 | fix: fix pytest missing some package, and data_split failed after filter processing | [
{
"change_type": "MODIFY",
"old_path": "requirements.txt",
"new_path": "requirements.txt",
"diff": "+requests\nprometheus_client\ntensorboardX\nray\n"
},
{
"change_type": "MODIFY",
"old_path": "tests/test_data_split.py",
"new_path": "tests/test_data_split.py",
"diff": "@@ -20,7 +... | Python | MIT License | beta-team/beta-recsys | fix: fix pytest missing some package, and data_split failed after filter processing |
88,788 | 17.04.2020 00:45:10 | -28,800 | 8a65ebffd7c81c72400a5866ca2f8931a69659eb | fix: fix processed data path | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -8,7 +8,7 @@ from beta_rec.utils.aliasTable import AliasTable\nfrom beta_rec.utils.constants import *\n-def fiter_by_count(df, group_col, filter_col, num):\n+def filte... | Python | MIT License | beta-team/beta-recsys | fix: fix processed data path |
88,788 | 17.04.2020 00:58:34 | -28,800 | fec0d9cfcb36ffb4c8bbba1bc60f379df280639b | fix: change default n_negative to 100 | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -429,7 +429,7 @@ class DatasetBase(object):\ntest_data = get_dataframe_from_npz(test_file)\nreturn train_data, valid_data, test_data\n- def load_leave_one_basket(s... | Python | MIT License | beta-team/beta-recsys | fix: change default n_negative to 100 |
88,788 | 17.04.2020 01:06:23 | -28,800 | 0b941619d8e1d5afdba90caa1cd0b516cc31b3f7 | fix: revert codes in leave_one_out | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -374,6 +374,8 @@ def leave_one_out(data, random=False):\ndata[DEFAULT_FLAG_COL] = \"train\"\nif random:\ndata = sklearn.utils.shuffle(data)\n+ else:\n+ data.sort_value... | Python | MIT License | beta-team/beta-recsys | fix: revert codes in leave_one_out |
88,788 | 17.04.2020 01:09:22 | -28,800 | 13a3133fdc88a26ae4810edd7445bd54a6ac20cd | fix: check data columns in leave_one_out | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -161,6 +161,10 @@ class DatasetBase(object):\nif data is None:\ndata = self.load_interaction()\ndata = filter_user_item(data, min_u_c=0, min_i_c=3)\n+\n+ if DEFAUL... | Python | MIT License | beta-team/beta-recsys | fix: check data columns in leave_one_out |
88,788 | 17.04.2020 23:54:17 | -28,800 | 3a18c04135b385ddb68ad3f5b17656127eb603fd | fix: add requirements for ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -59,7 +59,7 @@ jobs:\n- name: Install dependencies\nrun: |\npython -m pip install --upgrade pip\n- pip install -r requirements.txt\n+ pip install -r ci-requirements.tx... | Python | MIT License | beta-team/beta-recsys | fix: add requirements for ci |
88,788 | 17.04.2020 23:57:34 | -28,800 | 9a1bfb86f1b3772f7fe8a8d6a134ed6dc6a0849e | fix: remove ci-requirements | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -59,7 +59,7 @@ jobs:\n- name: Install dependencies\nrun: |\npython -m pip install --upgrade pip\n- pip install -r ci-requirements.txt\n+ pip install -r requirements.tx... | Python | MIT License | beta-team/beta-recsys | fix: remove ci-requirements |
88,788 | 18.04.2020 00:12:55 | -28,800 | 5b8c6b0df633bb429920523d50df91268aac582b | fix: fix processed path | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -418,7 +418,7 @@ class DatasetBase(object):\nprocessed_leave_one_out_path = os.path.join(processed_leave_one_out_path, parameterized_path)\nif not os.path.exists(p... | Python | MIT License | beta-team/beta-recsys | fix: fix processed path |
88,788 | 18.04.2020 00:50:02 | -28,800 | d94b9d08932fe7c9b04b9e5446cabffc6857dc53 | fix: check data format before split | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "import os\nimport shutil\n+import pandas as pd\nfrom beta_rec.utils.constants import *\nfrom beta_rec.utils.common_util import (\nget_dataframe_from_npz,\n@@ -162,6 +... | Python | MIT License | beta-team/beta-recsys | fix: check data format before split |
88,788 | 18.04.2020 00:58:04 | -28,800 | a8987f7af550636b2e6d2cddc9342800910e3afa | fix: check columns before data split | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -353,6 +353,9 @@ class DatasetBase(object):\nif not isinstance(data, pd.DataFrame):\nraise RuntimeError(\"data is not a type of DataFrame\")\n+ if DEFAULT_TIMESTAM... | Python | MIT License | beta-team/beta-recsys | fix: check columns before data split |
88,788 | 18.04.2020 01:05:59 | -28,800 | 25e8df6586d28724ae642557d2bee72d56393873 | fix: fix typos in dataset_base | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -113,7 +113,7 @@ class DatasetBase(object):\ndef preprocess(self):\n\"\"\"Preprocess the raw file.\n- A virtual function that needs to be implement in the dervied ... | Python | MIT License | beta-team/beta-recsys | fix: fix typos in dataset_base |
88,788 | 18.04.2020 01:09:14 | -28,800 | ac87fda446362651b36c179cd78ad3ee5796c93a | chore: fix typos in data_split | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -30,7 +30,7 @@ def filter_by_count(df, group_col, filter_col, num):\ndef filter_user_item(df, min_u_c=5, min_i_c=5):\n- \"\"\"filter data by the minimum purcharce numb... | Python | MIT License | beta-team/beta-recsys | chore: fix typos in data_split |
88,783 | 19.04.2020 12:06:18 | -3,600 | 135f094f7c74509e27dbecddf4a810c5367f2c25 | fix:dataset_base test_copy | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -419,7 +419,7 @@ class DatasetBase(object):\n)\nreturn result\n- def load_leave_one_out(self, random=False, n_negative=100, test_copy=10):\n+ def load_leave_one_ou... | Python | MIT License | beta-team/beta-recsys | fix:dataset_base test_copy |
88,788 | 19.04.2020 22:49:16 | -28,800 | e5ca5b974e75384745c2f48e20ca74bda030c14c | fix: use load_split_data in load_xxx functions | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -455,15 +455,7 @@ class DatasetBase(object):\nself.make_leave_one_out(random=random, n_negative=n_negative, n_test=n_test)\n# load data from local storage\n- train... | Python | MIT License | beta-team/beta-recsys | fix: use load_split_data in load_xxx functions |
88,788 | 19.04.2020 23:41:19 | -28,800 | aab4e168be9a1b71df327009d20b6fce71df4c89 | test: test issue link | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/onedrive.py",
"new_path": "beta_rec/utils/onedrive.py",
"diff": "@@ -94,6 +94,10 @@ class OneDrive:\n)\ndef download(self):\n+ \"\"\"Download files from Onedrive\n+\n+ Download files from Onedrive with the given share link\n+ \"\"\"\nprint(\"Tra... | Python | MIT License | beta-team/beta-recsys | test: [#42] test issue link |
88,788 | 19.04.2020 23:59:11 | -28,800 | bdee31d69de2f9274d6a22ee632830818b17a410 | feat: test issues | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -19,7 +19,7 @@ jobs:\nlast_commit_log=$(git log -1 --pretty=format:\"%s\")\necho \"last commit log: $last_commit_log\"\n- feat=\"feat:[[:space:]].*$\"\n+ feat=\"[#[0-9... | Python | MIT License | beta-team/beta-recsys | [#14] feat: test issues |
88,788 | 20.04.2020 00:03:53 | -28,800 | d7ed45bfb0d123d8ef07c66f2e3c86abde6dd132 | feat: should fail ci | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/onedrive.py",
"new_path": "beta_rec/utils/onedrive.py",
"diff": "@@ -36,6 +36,9 @@ class OneDrive:\n)\ndef _token(self, url):\n+ \"\"\" Decode share link\n+\n+ \"\"\"\nresult = \"u!\" + b64encode(url.encode()).decode()\nresult = result.rstrip(\"... | Python | MIT License | beta-team/beta-recsys | feat: should fail ci |
88,783 | 21.04.2020 09:22:47 | -3,600 | 63b0edaab5e1a60c4f99e023a8e2a4f7da11a58b | chore: remove reduplicative file | [
{
"change_type": "DELETE",
"old_path": "examples/train_nmf.py",
"new_path": null,
"diff": "-import sys\n-\n-sys.path.append(\"../\")\n-import os\n-import json\n-import argparse\n-import pandas as pd\n-from datetime import datetime\n-from tqdm import tqdm\n-from beta_rec.models.gmf import GMFEngine\n... | Python | MIT License | beta-team/beta-recsys | chore: remove reduplicative file |
88,782 | 21.04.2020 19:09:29 | -28,800 | 65cb902eb77e7c537244c1b7733db588b60c6cdc | feat: implement instacart dataset | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/instacart.py",
"diff": "+import os\n+import datetime\n+import numpy as np\n+import pandas as pd\n+from beta_rec.utils.common_util import un_zip, timeit\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_b... | Python | MIT License | beta-team/beta-recsys | feat: implement instacart dataset |
88,782 | 21.04.2020 19:35:31 | -28,800 | 91ea4e32948279a944da37a613ae5989a91a7578 | fix: delete additional onedrive file | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/download.py",
"new_path": "beta_rec/utils/download.py",
"diff": "@@ -31,6 +31,7 @@ def get_format(suffix):\n\"\"\"\nformat_map = {\n'bz2': 'bztar',\n+ 'gz2': 'gztar',\n}\nif suffix not in format_map:\nreturn suffix\n"
},
{
"change_type":... | Python | MIT License | beta-team/beta-recsys | fix: delete additional onedrive file |
88,788 | 21.04.2020 22:58:31 | -28,800 | a7b826f316d6c43875f2c0443c2eaf30fbceee1d | fix: add onedrive url | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -6,6 +6,7 @@ from beta_rec.utils.common_util import (\nget_dataframe_from_npz,\nsave_dataframe_as_npz,\ntimeit,\n+ un_zip\n)\nfrom beta_rec.utils.download import d... | Python | MIT License | beta-team/beta-recsys | fix: add onedrive url |
88,783 | 21.04.2020 21:17:24 | -3,600 | 365f3e837314304a0cfd3d3efee036ad61aa498d | fix: some bugs
1. remove the reduplicative filter procedure
2. torch_engine, set default filename to save and load state
3. triple2vec unnecessary | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -372,7 +372,6 @@ def leave_one_out(data, random=False):\nReturns: Dataframe that have already by labeled by a col with \"train\", \"test\" or \"valid\".\n\"\"\"\nprint... | Python | MIT License | beta-team/beta-recsys | fix: some bugs
1. remove the reduplicative filter procedure
2. torch_engine, set default filename to save and load state
3. triple2vec unnecessary |
88,783 | 21.04.2020 23:16:08 | -3,600 | ed8e0e2711fd5ba73898176ff73b0a640ef39930 | fix: fix bug of evaluation & reduce verbose output | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -199,12 +199,15 @@ def load_split_data(path, n_test=10):\nvalid_data_li = []\ntest_data_li = []\nfor i in range(n_test):\n- print(f\"valid_data_{i} statistics\")\n+\nv... | Python | MIT License | beta-team/beta-recsys | fix: fix bug of evaluation & reduce verbose output |
88,782 | 22.04.2020 20:49:58 | -28,800 | afcb3af2044cbc94f4bfe05849fd097502b96d88 | feat: implement hetrec dataset | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/hetrec.py",
"diff": "+import os\n+import csv\n+import pandas as pd\n+from beta_rec.utils.common_util import un_zip, timeit\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_base import DatasetBase\n+\n+\... | Python | MIT License | beta-team/beta-recsys | feat: implement hetrec dataset |
88,788 | 22.04.2020 22:03:42 | -28,800 | eaa208261cb3583e2c7370c442381a822d92c51c | fix: add movielens_100k and movielens_1m onedrive url | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -465,6 +465,7 @@ class DatasetBase(object):\n# default parameters, can be downloaded from Onedrive\nfolder = OneDrive(url=self.processed_leave_one_out_url, path=do... | Python | MIT License | beta-team/beta-recsys | fix: add movielens_100k and movielens_1m onedrive url |
88,782 | 22.04.2020 22:17:18 | -28,800 | d3e34a753bcbe910046ffc34b264da0f8887f654 | chore: update positions of urls | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/hetrec.py",
"new_path": "beta_rec/datasets/hetrec.py",
"diff": "@@ -5,6 +5,10 @@ from beta_rec.utils.common_util import un_zip, timeit\nfrom beta_rec.utils.constants import *\nfrom beta_rec.datasets.dataset_base import DatasetBase\n+# Downloa... | Python | MIT License | beta-team/beta-recsys | chore: update positions of urls |
88,788 | 24.04.2020 00:11:05 | -28,800 | ecb0bb0c656b9971238a1f964e55e42ece8a019a | fix: add random_split processed data for Epinions and Last_FM | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/epinions.py",
"new_path": "beta_rec/datasets/epinions.py",
"diff": "@@ -7,6 +7,8 @@ from beta_rec.datasets.dataset_base import DatasetBase\n# download_url\nEPINIONS_URL = r'http://www.trustlet.org/datasets/downloaded_epinions/ratings_data.txt... | Python | MIT License | beta-team/beta-recsys | fix: add random_split processed data for Epinions and Last_FM |
88,788 | 24.04.2020 00:20:27 | -28,800 | 16fb32cf7976579be798b71e38bd6c2ad59ac006 | fix: allow timestamp not exist when leave_one_out | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -379,6 +379,7 @@ def leave_one_out(data, random=False):\nif random:\ndata = sklearn.utils.shuffle(data)\nelse:\n+ if DEFAULT_TIMESTAMP_COL in data.columns:\ndata.sort_... | Python | MIT License | beta-team/beta-recsys | fix: allow timestamp not exist when leave_one_out |
88,782 | 24.04.2020 11:32:38 | -28,800 | db582bfe96269f3727c35f82426bc885d8035c39 | feat: implement citeulike-a and citeulike-t datasets | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/citeulike_a.py",
"diff": "+import os\n+import csv\n+import pandas as pd\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_base import DatasetBase\n+\n+# Download URL.\n+CULA_URL = \"https://github.com/js... | Python | MIT License | beta-team/beta-recsys | feat: implement citeulike-a and citeulike-t datasets |
88,782 | 24.04.2020 20:57:02 | -28,800 | 0b325c9468ad913dc0d16c2852ceba82d01d5d05 | feat: implement yelp dataset | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/yelp.py",
"diff": "+import os\n+import json\n+import time\n+import pandas as pd\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_base import DatasetBase\n+\n+# Download URL.\n+YELP_URL = \"https://www.y... | Python | MIT License | beta-team/beta-recsys | feat: implement yelp dataset |
88,788 | 25.04.2020 00:32:31 | -28,800 | 323f7dc08170cd940ed76dc14504fc5046c007a7 | fix: revert leave_one_out | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -379,7 +379,6 @@ def leave_one_out(data, random=False):\nif random:\ndata = sklearn.utils.shuffle(data)\nelse:\n- if DEFAULT_TIMESTAMP_COL in data.columns:\ndata.sort_... | Python | MIT License | beta-team/beta-recsys | fix: revert leave_one_out |
88,788 | 25.04.2020 00:35:28 | -28,800 | 56a004f972c91ce74fb32a62490ea9034c676b34 | fix: use random in leave_one_out when timestamp not exist | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -181,7 +181,7 @@ class DatasetBase(object):\nraise RuntimeError(\"data is not a type of DataFrame\")\nif DEFAULT_TIMESTAMP_COL not in data.columns:\n- raise Runtim... | Python | MIT License | beta-team/beta-recsys | fix: use random in leave_one_out when timestamp not exist |
88,788 | 25.04.2020 12:44:42 | -28,800 | ef16c75918b668df83945ca388b34e8a6879822f | fix: fix tafeng download file path | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -81,7 +81,8 @@ class DatasetBase(object):\nif not url:\nprint(\n- f\"please download the dataset by your self via {self.manual_download_url} and put it into {self.... | Python | MIT License | beta-team/beta-recsys | fix: fix tafeng download file path |
88,788 | 25.04.2020 14:23:31 | -28,800 | 2be1dc4abbf85936459d82b3457856e4c61d77d4 | fix: add random_split processed data in LastFM | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/last_fm.py",
"new_path": "beta_rec/datasets/last_fm.py",
"diff": "@@ -8,6 +8,7 @@ from beta_rec.datasets.dataset_base import DatasetBase\nLAST_FM_URL = r'http://files.grouplens.org/datasets/hetrec2011/hetrec2011-lastfm-2k.zip'\n# processed da... | Python | MIT License | beta-team/beta-recsys | fix: add random_split processed data in LastFM |
88,788 | 25.04.2020 15:40:37 | -28,800 | 54e8f1575c42d6c26ab9879c3ababf533c956402 | fix: add random_split processed data in Tafeng | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/tafeng.py",
"new_path": "beta_rec/datasets/tafeng.py",
"diff": "@@ -8,6 +8,8 @@ from beta_rec.datasets.dataset_base import DatasetBase\n# download_url\nTAFENG_URL = r\"https://www.kaggle.com/chiranjivdas09/ta-feng-grocery-dataset/download\"\n... | Python | MIT License | beta-team/beta-recsys | fix: add random_split processed data in Tafeng |
88,788 | 25.04.2020 18:23:31 | -28,800 | 8cd921d473f7fe5b45605438d9576cdc24b454db | fix: add leave_one_out processed data in Epinions | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/epinions.py",
"new_path": "beta_rec/datasets/epinions.py",
"diff": "@@ -8,6 +8,7 @@ from beta_rec.datasets.dataset_base import DatasetBase\nEPINIONS_URL = r'http://www.trustlet.org/datasets/downloaded_epinions/ratings_data.txt.bz2'\n# process... | Python | MIT License | beta-team/beta-recsys | fix: add leave_one_out processed data in Epinions |
88,782 | 25.04.2020 19:45:36 | -28,800 | 394d748bef2fd20a1380befc9698c39baedd56bb | fix: change checked file path | [
{
"change_type": "ADD",
"old_path": "beta_rec/datasets/gowalla.py",
"new_path": "beta_rec/datasets/gowalla.py",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/instacart.py",
"new_path": "beta_rec/datasets/instacart.py",
"diff": "@@ -6,6 +6,9 @@ from beta_... | Python | MIT License | beta-team/beta-recsys | fix: change checked file path |
88,788 | 25.04.2020 20:56:36 | -28,800 | a3817e6c49114e889a08880eb08e8a15020bc0e4 | fix: add processed data for Dunhumby and Tafeng | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dunnhumby.py",
"new_path": "beta_rec/datasets/dunnhumby.py",
"diff": "@@ -5,6 +5,17 @@ from beta_rec.utils.common_util import un_zip, timeit\nfrom beta_rec.utils.constants import *\nfrom beta_rec.datasets.dataset_base import DatasetBase\n+# d... | Python | MIT License | beta-team/beta-recsys | fix: add processed data for Dunhumby and Tafeng |
88,778 | 25.04.2020 14:16:47 | -3,600 | 381b2a2a74628ca71c38c2b9c4fbb02b608ae86c | Update latest features | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -38,4 +38,3 @@ datasets/\n!beta_rec/datasets/\nruns/\nsamples/\n-\n"
},
{
"change_type": "MODIFY",
"old_path": "configs/ncf_default.json",
"new_path": "configs/ncf_default.json",
"diff": "\... | Python | MIT License | beta-team/beta-recsys | Update latest features |
88,782 | 25.04.2020 22:24:56 | -28,800 | 1f847945e426141d8967ad3672a76197d79e6879 | feat: implement yoochoose dataset | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/gowalla.py",
"new_path": "beta_rec/datasets/gowalla.py",
"diff": "@@ -80,7 +80,7 @@ class Gowalla(DatasetBase):\nnames=[DEFAULT_USER_COL, DEFAULT_TIMESTAMP_COL, DEFAULT_ITEM_COL],\n)\n# Add rating column into the table.\n- prior_transactions.... | Python | MIT License | beta-team/beta-recsys | feat: implement yoochoose dataset |
88,778 | 25.04.2020 17:02:18 | -3,600 | ac45739bf6c510050061e21895ac957b5195bbd7 | feat:convert interactions to sequences | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/seq_data_utils.py",
"diff": "+import numpy as np\n+import pandas as pd\n+\n+import torch\n+from torch.utils.data import Dataset\n+\n+\n+def reindex_items(train_data, valid_data=None, test_data=None):\n+ train_data = train_data.... | Python | MIT License | beta-team/beta-recsys | feat:convert interactions to sequences |
88,783 | 26.04.2020 00:03:31 | -3,600 | ecd3a7eb3121ca301b63522eed47135d1e7636c1 | fix: reduce verbose out put | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -199,12 +199,14 @@ def load_split_data(path, n_test=10):\nvalid_data_li = []\ntest_data_li = []\nfor i in range(n_test):\n- print(f\"valid_data_{i} statistics\")\nvali... | Python | MIT License | beta-team/beta-recsys | fix: reduce verbose out put |
88,782 | 26.04.2020 12:42:32 | -28,800 | 58b1ba2c8592b01d4c3452cb419ef0d47c855e1f | feat: implement diginetica dataset | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/diginetica.py",
"diff": "+import os\n+import time\n+import pandas as pd\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_base import DatasetBase\n+\n+# Download URL.\n+DIGINETICA_URL = \"https://cikm201... | Python | MIT License | beta-team/beta-recsys | feat: implement diginetica dataset |
88,782 | 26.04.2020 12:44:03 | -28,800 | 6dfaaf51dd9f1745aa43413f65eca111479b180d | fix: delete additional nrows features of diginetica | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/diginetica.py",
"new_path": "beta_rec/datasets/diginetica.py",
"diff": "@@ -79,7 +79,6 @@ class Diginetica(DatasetBase):\nDEFAULT_ITEM_COL,\nDEFAULT_TIMESTAMP_COL,\n],\n- nrows=10,\n)\n# Step 3: Add rating column and create timestamp column.\... | Python | MIT License | beta-team/beta-recsys | fix: delete additional nrows features of diginetica |
88,782 | 26.04.2020 15:18:32 | -28,800 | fed8b87084316ba9770edaf7fea5ef0c3705df54 | feat: implement taobao dataset | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/diginetica.py",
"new_path": "beta_rec/datasets/diginetica.py",
"diff": "@@ -53,7 +53,7 @@ class Diginetica(DatasetBase):\nand save in the processed directory\nDownload datasets if not existed.\n- yoochoose_name: yoochoose-buys.dat\n+ digineti... | Python | MIT License | beta-team/beta-recsys | feat: implement taobao dataset |
88,782 | 26.04.2020 18:56:13 | -28,800 | ce04d390e8dd935706ca61aaa5e7f65fd7e30ed5 | feat: implement RetailRocket and AliMobile datasets | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/ali_mobile.py",
"diff": "+import os\n+import time\n+import pandas as pd\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_base import DatasetBase\n+\n+# Download URL\n+ALIMOBILE_URL = \"https://tianchi.a... | Python | MIT License | beta-team/beta-recsys | feat: implement RetailRocket and AliMobile datasets |
88,788 | 26.04.2020 21:53:57 | -28,800 | 5dce65cf0e07187992279947165f2d0f5fadcf96 | fix: add random_split and temporal_split processed data for Instacart | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/instacart.py",
"new_path": "beta_rec/datasets/instacart.py",
"diff": "@@ -9,6 +9,10 @@ from beta_rec.datasets.dataset_base import DatasetBase\n# Download URL.\nINSTACART_URL = 'https://s3.amazonaws.com/instacart-datasets/instacart_online_groc... | Python | MIT License | beta-team/beta-recsys | fix: add random_split and temporal_split processed data for Instacart |
88,788 | 27.04.2020 17:15:15 | -28,800 | 55a527015219a8a0930313e4f4b757c0466e86a8 | Update python_ci.yml | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -60,6 +60,7 @@ jobs:\nrun: |\npython -m pip install --upgrade pip\npip install -r requirements.txt\n+ pip install pdoc3==0.7.5\n- name: Lint with flake8\nrun: |\n# sto... | Python | MIT License | beta-team/beta-recsys | Update python_ci.yml |
88,788 | 27.04.2020 17:22:37 | -28,800 | de0849e7cc576303b2b21fad40ebf2007fc50447 | fix: generate documents in ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -61,12 +61,14 @@ jobs:\npython -m pip install --upgrade pip\npip install -r requirements.txt\npip install pdoc3==0.7.5\n+\n- name: Lint with flake8\nrun: |\n# stop the... | Python | MIT License | beta-team/beta-recsys | fix: generate documents in ci |
88,788 | 27.04.2020 17:43:39 | -28,800 | f59678c08c042fa4ed0a129594435a25731d3f46 | fix: install tune in ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -61,14 +61,13 @@ jobs:\npython -m pip install --upgrade pip\npip install -r requirements.txt\npip install pdoc3==0.7.5\n-\n+ pip install 'ray[rllib]'\n- name: Lint wit... | Python | MIT License | beta-team/beta-recsys | fix: install tune in ci |
88,788 | 27.04.2020 18:14:09 | -28,800 | e3292b189a21f709b8db19fb765f7c2c859e5b5a | fix: fix git clone path in ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -77,8 +77,8 @@ jobs:\npdoc3 --html .\n- name: Push Documentation to Remote Repository\nrun: |\n- git clone https://github.com/beta-team/docs.git html\n- cd html\n+ git... | Python | MIT License | beta-team/beta-recsys | fix: fix git clone path in ci |
88,788 | 27.04.2020 18:20:03 | -28,800 | fcb9037884d8d5f34db26a7f6dfe889aa3378a6f | fix: not checkout master in ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -79,7 +79,6 @@ jobs:\nrun: |\ngit clone https://github.com/beta-team/docs.git docs\ncd docs\n- git checkout master\ncp -rf ../html/* ./\npwd\nls -a\n"
}
] | Python | MIT License | beta-team/beta-recsys | fix: not checkout master in ci |
88,788 | 27.04.2020 18:49:00 | -28,800 | c8e68caf745a2ce2356216c79ecbd52fdc4ed8d2 | fix: add user config in ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -77,6 +77,8 @@ jobs:\npdoc3 --html .\n- name: Push Documentation to Remote Repository\nrun: |\n+ git config --global user.name leungyukshing\n+ git config --global use... | Python | MIT License | beta-team/beta-recsys | fix: add user config in ci |
88,788 | 27.04.2020 18:53:57 | -28,800 | 047b6188c7f4d92cff89a1a70fc6b2960f485f2a | fix: fix typos in link | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -86,4 +86,4 @@ jobs:\nls -a\ngit add .\ngit commit -m \"Auto Generate Documentation By CI\"\n- git push --force \"hhtps://${{secrets.REPO_TOKEN}}@github.com/beta-team/... | Python | MIT License | beta-team/beta-recsys | fix: fix typos in link |
88,788 | 27.04.2020 19:18:52 | -28,800 | 6dd2f8fe2ba5e93a460daf0f72b74741fb1e77ce | fix: add username in push | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -86,4 +86,4 @@ jobs:\nls -a\ngit add .\ngit commit -m \"Auto Generate Documentation By CI\"\n- git push --force \"https://${{secrets.REPO_TOKEN}}@github.com/beta-team/... | Python | MIT License | beta-team/beta-recsys | fix: add username in push |
88,782 | 27.04.2020 19:32:58 | -28,800 | e48eaa0404a25147eb9d7814b386214a2d2e5bd0 | fix: merge citeulike-a and citeulike-t into citeulike | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "beta_rec/datasets/citeulike.py",
"diff": "+import os\n+import csv\n+import pandas as pd\n+from beta_rec.utils.constants import *\n+from beta_rec.datasets.dataset_base import DatasetBase\n+\n+# Download URL.\n+CULA_URL = \"https://github.com/js05... | Python | MIT License | beta-team/beta-recsys | fix: merge citeulike-a and citeulike-t into citeulike |
88,788 | 27.04.2020 19:45:25 | -28,800 | 9a95919493b020b4607d62372dd62294906ab6e4 | fix: remove username | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -86,4 +86,4 @@ jobs:\nls -a\ngit add .\ngit commit -m \"Auto Generate Documentation By CI\"\n- git push --force \"https://leungyukshing:${{secrets.REPO_TOKEN}}@github.... | Python | MIT License | beta-team/beta-recsys | fix: remove username |
88,788 | 27.04.2020 19:54:31 | -28,800 | 5c405412d65928f468b01c9e9deccb51562e1553 | fix: log remote for debug | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -84,6 +84,7 @@ jobs:\ncp -rf ../html/* ./\npwd\nls -a\n+ git remote -v\ngit add .\ngit commit -m \"Auto Generate Documentation By CI\"\ngit push --force \"https://${{s... | Python | MIT License | beta-team/beta-recsys | fix: log remote for debug |
88,788 | 27.04.2020 20:07:24 | -28,800 | 91ec52bf41682e009d53da730488f47427811634 | test: test git push | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -87,4 +87,9 @@ jobs:\ngit remote -v\ngit add .\ngit commit -m \"Auto Generate Documentation By CI\"\n- git push --force \"https://${{secrets.REPO_TOKEN}}@github.com/be... | Python | MIT License | beta-team/beta-recsys | test: test git push |
88,788 | 28.04.2020 00:16:24 | -28,800 | 7fe9d419b0e1c1090653676a235e4e1907e3c51a | fix: remove document generation in ci | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/python_ci.yml",
"new_path": ".github/workflows/python_ci.yml",
"diff": "@@ -60,8 +60,6 @@ jobs:\nrun: |\npython -m pip install --upgrade pip\npip install -r requirements.txt\n- pip install pdoc3==0.7.5\n- pip install 'ray[rllib]'\n- name: Lin... | Python | MIT License | beta-team/beta-recsys | fix: remove document generation in ci |
88,783 | 27.04.2020 21:13:23 | -3,600 | 284105fb325b4e63310e4433d601c366796e2b79 | feat: make/load item and user feature | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/movielens.py",
"new_path": "beta_rec/datasets/movielens.py",
"diff": "@@ -6,18 +6,18 @@ from beta_rec.utils.constants import *\nfrom beta_rec.datasets.dataset_base import DatasetBase\n# download_url\n-ML_100K_URL = r'http://files.grouplens.or... | Python | MIT License | beta-team/beta-recsys | feat: make/load item and user feature |
88,788 | 30.04.2020 01:36:42 | -28,800 | cc1fd66ab06f67a2372521a210458e022f5e3d11 | fix: add script to generate document | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "@@ -38,3 +38,4 @@ datasets/\n!beta_rec/datasets/\nruns/\nsamples/\n+html/\n\\ No newline at end of file\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "gen_doc.sh",
"diff": "+#!/u... | Python | MIT License | beta-team/beta-recsys | fix: add script to generate document |
88,783 | 30.04.2020 09:01:19 | -3,600 | 44762292895a1abad4f0fc294c28ab065123d770 | fix:rewrite timeit wrapper | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/utils/common_util.py",
"new_path": "beta_rec/utils/common_util.py",
"diff": "@@ -5,6 +5,7 @@ import numpy as np\nimport torch\nimport pandas as pd\nimport zipfile\n+from functools import wraps\nfrom beta_rec.utils.constants import *\n@@ -156,8 +157,7 ... | Python | MIT License | beta-team/beta-recsys | fix:rewrite timeit wrapper |
88,788 | 01.05.2020 12:34:13 | -28,800 | 7b69253e15cbcba3b6b0cbc5d3753dada46f6468 | chore: remove unused code in movielens | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/movielens.py",
"new_path": "beta_rec/datasets/movielens.py",
"diff": "@@ -30,88 +30,6 @@ ml_1m_temporal_dir = \"datasets/ml-1m/temporal\"\nml_1m_l1o_dir = os.path.join(par_abs_dir, \"datasets/ml-1m/leave_one_out\")\n-def load_data(data_dir, m... | Python | MIT License | beta-team/beta-recsys | chore: remove unused code in movielens |
88,783 | 01.05.2020 21:24:30 | -3,600 | ae5d73204c3b979a544530c81c9219f34ab5e6ed | feat:Save and load validation & test set without negative sampling. close | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -124,11 +124,11 @@ def feed_neg_sample(data, negative_num, item_sampler):\n\"\"\"feed_neg_sample\nArgs:\n- data: Dataframe. of interactions.\n+ data: DataFrame. of int... | Python | MIT License | beta-team/beta-recsys | feat:Save and load validation & test set without negative sampling. close #69 |
88,783 | 01.05.2020 21:33:36 | -3,600 | f4b414b713b785aaaeda6baaaa3186e3d1aafb4c | recover ncf.py | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/models/ncf.py",
"new_path": "beta_rec/models/ncf.py",
"diff": "@@ -115,8 +115,8 @@ class NeuMFEngine(Engine):\nself.config[\"model_ckp_file\"] + self.config[\"pretrain_mlp\"], mlp_model\n)\n- self.model.embedding_user_mlp.weight.data = mlp_model.embed... | Python | MIT License | beta-team/beta-recsys | recover ncf.py |
88,783 | 01.05.2020 21:36:07 | -3,600 | e5407d9fb65ab4102a8b1b6e1a86c7f6425738b2 | recover mlp.py | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/models/mlp.py",
"new_path": "beta_rec/models/mlp.py",
"diff": "@@ -99,5 +99,5 @@ class MLPEngine(Engine):\nself.resume_checkpoint(\nself.config[\"model_ckp_file\"] + self.config[\"pretrain_gmf\"], gmf_model\n)\n- self.model.embedding_user.weight.data ... | Python | MIT License | beta-team/beta-recsys | recover mlp.py |
88,783 | 02.05.2020 11:46:25 | -3,600 | bd09e0d6467dc911d895c9c3bbffb1470697987c | fix:reuse the save and load npz method from common_util, format split dataframe output | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -6,6 +6,7 @@ import sklearn\nfrom tqdm import tqdm\nfrom tabulate import tabulate\nfrom beta_rec.utils.aliasTable import AliasTable\n+from beta_rec.utils.common_util i... | Python | MIT License | beta-team/beta-recsys | fix:reuse the save and load npz method from common_util, format split dataframe output |
88,783 | 03.05.2020 01:37:13 | -3,600 | a75e973b75fa871ac6bddd4683891a20b02f5f5b | fix: bug in the data_util, rename some variable name and file name, fix the checkpoint save wrong path. | [
{
"change_type": "RENAME",
"old_path": "beta_rec/datasets/dataset.py",
"new_path": "beta_rec/datasets/data_load.py",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "beta_rec/eval_engine.py",
"new_path": "beta_rec/eval_engine.py",
"diff": "@@ -128,7 +128,6 @@ def test_eval_w... | Python | MIT License | beta-team/beta-recsys | fix: bug in the data_util, rename some variable name and file name, fix the checkpoint save wrong path. |
88,783 | 03.05.2020 12:13:56 | -3,600 | 2e9d597536a33d7b31771e79d25d35ac0cbe63c0 | fix: ncf cannot find the correct model_save_dir. chores: rename NGCF.py -> ngcf.py | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/models/gmf.py",
"new_path": "beta_rec/models/gmf.py",
"diff": "@@ -79,7 +79,7 @@ class GMFEngine(Engine):\n\"\"\"Loading weights from trained GMF model\"\"\"\ngmf_model = GMF(self.config)\nself.resume_checkpoint(\n- self.config[\"model_ckp_file\"] + s... | Python | MIT License | beta-team/beta-recsys | fix: ncf cannot find the correct model_save_dir. chores: rename NGCF.py -> ngcf.py |
88,783 | 03.05.2020 22:45:22 | -3,600 | b1b55348889a1a334162bca9b23fed19933d76b0 | fix: reuse some common data utils, fix some bug in ngcf | [
{
"change_type": "DELETE",
"old_path": "beta_rec/datasets/NGCF_data_utils.py",
"new_path": null,
"diff": "-import numpy as np\n-import random as rd\n-import scipy.sparse as sp\n-from time import time\n-from collections import defaultdict\n-from itertools import count\n-import pandas as pd\n-\n-\n-cl... | Python | MIT License | beta-team/beta-recsys | fix: reuse some common data utils, fix some bug in ngcf |
88,781 | 04.05.2020 12:35:47 | -3,600 | 2e4014b8833be23807ad8b845fa940ed94362cf8 | NGCF--fix batch_data error | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/models/ngcf.py",
"new_path": "beta_rec/models/ngcf.py",
"diff": "@@ -137,22 +137,21 @@ class NGCFEngine(Engine):\nloss = batch_loss.item()\nreturn loss\n- def train_an_epoch(self, epoch_id, user, pos_i, neg_i):\n+ def train_an_epoch(self, train_loader... | Python | MIT License | beta-team/beta-recsys | NGCF--fix batch_data error |
88,783 | 04.05.2020 16:35:07 | -3,600 | 3a933a6349c60581fcd72d938873d7252664b9df | fix: fix a bug that mlp doesnt load pretrain | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/models/mlp.py",
"new_path": "beta_rec/models/mlp.py",
"diff": "@@ -62,7 +62,7 @@ class MLPEngine(Engine):\nself.gmf_config = gmf_config\nsuper(MLPEngine, self).__init__(config)\nself.model.to(self.device)\n- if gmf_config is None:\n+ if gmf_config is ... | Python | MIT License | beta-team/beta-recsys | fix: fix a bug that mlp doesnt load pretrain |
88,788 | 05.05.2020 19:56:50 | -28,800 | c798bc22a7eb6ffc4c7843bccbc30b516f1620c9 | chore: format codes in example | [
{
"change_type": "MODIFY",
"old_path": "examples/train_cornac.py",
"new_path": "examples/train_cornac.py",
"diff": "@@ -10,42 +10,19 @@ are returned by dataset fetching and dataset pre-processing functions.\n\"\"\"\nimport numpy as np\n-import pandas as pd\n-import pickle\nimport argparse\n-import j... | Python | MIT License | beta-team/beta-recsys | chore: format codes in example |
88,788 | 05.05.2020 20:34:36 | -28,800 | afb4011c6ae3e2192e4cdf8cec705b0ab4650003 | chore: format example codes | [
{
"change_type": "MODIFY",
"old_path": "examples/train_cornac.py",
"new_path": "examples/train_cornac.py",
"diff": "@@ -121,22 +121,22 @@ if __name__ == \"__main__\":\ntime_str = datetime.now().strftime(\"%Y%m%d_%H%M%S\")\nlog_file = (\n- root_dir\n- + \"logs/cornac\"\n- + \"_\"\n- + config[\"datase... | Python | MIT License | beta-team/beta-recsys | chore: format example codes |
88,788 | 05.05.2020 20:51:50 | -28,800 | c8705bdf4dba79082e1398e52f8ca76b0b836017 | chore: format code in dataset_base | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -2,7 +2,7 @@ import os\nimport shutil\nimport pandas as pd\nfrom tabulate import tabulate\n-from beta_rec.utils.constants import *\n+from beta_rec.utils.constants ... | Python | MIT License | beta-team/beta-recsys | chore: format code in dataset_base |
88,783 | 05.05.2020 15:05:24 | -3,600 | a2e41c4b1546cb7339f517aa21c3b890179fbb52 | fix: fix bug in raw data path of tafeng dataset, change source file to the raw data haveing basket information | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/tafeng.py",
"new_path": "beta_rec/datasets/tafeng.py",
"diff": "import os\nimport pandas as pd\n+import numpy as np\n-from beta_rec.utils.constants import DEFAULT_TIMESTAMP_COL, DEFAULT_USER_COL, DEFAULT_ITEM_COL, DEFAULT_RATING_COL\n+from be... | Python | MIT License | beta-team/beta-recsys | fix: fix bug in raw data path of tafeng dataset, change source file to the raw data haveing basket information |
88,788 | 05.05.2020 23:26:10 | -28,800 | 6193c9e086248450a6385faff3a5855803e986f3 | chore: set syspath before importing beta_rec | [
{
"change_type": "MODIFY",
"old_path": "examples/train_cornac.py",
"new_path": "examples/train_cornac.py",
"diff": "@@ -8,10 +8,12 @@ are returned by dataset fetching and dataset pre-processing functions.\n@author: Zaiqiao Meng (zaiqiao.meng@gmail.com)\n\"\"\"\n-\nimport numpy as np\nimport argparse... | Python | MIT License | beta-team/beta-recsys | chore: set syspath before importing beta_rec |
88,784 | 05.05.2020 23:59:10 | -28,800 | f9dec4f0911c38129aaedcb7aba6c2cfd0e86fa3 | fix: fix the doc default root_dir problem | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/dataset_base.py",
"new_path": "beta_rec/datasets/dataset_base.py",
"diff": "@@ -29,7 +29,7 @@ class DatasetBase(object):\nself,\ndataset_name,\nurl=None,\n- root_dir=default_root_dir,\n+ root_dir=None,\nmanual_download_url=None,\nprocessed_le... | Python | MIT License | beta-team/beta-recsys | fix: fix the doc default root_dir problem |
88,783 | 05.05.2020 21:05:28 | -3,600 | dc9219ded0c4e8b80efedd8e37723a6f1f225932 | fix:add disable_numparse when showing statistics | [
{
"change_type": "MODIFY",
"old_path": "beta_rec/datasets/data_split.py",
"new_path": "beta_rec/datasets/data_split.py",
"diff": "@@ -239,6 +239,7 @@ def load_split_data(path, n_test=10):\nvalid_df.agg([\"count\", \"nunique\"]),\nheaders=valid_df.columns,\ntablefmt=\"psql\",\n+ disable_numparse=True... | Python | MIT License | beta-team/beta-recsys | fix:add disable_numparse when showing statistics |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.