Giter Site home page Giter Site logo

nm1ll / stat-mtl Goto Github PK

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

Code repository for PhD dissertation "Statistical Extensions of Multi-Task Learning with Semiparametric Methods and Task Diagnostics"

R 94.61% Shell 5.39%
benchmark-dataset dissertation-material machine-learning multitask-learning statistical-learning

stat-mtl's Introduction

Code repository for PhD dissertation "Statistical Extensions of Multi-Task Learning with Semiparametric Methods and Task Diagnostics"

This repository includes data and code used in PhD dissertation "Statistical Extensions of Multi-Task Learning with Semiparametric Methods and Task Diagnostics" by Nikolay Miller, submitted as part of requirements for PhD in Statistics at University of New Mexico at July 2022. When it is published, it will become available for download at https://digitalrepository.unm.edu/math_etds/ . Alternatively, you can reach out to me directly for a copy.

Model codes

The folder "Model - additive MTL model example" contains the components of two-step model example in Chapter 5 of the dissertation. Note that the codes need to be run sequentially: first linear component, then SVR adjustment. The paths for models need to be adjusted accordingly to your download location. The models are implemented as Slurm batch scripts.

The folder "Model - best performance subsets" contains best performance subsets algorithm which is a two-step multi-task model as described in Chapter 4. It is implemented using "doParallel" R package, so there is no need for Slurm cluster. There are several slightly different versions; the differences can be found in code descriptions.

Task diagnostics

The task diagnostics procedures described in Chapter 6 are available in the folder "Task diagnostics"

ILEA schools data splits

The folder "Dataset creation - ILEA data" contains ILEA schools data that was used in my dissertation. For reference, the original dataset can be found at: http://www.bristol.ac.uk/cmm/learning/support/datasets/ _ "School effectiveness (zip, 0.1 mb) Examination data for school leavers in Inner London with intake achievement measures" I have formatted it to a CSV file, ILEA567.csv, which is included here

The Slurm script "slurm_DATA_CREATION.sh" calls "DATASET_CREATION.R" in order to run it in parallel. The parallelizable arguments are split number (contained in the Slurm script) and lambda (contained in lambdas.txt) for the mean-regularized multi-task kernel ("Learning Multiple Tasks with Kernel Methods" by Evgeniou, Michelli and Pontil (2005)). You may also edit "DATASET_CREATION.R" to run without parallelization; it can be done by manually specifying split and lambda values, and then running a loop over those.

The seed is set to split number (set.seed(split)), making the results of the dissertation repeatable.

In case you just want to access the data quickly, the folder "Full data - no splits" includes cleaned data without splits, for 3 values of lambda, and the folder "Splits collection" includes 100 splits for lambdas 0, 0.001 and 0.01. In every RData file in the folder "Splits collection", the raw untransformed data is also included.

stat-mtl's People

Contributors

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