Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Duplicate logs #23

Open
hiromakimaki opened this issue Jul 7, 2021 · 0 comments
Open

Duplicate logs #23

hiromakimaki opened this issue Jul 7, 2021 · 0 comments

Comments

@hiromakimaki
Copy link

hiromakimaki commented Jul 7, 2021

@junchenfeng
Hello.

When I executed a simple code, I found duplicate logs as follows. As you see, half of these are unnecessary logs.

2021-07-07 14:56:12 INFO: start loading data
start loading data
2021-07-07 14:56:12 INFO: data loaded
data loaded
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 281.77it/s]
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 321.18it/s]
2021-07-07 14:56:12 DEBUG: E step runs for 322.238 sec
E step runs for 322.238 sec
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 238.91it/s]
2021-07-07 14:56:12 DEBUG: M step runs for 153.022 sec
M step runs for 153.022 sec
2021-07-07 14:56:12 DEBUG: score calculating
score calculating
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 3794.03it/s]
2021-07-07 14:56:12 DEBUG: score calculated.
score calculated.
2021-07-07 14:56:12 DEBUG: 0.6018582902998789
0.6018582902998789
2021-07-07 14:56:12 DEBUG: stop condition runs for 120.155 sec
stop condition runs for 120.155 sec
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 222.29it/s]
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 102.90it/s]
2021-07-07 14:56:13 DEBUG: E step runs for 339.617 sec
E step runs for 339.617 sec
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 172.94it/s]
2021-07-07 14:56:13 DEBUG: M step runs for 169.493 sec
M step runs for 169.493 sec
2021-07-07 14:56:13 DEBUG: score calculating
score calculating
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2362.32it/s]
2021-07-07 14:56:13 DEBUG: score calculated.
score calculated.
2021-07-07 14:56:13 DEBUG: 0.6018582902998789
0.6018582902998789
2021-07-07 14:56:13 INFO: EM converged at iteration 2.
EM converged at iteration 2.
2021-07-07 14:56:13 DEBUG: stop condition runs for 114.175 sec
stop condition runs for 114.175 sec
2021-07-07 14:56:13 INFO: parameter estimated
parameter estimated
2021-07-07 14:56:13 INFO: parameter retrieved
parameter retrieved

This is the code I executed:

from pyirt import irt

input = [
    ('user_0', 'item_0', 0),
    ('user_1', 'item_0', 1)
]

item_param, user_param = irt(input)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant