Giter VIP home page Giter VIP logo

mlpipeline's Introduction

MLPipeline

Cozo Machine Learning Pipeline.

This repository contains routines to assess convergence, test assumptions, and grid-search a regression model with the best prediction performance. Performance is assessed via the root mean square error calculated using out-of-sample predictions. These predictions are generated from a k-fold cross validation process.

The scripts run in R and they're not ready to be integrated to the Cozo platform. Current version isn't fully automated to generate model either - it requires researcher to validate hypothesis and convergence based on scripts outputs.

Scripts:

bartMachineWithChecking.R : implements a BART model using a package called bartMachine; it also runs more automated MCMC convergence diagnostics and residual checking tests as compared to those in bartMachine.

bartMachineWithChecking.R : implements a search for best model over a set of hyperparameters and tree size. Uses a K-fold cross validation process to search for model with smallest out-of-sample RMSE. It builds on the function defined in bartMachineWithChecking.

How to use:

Import the function 'cross_validation_bart_modeling' into your workspace running:

source("bartMachineWithChecking.R")

Then call the function suplying a design matrix X and a response vector y:

cross_validation_bart_modeling(X, y)

Work in progress: automation of convergence and assumption testing criteria. integration with the variable selection process

mlpipeline's People

Contributors

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