In the Med2Vec code , you have mentioned the weights as (-0.01,0.01) ,which is generating negative code embeddings.
_params['Wemb'] = np.random.uniform(-0.01, 0.01,
however in the paper you have mentioned that "all medical codes C to non-negative real-valued vectors of dimension m"
Hello Ed,
In the Med2Vec code , you have mentioned the weights as (-0.01,0.01) ,which is generating negative code embeddings. _params['Wemb'] = np.random.uniform(-0.01, 0.01,
however in the paper you have mentioned that "all medical codes C to non-negative real-valued vectors of dimension m"
Can you please help me in understanding that?
Thanks, Ankit