GGS icon indicating copy to clipboard operation
GGS copied to clipboard

Cross validation

Open lymadvisors opened this issue 4 years ago • 2 comments

When I run CV, this print out and I cannot find what is it

The above exception was the direct cause of the following exception:

TypeError Traceback (most recent call last) in ----> 1 ggs.GGSCrossVal(data1, Kmax=25, lambList = [0.1], features = feats, verbose = False)

~/Nuevo/envs/ggs.py in GGSCrossVal(data, Kmax, lambList, features, verbose) 98 (7,data, Kmax, lamb, verbose, origSize, n, ordering), 99 (8,data, Kmax, lamb, verbose, origSize, n, ordering), --> 100 (9,data, Kmax, lamb, verbose, origSize, n, ordering)]) 101 102 #Accumulate results

~/anaconda3/envs/Nuevo_copia/lib/python3.7/multiprocessing/pool.py in map(self, func, iterable, chunksize) 266 in a list that is returned. 267 ''' --> 268 return self._map_async(func, iterable, mapstar, chunksize).get() 269 270 def starmap(self, func, iterable, chunksize=None):

~/anaconda3/envs/Nuevo_copia/lib/python3.7/multiprocessing/pool.py in get(self, timeout) 655 return self._value 656 else: --> 657 raise self._value 658 659 def _set(self, i, obj):

TypeError: slice indices must be integers or None or have an index method

would you help me pls? great paper!

lymadvisors avatar Sep 29 '21 10:09 lymadvisors

we have a same issue too T_T

wallace426 avatar Oct 25 '21 08:10 wallace426

how to solve?

943fansi avatar Jan 23 '22 07:01 943fansi