Coder Social home page Coder Social logo

andrewdisher / multinomial-logistic-regression Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.91 MB

An R markdown notebook detailing the necessary steps to fit a multinomial logistic regression model to some sample data.

Home Page: https://andrewdisher.github.io/multinomial-logistic-regression/

R 1.90% HTML 98.10%
multinomial-logistic-regression r r-markdown

multinomial-logistic-regression's Introduction

Fitting Multinomial Logistic Regression Model in R

This is a repository for my statistical modelling endeavor to fit a multinomial logistic regression model to the fetal health data set, available on Kaggle here: Fetal Health Classification. You can also find the data within the data folder of this repository.

Goals

  • Practice fitting the multinomial logistic regression model
  • Practice balancing data sets via over/under-sampling class stratified observations
  • Applying Principal Component Analysis (PCA) to a set of predictors/features
  • Use visualizations and computed metrics to assess model fit
  • Practice using the box package for explicit package and function dependencies (instead of using library() calls)

Viewing the Notebook

There are two options:

  1. Download this repository and knit the R Markdown document locally
  2. Use this link to view the github.io website hosted from this repository: Notebook Link

A Note on renv

renv is an R package that provides a way to track packages, their package dependencies, and the versions for these packages. It makes creating a reproducible R coding environment extremely easy and ensures that the packages used will always stay the same, even when future releases are announced.

After downloading this repository and opening the R project, you must run this line of code in your R r console:

renv::restore(clean = TRUE)

This will use the renv.lock file to restore the project environment. After that, you should be able to knit the R Markdown document as usual.

multinomial-logistic-regression's People

Contributors

andrewdisher 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.