Mercurial > repos > jay > pdaug_ml_models
changeset 8:0b6fb1eefe0f draft
"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit d396d7ff89705cc0dd626ed32c45a9f4029b1b05"
author | jay |
---|---|
date | Mon, 10 Jan 2022 04:59:25 +0000 |
parents | c8cb2baa4e6f |
children | aa0b1cb1260c |
files | PDAUG_Word_Vector_Descriptor/PDAUG_Word_Vector_Descriptor.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/PDAUG_Word_Vector_Descriptor/PDAUG_Word_Vector_Descriptor.py Sun Jan 09 04:56:13 2022 +0000 +++ b/PDAUG_Word_Vector_Descriptor/PDAUG_Word_Vector_Descriptor.py Mon Jan 10 04:59:25 2022 +0000 @@ -46,7 +46,7 @@ clm = [x for x in range(0,temp_word.shape[1])] -y_temp_word = np.vstack((np.ones((int(args.positive), 1)), np.zeros((int(args.negative),1)))) +y_temp_word = np.vstack((np.ones((int(args.positive), 1),dtype=int), np.zeros((int(args.negative),1),dtype=int))) c, r = y_temp_word.shape y_temp_word = y_temp_word.reshape(c,)