GithubHelp home page GithubHelp logo

asy_android_ai's Introduction

Information about the Project

  • This Project is a partially built project on Simple Arithmetic Game for single player.
  • Most of the coding part is already done, however, some clues are left in between (comments //) where students can write their codes.
  • matchCounter will keep track of how many matches are played. A match is akin to answer one question.
  • If a player correctly answers a match, a one is added in the score array; otherwise, a zero will be added.
  • When matchCounter reaches a value 3, the sum of last three matches will be added to the performance array, which is initially set with -1 at all places. For example, the performance array at the start of your app will be like [-1, -1, -1, -1, -1, -1], but after the completion of three matches let the score array be like [1, 0, 1] then the performance array would be like [-1, -1, -1, -1, -1, 2]. Each time the performance array will be updated, the new value will be added at the last element of the array, and all previous values will be shifted one place left. The first value will be lost, as we have to analyze the performance of the last six gammes only.
  • The performance array will be stored in a SharedPreferences object. The SharedPreferences object is fetched at the start of the activity and an alert dialog is presetned to the user suggesting on his or her performance based on the last six games.
  • sumOfScore method should summing up the values of score array.
  • A class LR is also provided with this project. The LR class has a getSlope method to provide the slope fromo the given data. The data must be input to the getSlope method as a two-dimensional array (dataFrame). The first dimension will be the predictor values 1, 2, 3, 4, 5, 6 and the corresponding response values will be performance values. The getSlope method is a static method, so you won't need to create objects of the LR class to obtain slope. Just use the name of the class LR. For example: LR.getSlope(dataFrame) would return a slope as a double value.
  • dataPrep method generates a data-frame AKA two-dimensional array to be passed to the getSlope method.
  • getInterpretation method returns a string based on the analysis of slope obtained from analysis of past six performances.

asy_android_ai's People

Contributors

prateekpandeyscholar avatar mishra-048 avatar

Watchers

ADITYA YADAV avatar

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.