ec changed the topic of #elliottcable to: a 𝕯𝖊𝖓 𝖔𝖋 𝕯𝖊𝖙𝖊𝖗𝖒𝖎𝖓𝖊𝖉 𝕯𝖆𝖒𝖘𝖊𝖑𝖘 slash s͔̞u͕͙p͙͓e̜̺r̼̦i̼̜o̖̬r̙̙ c̝͉ụ̧͘ḷ̡͙ţ͓̀ || #ELLIOTTCABLE is not about ELLIOTTCABLE
kaftoot has joined #elliottcable
kaftoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaftoot has joined #elliottcable
<nuck>
Hey, we have some math nerds here right?
<nuck>
Trying to figure out the best way to calculate "compatibility" between two Users, given a list of items and ratings
<nuck>
Somebody suggested using vectors but frankly I just have no idea how to do that
<nuck>
It's basically just comparing two weighted lists, but the lists could be tens of thousands of weighted rows
<jfhbrook>
nuck: I think you want cosine similarity
<jfhbrook>
nuck: where a dot product is something like def dot(x, y): x[0] * y[0] + x[1] * y[1] + x[2] * y[2]
<jfhbrook>
nuck: and the length is ye olde pythagorean equation
<jfhbrook>
nuck: you can do this with apis instead of "manually" if you bust out a linear algebra lib and vectors, which for your purposes are collections that support certain kinds of operations, like dot products
<jfhbrook>
(there are of course other industry grade ways of doing recommendations if that's what you're into, but this is a good, not too confusing start
kaftoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaftoot has joined #elliottcable
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #elliottcable
kaftoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mylesborins has quit [Quit: farewell for now]
mylesborins has joined #elliottcable
fujisan has joined #elliottcable
muelleme_ has joined #elliottcable
kaftoot has joined #elliottcable
kaftoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaftoot has joined #elliottcable
kaftoot has quit [Client Quit]
kaftoot has joined #elliottcable
meowrobot has quit [Quit: let us connect our intestines and mutually digest]
muelleme_ has quit [Ping timeout: 265 seconds]
meowrobot has joined #elliottcable
muelleme_ has joined #elliottcable
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #elliottcable
mylesborins has quit [Quit: farewell for now]
mylesborins has joined #elliottcable
fujisan has quit [Quit: Connection closed for inactivity]
muelleme_ has quit [Ping timeout: 276 seconds]
kaftoot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]