Skip to main content

Posts

Featured Post

Converting Machine Learning Models to SAS using m2cgen (Python)

A hack to deploy your trained ML models such as XGBoost and LightGBM in SAS m2cgen is a very friendly package that can convert a lot of different trained models to supported languages like R and VBA. However, SAS is not yet supported by m2cgen. This article is for those who needs to deploy the trained models in SAS environment. The track introduced in this article is to convert the model to VBA codes first and change the VBA codes to SAS scripts. The scripts used in this tutorial are uploaded to my Github repo , feel free to clone the files. Photo by Chris Lawton on  Unsplash Package m2cgen Functionality m2cgen (Model 2 Code Generator) — is a lightweight library which provides an easy way to transpile trained statistical models into a native code (Python, C, Java, Go, JavaScript, Visual Basic, C#, PowerShell, R, PHP, Dart, Haskell, Ruby, F#). Demonstration Convert XGBoost model to VBA, then to SAS scripts Convert XGBoost model to VBA, then to SAS scripts (with missing values) Data Th

Latest Posts

Analysing the use of frame semantics in extracting NLP-based information from EHR for cancer research

First of Course in "Programming for data science" and "Data mining technique"

TensorFlow Developer Certificate

GDG (Google Developer Groups) - DevFest 2020

GDG (Google Developer Groups) - ML Series 2020

Introducing 3D ggplots with Rayshader (R)

18區選民人數現況(截至2019年底)