Distance Calculations
Big updates! Now your matches are sorted with very exact distance calculations in mind. Your new matches are a mix of the OtakuMatch score, which is based on your matching question answers, and their distance. You can see the code for that mix here:
for match in matches
mix = score_sort.index(match).to_i + distance_sort.index(match).to_i
sorter << [mix,match]
end
sorter = sorter.sort_by{|mm| mm[0]}
We're going to work on improving the OtakuMatch score based on things like Manga read/Anime watched, conventions attended, etc, but we have several features to work on first.mix = score_sort.index(match).to_i + distance_sort.index(match).to_i
sorter << [mix,match]
end
sorter = sorter.sort_by{|mm| mm[0]}
Please login to post.
MaiOtaku Blog
- MaiOtaku Keeps Growing
- MaiOtaku & QC Anime-zing! partner to bring you Anime-SPARK!
- User Survey
- Announcing Anime Database
- Otaku Speed Dating At Bishie Con
- The Latest From MaiOtaku
- User Feedback
- New MaiOtaku Tour and Features
- Thirty Four
- Distance Calculations
- Weekend Update
- Activity Feed
- You People Are Awesome
- Messaging Updated
- Matching Highlights
- OtakuMatch (TM) Updated!
- Welcome To MaiOtaku