Closed jeremiecoullon closed 3 years ago
In a way I am happy the error message was clear enough that you were able to find a solution.
The example will actually work once the core refactor is merged, but it might be a good idea to fix it for the current version. And I like the idea of including data generation for quick copy-and-paste. You can give it a go if you'd like!
Ok I'll do this!
Solved by #60
Reopen since I inadvertently reversed part of the changes on master.
Reversed it to a self-contained example.
The example the readme returns this error
This is due to the
linear_regression
function. The version of that function in thehmc_test.py
works fine though.It would also be good to generate the data in the this example so that the example is self-contained.
So the following script has those 2 fixes and should work instead: