In a Python script I call a function from rpy2, but I get this error:
rpy2
#using an R module res = DirichletReg.ddirichlet(np.asarray(my_values),al
I guess many of us who came to this page have a problem with Scikit Learn, one way to solve it is to create a dictionary with parameters and pass it to the model:
params = {'C': 1e9, 'gamma': 1e-07} cls = SVC(**params)