Git Product home page Git Product logo

denniswiersma / lifelinesml Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 80 KB

R shiny application made for the Honours Lab "From stupid data to intelligent Solutions" at Hanze University of Applied Sciences and the Aletta's regional year challenge 2022. Course taken in academic year of 22/23.

Home Page: https://lifelinesml.denniswiersma.com

License: GNU Affero General Public License v3.0

R 97.93% Dockerfile 2.07%
lifelines r shiny

lifelinesml's Introduction

LifelinesML

R shiny application made for the Honours Lab "From stupid data to intelligent Solutions" at Hanze University of Applied Sciences. Course taken in academic year of 22/23.

A running version of this project can be found at lifelinesml.denniswiersma.com

Usage

Getting the code

Clone repository

To clone the code found in this repository make sure you have installed git, open up your favorite terminal, navigate to your desired folder and run the command below:

git clone https://github.com/denniswiersma/LifelinesML

Zip file

In case you'd like a simple ZIP file containing the project's files you first navigate to this project's GitHub page. Find the green button labeled Code, click it, and click Download ZIP.

Dataset

The dataset used for this project was acquired from the Lifelines research group and can be found here. This application uses the complete dataset called Participants_Aggregated_Age in CSV format. A file called Participants_Aggregated_Age.csv containing the relevant data should therefore be placed in the project's root folder for the application to work.

R packages

The application relies upon the following R packages:

  • shiny
  • shinythemes
  • shinyjs
  • ggplot2
  • corrplot

You should install them before running the application by running the following command in your R console:

install.packages(c("shiny", "shinythemes", "shinyjs", "ggplot2", "corrplot"))

Running the app

Rstudio

Once the dataset is in place, running the application through Rstudio is rather easy. Simply open the project in Rstudio, open the App.R file, and click the Run App button.

Terminal

Running the application through your terminal of choice is possible as well. Simply navigate to the project root and run the following command:

 R -e "shiny::runApp('LifelinesML')"

Docker container

To build a Docker image of this application make sure you have a fully working installation of Docker. Then open up your favourite terminal, navigate to this project's root folder, and run the following command:

docker build -t lifelines_ml ../LifelinesML

Once the building project finishes, you may run a container using:

docker run --name=lifelines_ml --rm -p 3838:3838 lifelines_ml

You may now use the application in your favourite browser at http://localhost:3838/

lifelinesml's People

Contributors

denniswiersma avatar

Watchers

 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.