On Wednesday, January 29, 2014 10:55:54 AM UTC+5:30, Ayushi Dalmia wrote:
> Hello,
>
>
>
> I am trying to implement IBM Model 1. In that I need to create a matrix of 50000*50000 with double values. Currently I am using dict of dict but it is unable to support such high dimensions and hence gives memory error. Anyhelp in this regard will be useful. I understand that I cannot store the matrix in the RAM but what is the most efficient way to do this?
Also, the matrix indices are words and not integers. I donot want to map.
> Hello,
>
>
>
> I am trying to implement IBM Model 1. In that I need to create a matrix of 50000*50000 with double values. Currently I am using dict of dict but it is unable to support such high dimensions and hence gives memory error. Anyhelp in this regard will be useful. I understand that I cannot store the matrix in the RAM but what is the most efficient way to do this?
Also, the matrix indices are words and not integers. I donot want to map.
Aucun commentaire:
Enregistrer un commentaire