I want to make balanced training set for my simulated data. When I run the command I get the following error:
Traceback (most recent call last):
File "makeTrainingSets.py", line 59, in
numExamplesToKeep = getMinButNonZeroExamples(trainingSetLs)
File "makeTrainingSets.py", line 50, in getMinButNonZeroExamples
raise Exception
Exception
The command I run is:
python diploSHIC.py makeTrainingSets rawFVFiles_gor/neut.msOut.diploid.fvec rawFVFiles_gor/soft rawFVFiles_gor/hard 5 0,1,2,3,4,6,7,8,9,10 trainingSets_gor/
Could you tell me what possibly could be raising this exception? I mean what possibly could be wrong in the dataset that would result in such a error? I looked at my simulated dataset for hard sweep for example and there are certain rows for which I have a lot of zeros. Is that the reason I could be getting this exception when I run the command (mentioned above).
I want to make balanced training set for my simulated data. When I run the command I get the following error:
Traceback (most recent call last): File "makeTrainingSets.py", line 59, in
numExamplesToKeep = getMinButNonZeroExamples(trainingSetLs)
File "makeTrainingSets.py", line 50, in getMinButNonZeroExamples
raise Exception
Exception
The command I run is: python diploSHIC.py makeTrainingSets rawFVFiles_gor/neut.msOut.diploid.fvec rawFVFiles_gor/soft rawFVFiles_gor/hard 5 0,1,2,3,4,6,7,8,9,10 trainingSets_gor/
Could you tell me what possibly could be raising this exception? I mean what possibly could be wrong in the dataset that would result in such a error? I looked at my simulated dataset for hard sweep for example and there are certain rows for which I have a lot of zeros. Is that the reason I could be getting this exception when I run the command (mentioned above).