I have two doubts : one regarding the algorithm and the second regarding the code
(1) In Algorithm 1, why do u initialize 'w' randomly in every epoch (step 2)? Shouldn't you initialize 'w' once as it is necessary that there should be atleast one sample in every cluster.
(2) In line 125 of "PUL/unsupervised.py", I was wondering why you are loading only the initial pre-trained model. Shouldn't you be loading the previous finetuned model , i.e. the variable init_model = previous_model?
I have two doubts : one regarding the algorithm and the second regarding the code
(1) In Algorithm 1, why do u initialize 'w' randomly in every epoch (step 2)? Shouldn't you initialize 'w' once as it is necessary that there should be atleast one sample in every cluster.
(2) In line 125 of "PUL/unsupervised.py", I was wondering why you are loading only the initial pre-trained model. Shouldn't you be loading the previous finetuned model , i.e. the variable init_model = previous_model?