Giter Club home page Giter Club logo

similarity-engine's Introduction

Similarity-Engine

similarity-engine's People

Contributors

nikhilnathwani avatar

Watchers

 avatar  avatar

similarity-engine's Issues

Improve default header for neighbor comparison column

The header comparison column really should say something like "Click on a team to the right to show their players and stats", i.e. something to convey what action the user needs to take to populate that column. But, since I'm unsure what the UI will be for clicking on teams, this is a TBD.

Or maybe the header can be something like "[similar team]" and the cells beneath it can contain more text to explain what action can be taken to populate that column. It could even be the case that instead of showing cells, we just show a blank white area of the correct height which includes that text. Just spitball-ing ideas now.

Break "games played" ties with "minutes per game"

My kNN algorithm currently only looks at the top 10 players in games played, to help account for injuries and in-season trades when attempting to accurately describe a team's roster. But in some cases (e.g. J.R. Smith and Timofey Mosgob in the 2014-15 Cavs), there's a tie for 10th place in games place, and right now that tie is settle by selecting the first player in alphabetical order by first name. This is unintuitive -- it'd be better to break the tie based on minutes played. Potential fix: sort primarily by games, and then do a secondary sort based on mp_per_g. If this is too much of a perf hit, think about settling ties only when they occur, i.e. not just performing this secondary sort for EVERY team.

Resolve old team names/colors

Currently, the early 2000s Seattle Supersonics are referred to as OKC, because I don't make any distinction. Same for the New Jersey Nets and BRK. Might be worth storing alternate names/colors in a dictionary specifying different aliases for each team.

Show same number of neighbor players as chosen players

Ensure that number of rows in list of neighbor players is same as that of chosen players, and make sure that this is reflected in the calculations in routes.py. If neighbor has more, remove players from it, else remove players from chosen team (this reflects current calculations in routes.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.