Hi, I recently got a new laptop from work, and am suddenly having this error in LunchBoxML
Solution exception:GenericArguments[2], ‘TInput’, on ‘Accord.MachineLearning.VectorMachines.Learning.BaseSupportVectorRegression`3[TModel,TKernel,TInput]’ violates the constraint of type parameter ‘TInput’.
I tried reinstalling Lunchbox, but no help.
The script runs 100% fine with no errors on my coworkers identical laptop with same LunchBoxML, leading me to believe it is not a problem with the script but a problem with some .dll or dependency or conflicting version of something on my laptop, but unsure how to diagnose this correctly.
I don’t recognize that error in particular but it seems to point to a casting issue - maybe expecting an array where there is a single value or a typing issue. If it works for your colleague, then it might point to something else on your system. You could try to disable other packages and see if that helps. Accord does have a wide range of dependencies that come along with it so there could be some kind of conflict there.
Accord tools are also ‘mothballed’ and are no longer being developed, unfortunately and that was a primary motivation to bring in ML.NET tools… although there are some nice algorithms in Accord that don’t quite have an equivalent there.
thanks. I agree I think it is some conflict in my system just not sure what. If I delete the 2025.5.5 version, and copy the 2023 version that my colleague has into my GH folder, it works fine. It seems to be something w/ the 2025 version and my system then?