Author: statcompute

Direct Optimization of Hyper-Parameter

In the previous post (, it is shown how to identify the optimal hyper-parameter in a General Regression Neural Network by using the Sobol sequence and the uniform random generator...continue reading.

Improving Binning by Bootstrap Bumping

In the post (, a more robust version of monotonic binning based on the isotonic regression was introduced. Nonetheless, due to the loss of granularity, the predictability has been somewhat...continue reading.

Creating List with Iterator

In the post (, it is shown how to grow a list or a list-like queue based upon a dataframe. In the example, the code snippet was heavily relied on...continue reading.

Monotonic Binning with Equal-Sized Bads for Scorecard Development

In previous posts ( and (, I’ve developed 2 different algorithms for monotonic binning. While the first tends to generate bins with equal densities, the second would define finer bins...continue reading.

Why Vectorize?

In the post (, I briefly introduced the idea of vectorization and potential use cases. One might be wondering why we even need the Vectorize() function given the fact that...continue reading.

Playing Map() and Reduce() in R – Subsetting

In the previous post (, I’ve shown how to employ the MapReduce when calculating by-group statistics. Actually, the same Divide-n-Conquer strategy can be applicable to other use cases, one of...continue reading.