Fix imports
Doc formatting
Use collect
Use pattern matching for clarity
Fix spacing
Simpler constructor
Make random seed an argument
Make initialization check an assertion
Use labeled points and predictOnValues in examples
Formatting