Coder Social home page Coder Social logo

r-cassignment's Introduction

R-Assignment

Hospitals United States

Task -1 :
This programming task is used to calculate the means of the amount of pollutants present in the data given. It is to estimate the amount of pollution that has occurred in the same area in different times of the given months. Further it is used to estimate the amount of people getting infected by the pollutant content with respect to their disease.

Task -2 : This second programming task will require you to write an R function is able to cache potentially time-consuming computations. For example, taking the mean of a numeric vector is typically a fast operation. However, for a very long vector or a matrix, the computation takes time, if it is to be done repeatedly. If the contents of a vector/matrix are not changing, it isbetter to cache the value of the mean so that when it is needed can be looked up in the cache rather than computing it all over again. Here we compute the inverse of a matrix and cache it so that if it is recomputed we use the cached matrix rather than computing it all over again. I have included a time lapse that gives you the actual and cache time.

Task-3 : This programming task is used to rank the hospitals of a state and findout the best hospital in each of the states in the given data. The data is taken from Hospital Compare web site (http://hospitalcompare.hhs.gov) run by the U.S. Department of Health and Human Services. The purpose of the web site is to provide data and information about the quality of care at over 4,000 Medicare-certified hospitals in the U.S. This dataset essentially covers all major U.S. hospitals. This dataset is used for a variety of purposes, including determining whether hospitals should be fined for not providing high quality care to patients (see http://goo.gl/jAXFX) for some background on this particular topic).

r-cassignment's People

Contributors

aryan20464 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Forkers

mahith2108

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.