Skip to content
This library collects common supervised machine learning algorithms using classification and also prediction techniques for research purpose and industrial practitioners.
Branch: master
Clone or download
Latest commit 825f2f8 May 13, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Update May 13, 2019
figs Add files via upload May 13, 2019
.Rbuildignore Add files via upload Apr 13, 2019
.Rhistory Add files via upload Apr 13, 2019 Create Apr 15, 2019
DESCRIPTION Add files via upload May 13, 2019
YinsLibrary.Rproj Add files via upload Apr 13, 2019


YinsCapital PRs Welcome

This is the library that I use to collect common machine learning algorithm I use for research project and industrial practice.


The installation of this package is simple. We recommend to use devtools to install from Github.

# Note: you must have these packages:
# devtools,quantmod,stats,xts,TTR,knitr,gtools,keras,naivebayes,randomForest,iRF,BayesTree,gbm,pROC
# Please install them if you do not have them. 

# Install Package: Yin's Library (i.e. YinsLibrary)


This package has all functions collected in R folder. Almost all functions following the following format:

  • input $X$: this is the explanatory variables in the data set;
  • input $y$: this is the response variable in the data set;
  • input cutoff: this is a numerical value from 0 to 1 (default value is 0.9), implying that the algorithm will take the first 90% of the observation as training and the rest as testing;
  • input parameters: this is dependent on each function (ex: for trees, there are number of trees, for SVM, there is gamma, etc..);
  • input cutoff.coefficient: this is a value with default at 1, which means the algorithm is setting exactly mean of predicted scores as cutoff to convert scores into binary values.


Yiqiao Yin has been a Research Assistant at Columbia University since 2017. Prior to his current position, he has been a Researcher at Simon Business School with professors from AQR Capital.


This package is jointly designed with Statistical Machine Learning and one can refer to my Advice to my audience and to those who are interested in developing their own packages.

You can’t perform that action at this time.