Giter Site home page Giter Site logo

jaykay12 / cricai Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 27.0 8.74 MB

Desktop App & Web App for Cricket Outcome Prediction.

Home Page: https://cricai.herokuapp.com/

License: MIT License

Python 49.52% Jupyter Notebook 12.72% TeX 21.27% CSS 0.10% HTML 0.60% JavaScript 15.80%
sklearn mlp-classifier decision-tree-classifier pandas qt5-gui jupyter-notebook python3 python-flask heroku-deployment hacktoberfest

cricai's Introduction

Hi there ๐Ÿ‘‹

cricai's People

Contributors

adi2612 avatar harshish avatar jaykay12 avatar kafle-ashish avatar msaoudallah avatar savitoj98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cricai's Issues

Remove Background Color in Dropdowns

Current Behavior:
screenshot from 2018-09-25 12-24-11

Required Behavior:
The current background color, blue needs to be replaced with white so, that further #14 can be resolved.
Change needs to be done, for all the dropdowns

Some Intuition:
I tried this but in vain:
../static/styles/styles.css

.btn-outline-primary:hover {
background-color: white;
}

Team1 & Team2 Dropdowns must have distinct selection

Normal cricket match can never have same team playing on both sides, similarly the system requires such provisioning.

Current Behavior: Team 1 & Team 2 are having same Dropdown options-list
Required Behavior: If Team 1 Dropdown selects Team A them Team 2 Dropdown should have U-Team A as the option-list, where U signifies all the teams.

If implemented, No team can be selected on both sides, as Team 1 and Team 2 simultaneously.

Prerequistes: #8
Quite easy if it is resolved first.

Flag of winner country needs to be displayed

result.html on rendering the result gives the name of the winner country but currently flag is not supported.

All Flags are present at ../static/assets/flags/

Current Behavior: Only Indian Flag is displayed each time, as it is hard-coded.
Required Behavior: Dynamic loading of the winner country flag, using JS/jQuery

External CSS File can't be linked

In the Web-App, External CSS file: ../static/styles/styles.css can't be linked with the html templates.

Current Behavior: Internal CSS & Inline CSS is being used as a work-around.

Required Behavior:

  • Link the file
  • copy all Internal & Inline CSS to the External CSS.

Redesign the Results

Current Behavior: Minimalist Design just showing the Winner with the Flag

Required Behavior: Good Design, showing the name & the flag of the winner nation.

Add all the assets: Images, GIFs etc at Web-App/static/assets/

Add flaticon to the title

flaticon present at ../static/assets/cricket.png needs to be added as icon in the title.

Current Title: CricAI: Smart Outcome Prediction System
Required Title: ๐Ÿฆ— CricAI: Smart Outcome Prediction System

Team Selection Dropdown

Both the dropdowns for team selection, #team-1 and #team-2 in the ../templates/index.html require modification.

Current Behavior: Only Name of Country is displayed
Required Behavior: The Dropdown Option should contain the Name as well as Flag of the country for both the dropdowns

9055325065752459215 1

Add Necessary Checks for each Input

Each of the input is mandatory/necessary for the back-end. So, need validation of each input to be not-null before submission of form to the server.

Use Javascript or jQuery to handle this or any other work-arounds.

Current Behavior: 500: Server Error is thrown, if any of the input is null.
Required Behavior: Form is not submitted until all input are not-null

Load options in all dropdowns from javascript.

Current Behavior: All dropdowns are having hardcoded options in the html file.
Required Behavior: Need to load all the options in the dropdowns on file loading from the js file.

#9 is fully dependent on this behavior.

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.