Params is initialized with the SPICEParameters() class.
inputData needs to be transposed beforehand so that it matches the input expected by SPICE().
The type of inputData needs to be changed to double; otherwise, the function that implements the Quadratic Programming (QP) solver using the Goldfarb/Idnani dual algorithm CRASHES.
With the current documentation and hints I suffered a bit realizing the notebook, it would be nice some more help about:
SPICEParameters()
class.SPICE()
.