We plan to use this wonderful library in one of our service, yet I couldn't find any proper tutorial on how to run a simple example. our use case is as follows:
Lets say we have a case class Person, how can I calculate the dot product between two Person?
case class Person(age: Int, height: Int)
val p = Person(20, 180)
val c = Person(15, 165)
p.dot(c)
If you provide me with some sample code, it would be highly appreciated.
We plan to use this wonderful library in one of our service, yet I couldn't find any proper tutorial on how to run a simple example. our use case is as follows: Lets say we have a case class Person, how can I calculate the dot product between two Person?
If you provide me with some sample code, it would be highly appreciated.