Giter Club home page Giter Club logo

classification-model-on-cloud-detection's Introduction

STA521_Project 2

Cloud Detection Model

Authors

This project features a CVmaster function, which compute k-fold cross-validation for algorithms used in this project. It takes a character string classifiers,features,labels,nfold, and additional hyperparameters that can be tuned in some of the models as input.
classifier is a character string which specify the type of algorithm.
knn: K-nearest neighbors
xgboost: XGBoosting
lda: Linear discriminant analysis
logistic: Logistic Regression
ridge: Ridge Regression

Features is a matrix training data for the model, but should not include the true labels

Labels is a vector of factors which is the true labels for training data

nfold is a positive number specifying the number of cross-validation set to be created, with default value 5.

The other inputs are used for hyperparameter tuning, and they are set with default value. If some of the hyperparameter are not used for a specific model, no input is needed.

KNN:
k is a real number specifying number of nearest neighbor to use in KNN, with default value 5

XGBoosting:

max_depth is a real number specifying maximum depth for trees in XGBoost,with default value 4

min_child is a real number specifying minimum weights a child needs to be before splitting trees in XGBoost,with default value 1

niter is a real number specifying number of runs for XGBoost

seed is a real number specifying random seed used, which keeps results of cross-validation reproducible. The default value is 521

Ridge Regression:
l is a real number controlling strength of constrains on the L2 norm of coefficients. The default value is 0.01.

In addition to CVmaster, we provide separate cross-validation function for XGBoost and KNN which requires tuning on hyperparameters. If future users need to tune on hyperparameters not included in CVmaster, it is easier to make changes to individual cross-validation functions.

classification-model-on-cloud-detection's People

Contributors

sjchenn avatar qinhe325 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.