Comments (7)
Sorry, I forgot to mention in the readme that the ml-1m data set requires manually replacing the delimiters in the file [ratings.dat] with spaces.
from cochelab.
[2023-12-26 16:46:26,513]-[INFO - lib.callback]
Processing ./data/datasets/meta/ml-1m/ratings.dat ...
[2023-12-26 16:46:43,440]-[INFO - lib.callback]
Processing ./data/datasets/meta/ml-1m/ratings.dat complete. time consuming:00 hour - 00 min - 16 s
[2023-12-26 16:46:43,441]-[INFO - lib.callback]
./data/datasets/meta/ml-1m/ratings.dat
Report
Users: 6040
Reqs: 3706
Interactions: 1000209
Avg Req Len: 165.60
Avg useful Req Len: 165.60
Sparsity: 0.9553
[2023-12-26 16:46:44,572]-[INFO - lib.callback]
Reprocessing, cut or fill to 55 ...
[2023-12-26 16:46:54,285]-[INFO - lib.callback]
Reprocessing, cut or fill to 55 ... complete. time consuming:00 hour - 00 min - 09 s
[2023-12-26 16:46:54,287]-[INFO - lib.callback]
divide dataset ...
[2023-12-26 16:46:56,895]-[INFO - lib.callback]
divide dataset ... complete.
[2023-12-26 16:46:56,897]-[INFO - lib.callback]
Processing ./data/datasets/meta/appliances/Appliances.json ...
[2023-12-26 16:46:56,992]-[INFO - lib.callback]
Processing ./data/datasets/meta/appliances/Appliances.json complete. time consuming:00 hour - 00 min - 00 s
[2023-12-26 16:46:56,993]-[INFO - lib.callback]
./data/datasets/meta/appliances/Appliances.json
Report
Users: 18
Reqs: 26
Interactions: 107
Avg Req Len: 5.94
Avg useful Req Len: 5.94
Sparsity: 0.7714
[2023-12-26 16:46:57,000]-[INFO - lib.callback]
Reprocessing, cut or fill to 25 ...
[2023-12-26 16:46:57,020]-[INFO - lib.callback]
Reprocessing, cut or fill to 25 ... complete. time consuming:00 hour - 00 min - 00 s
[2023-12-26 16:46:57,058]-[INFO - lib.callback]
divide dataset ...
[2023-12-26 16:46:57,094]-[INFO - lib.callback]
divide dataset ... complete.
[2023-12-26 16:46:57,095]-[INFO - lib.callback]
Processing ./data/datasets/process/lite/Digital_Music_lite.data ...
Traceback (most recent call last):
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\executor.py", line 30, in
run_pcr(cfg = dp_cfg);
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\generator.py", line 92, in run_pcr
dataset = rev_generate(dp_cfg['src']);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\generator.py", line 68, in rev_generate
dataset = pcr.rev_pcr(src = src);
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\processor.py", line 210, in rev_pcr
data = np.zeros((ju.jsonlen(src), 3), dtype = int);
^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\lib\json_util.py", line 69, in jsonlen
f = open(src, 'r');
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './data/datasets/process/lite/Digital_Music_lite.data'
from cochelab.
from cochelab.
I changed the data processing configuration file before while debugging, but I forgot to change it back when I was done.
Just enter
and change the configure into
And place the downloaded original json file in the corresponding path.
Also, I will also update the configuration file in the repository.
Thank you for your feedback
from cochelab.
Thanks for the update. There are some errors after doing the above-said correction.
[2023-12-27 09:58:46,656]-[INFO - lib.callback]
Processing ./data/datasets/meta/ml-1m/ratings.dat ...
[2023-12-27 09:59:03,088]-[INFO - lib.callback]
Processing ./data/datasets/meta/ml-1m/ratings.dat complete. time consuming:00 hour - 00 min - 16 s
[2023-12-27 09:59:03,096]-[INFO - lib.callback]
./data/datasets/meta/ml-1m/ratings.dat
Report
Users: 6040
Reqs: 3706
Interactions: 1000209
Avg Req Len: 165.60
Avg useful Req Len: 165.60
Sparsity: 0.9553
[2023-12-27 09:59:04,271]-[INFO - lib.callback]
Reprocessing, cut or fill to 55 ...
[2023-12-27 09:59:13,580]-[INFO - lib.callback]
Reprocessing, cut or fill to 55 ... complete. time consuming:00 hour - 00 min - 09 s
[2023-12-27 09:59:13,585]-[INFO - lib.callback]
divide dataset ...
[2023-12-27 09:59:16,012]-[INFO - lib.callback]
divide dataset ... complete.
[2023-12-27 09:59:16,013]-[INFO - lib.callback]
Processing ./data/datasets/meta/appliances/Appliances.json ...
[2023-12-27 09:59:16,098]-[INFO - lib.callback]
Processing ./data/datasets/meta/appliances/Appliances.json complete. time consuming:00 hour - 00 min - 00 s
[2023-12-27 09:59:16,100]-[INFO - lib.callback]
./data/datasets/meta/appliances/Appliances.json
Report
Users: 18
Reqs: 26
Interactions: 107
Avg Req Len: 5.94
Avg useful Req Len: 5.94
Sparsity: 0.7714
[2023-12-27 09:59:16,106]-[INFO - lib.callback]
Reprocessing, cut or fill to 25 ...
[2023-12-27 09:59:16,126]-[INFO - lib.callback]
Reprocessing, cut or fill to 25 ... complete. time consuming:00 hour - 00 min - 00 s
[2023-12-27 09:59:16,172]-[INFO - lib.callback]
divide dataset ...
[2023-12-27 09:59:16,206]-[INFO - lib.callback]
divide dataset ... complete.
[2023-12-27 09:59:16,208]-[INFO - lib.callback]
Processing ./data/datasets/meta/lite/Digital_Music_lite.json ...
Traceback (most recent call last):
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\executor.py", line 30, in
run_pcr(cfg = dp_cfg);
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\generator.py", line 92, in run_pcr
dataset = rev_generate(dp_cfg['src']);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\generator.py", line 68, in rev_generate
dataset = pcr.rev_pcr(src = src);
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\processor.py", line 210, in rev_pcr
data = np.zeros((ju.jsonlen(src), 3), dtype = int);
^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\lib\json_util.py", line 69, in jsonlen
f = open(src, 'r');
^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './data/datasets/meta/lite/Digital_Music_lite.json'
(myvenv) PS C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main>
from cochelab.
This is a bit strange. Please check whether the file in path [./data/datasets/meta/lite] is [Digital_Music_lite.json], because the picture you sent before shows ***.data
from cochelab.
![image](https://private-user-images.githubusercontent.com/119288894/292973108-c5678578-b013-4187-9ff2-63d20830a7dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzk2NjcsIm5iZiI6MTcyNDI3OTM2NywicGF0aCI6Ii8xMTkyODg4OTQvMjkyOTczMTA4LWM1Njc4NTc4LWIwMTMtNDE4Ny05ZmYyLTYzZDIwODMwYTdkYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMVQyMjI5MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02NGViOTRmMjFkOWNiMzlmYjQwNmI2NDQ0MTc3YzA1NGVhYzg2ZjRhYjI1NGEwOWE2NzgxYmI5MDRmYmVlY2ViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oMEQr4ryrmTmGqelm_JUkI29cwTAo8XUhY4qUHfxF_Q)
![image](https://private-user-images.githubusercontent.com/119288894/292973173-5bb2f7c6-82c9-4bd8-8494-fe151e36668b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNzk2NjcsIm5iZiI6MTcyNDI3OTM2NywicGF0aCI6Ii8xMTkyODg4OTQvMjkyOTczMTczLTViYjJmN2M2LTgyYzktNGJkOC04NDk0LWZlMTUxZTM2NjY4Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMVQyMjI5MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iOGFiZGUxZjQzYjg3N2IzODhlNTgwMzhhYWZjMjIyMGQ2MzhmNmViYWRhODZjMjAxNzU0MDQwMGQyZThjNmI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.R9P7v5-lU_ipHVgYCWdq3ZJLeME-7GMP9DonH5rr_Ls)
from cochelab.
Related Issues (4)
- 代码问题询问 HOT 2
- Adding Feature HOT 1
- replicating the results HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cochelab.