- Libraries for Boosting: catboost, XGBoost (eXtreme Gradient Boosting)
- Libraries for Bagging: scikit-learn (BaggingClassifier, BaggingRegressor), imbalanced-learn (scikit-learn extension for imbalanced data), ML-Ensemble
Saturday, 29 November 2025
Boosting versus Bagging
Friday, 28 November 2025
ufunc in numpy - understanding universal functions
statsmodels in Python
statsmodels is a Python package that complements scipy for statistical computation.
The stable version is found here.
statsmodels takes ideas from other libraries and ecosystems, specifically it uses R-style formulas, and pandas DataFrames.
Chances are you are using the library with other libraries too, like numpy.
It can be installed via Conda or pip. Examples:
python -m pip install statsmodels
Thursday, 27 November 2025
Validating DataFrames in pandas
In Advance of Node.js Learning
Learn the basic rudiments of JavaScript. Include asynchronous JavaScript.
Connoisseur's Guide to JavaScript Engines: V8 Rules
Node.js uses the V8 JavaScript engine which powers Google Chrome (and is open sourced by Google).
Other browsers use their own engine, for example Firefox uses SpiderMonkey and Safari uses JavaScriptCore (aka Nitro). Edge was based on Chakra (a Microsoft project that was open-sourced) before being rebuilt with V8 and Chromium.
What JavaScript is Not Allowed to Do in the Browser
JavaScript in the browser is not normally allowed to do too much for security reasons.
Stuff it cannot do includes anything OS related - specifically:
- Cannot read/write arbitrary files
- Cannot access hardware directly
- Cannot control processes
- DOM manipulation (HTML/CSS)
- Local/session storage
- IndexedDB (database built into the browser)
- Cookies (with same origin)
- Clipboard (with user permission)
- Geolocation, camera, microphone (with user consent)