Shiu-Tang LiinTowards Data SciencePandas Groupby: a simple but detailed tutorialGroupby is a great tool to generate analysis, but in order to make the best use of it and use it correctly, here’re some good-to-know…·9 min read·Apr 20, 2020--4--4
Shiu-Tang LiinTowards Data ScienceCheat sheet for Python dataframe ↔ R dataframe syntax conversionsA mini-guide for those who’re familiar with data analysis using either Python or R and want to quickly learn the basics for the other…4 min read·Oct 10, 2019--12--12
Shiu-Tang LiinTowards Data Science10 Python Pandas tricks to make data analysis more enjoyableIf one has not yet fallen in love with Pandas, it may be because he/she has not seen enough cool examples5 min read·Apr 23, 2019--4--4
Shiu-Tang LiinTowards Data ScienceBuild XGBoost / LightGBM models on large datasets — what are the possible solutions?XGBoost and LightGBM have been proven on many tabular datasets to be the best performant ML algorithms. But when the data is huge, how do…6 min read·Apr 3, 2019--6--6
Shiu-Tang LiinTowards Data ScienceA step-by-step guide for creating advanced Python data visualizations with Seaborn / MatplotlibAlthough there’re tons of cool visualization tools in Python, Matplotlib + Seaborn still stands out for its capability to create and…·10 min read·Mar 26, 2019--12--12
Shiu-Tang LiinTowards Data Science10 Python Pandas tricks that make your work more efficientSome commands you may know already but may not know they can be used this way·5 min read·Mar 13, 2019--15--15
Shiu-Tang LiinTowards Data ScienceAn interesting and intuitive view of AUCAUC, or area under ROC curve, is a metric widely used to evaluate model performance.5 min read·Mar 11, 2019--3--3
Shiu-Tang LiinTowards Data SciencePlotting decision boundaries in 3D — Logistic regression and XGBoostThink of a machine learning model as a function — the columns of the dataframe are input variables; the predicted value is the output…4 min read·Jul 22, 2018--1--1
Shiu-Tang LiinTowards Data ScienceConvert your XGBoost model into if-else formatIn this article, I’ll show the reader how to convert an XGBoost model to a .py file with some tricks with regular expressions, so that the…3 min read·Jul 18, 2018--3--3