Some cool features and tips to write more Pythonic code

Photo by Tudor Baciu on Unsplash

While I am still learning to get better at Python every day, I wanted to share some of the resources that have helped me in my learning process and I hope this article will guide you in exploring more features of this language.

As this article states, when a veteran Python developer (a Pythonista) calls portions of code not Pythonic, they usually mean that these lines of code do not follow the common guidelines and fail to express its intent in what is considered the best (hear: most readable) way.

Tim Peters, the Core Developer and author of The Zen…


A comprehensive guide to XGBoost and hyperparameters tuning

Photo by Andy Kelly on Unsplash

eXtreme Gradient Boosting (XGBoost) is a highly scalable end-to-end tree boosting system developed by Tianqi Chen and Carlos Guestrin at the University of Washington. They introduced several optimization techniques, which we will study in-depth, that achieved state-of-the-art results on many machine learning problems.

Since its introduction, it has been widely recognized and has dominated several machine learning challenges in Kaggle and other competitions. Before we dive into XGBoost, let's talk about Boosting.

Boosting

Boosting is a sequential ensemble learning technique that uses several weak learners to develop a strong performing model. It combines prediction through a weighted majority vote or a…

Manoj Aryal

Software Engineer Intern. ML Enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store