Boosting Over Bagging: Enhancing Predictive Accuracy with Gradient Boosting Regressors

Ensemble learning techniques primarily fall into two categories: bagging and boosting. Bagging improves stability and accuracy by aggregating independent predictions, whereas boosting sequentially corrects the errors of prior models, improving their performance with each iteration. This post begins our deep dive into boosting, starting with the Gradient Boosting Regressor. Through its application on the Ames Housing Dataset, we will demonstrate how boosting uniquely enhances models, setting the stage for exploring various boosting techniques in upcoming posts. Let’s get started. Boosting […]

Read more

Building 3 Fun AI Applications with ControlFlow

Building 3 Fun AI Applications with ControlFlowImage by Author | Canva Pro The AI industry is rapidly advancing towards creating solutions using large language models (LLMs) and maximizing the potential of AI models. Companies are seeking tools that seamlessly integrate AI into existing codebases without the hefty costs associated with hiring professionals and acquiring resources. This is where Controlflow comes into play. With ControlFlow, you can develop complex AI applications using just a few lines of code. In this tutorial, […]

Read more

Microsoft Research Forum Episode 4: The future of multimodal models, a new “small” language model, and other AI updates

Microsoft Research Forum is a continuous exchange of ideas about science and technology research in the era of general AI. In the latest episode (opens in new tab), researchers discussed the latest multimodal AI models, advanced benchmarks for AI evaluation and model self-improvement, and an entirely new kind of computer for AI inference and hard optimization. Researchers at Microsoft are working to explore breakthrough technology that can help advance everything from weather prediction to materials design.  Below is a brief recap […]

Read more

Python 3.13 Preview: A Modern REPL

One of Python’s strong points is its interactive capabilities. By running python you start the interactive interpreter, or REPL, which allows you to perform quick calculations or explore and experiment with your code. In Python 3.13, the interactive interpreter has been completely redesigned with new modern features. Python’s REPL has remained largely unchanged for decades. Instead, alternative interpreters like IPython, bpython, and ptpython have addressed some of the built-in REPL’s shortcomings, providing more convenient interactive workflows for developers. As you’re […]

Read more

Research Focus: Week of September 23, 2024

Welcome to Research Focus, a series of blog posts that highlights notable publications, events, code/datasets, new hires and other milestones from across the research community at Microsoft. NEW RESEARCH ProbTS: Benchmarking Point and Distributional Forecasting across Diverse Prediction Horizons Time-series forecasting is a technique used to predict future values based on previously observed data points over time. It has extensive applications for traffic flow, renewable energy, retail, finance, and climate, among other uses. For these applications,  

Read more

Advanced Python import Techniques

In Python, you use the import keyword to make code in one module available in another. Imports in Python are important for structuring your code effectively. Using imports properly will make you more productive, allowing you to reuse code while keeping your projects maintainable. This video course provides a comprehensive overview of Python’s import statement and how it works. The import system is powerful, and this course will teach you how to harness this power. While you’ll cover many of […]

Read more

Branching Out: Exploring Tree-Based Models for Regression

Our discussion so far has been anchored around the family of linear models. Each approach, from simple linear regression to penalized techniques like Lasso and Ridge, has offered invaluable insights into predicting continuous outcomes based on linear relationships. As we begin our exploration of tree-based models, it’s important to reiterate that our focus remains on regression. While tree-based models are versatile, how they handle, evaluate, and optimize outcomes differs significantly between classification and regression tasks. Tree-based regression models are powerful […]

Read more

Decision Trees and Ordinal Encoding: A Practical Guide

Categorical variables are pivotal as they often carry essential information that influences the outcome of predictive models. However, their non-numeric nature presents unique challenges in model processing, necessitating specific strategies for encoding. This post will begin by discussing the different types of categorical data often encountered in datasets. We will explore ordinal encoding in-depth and how it can be leveraged when implementing a Decision Tree Regressor. Through practical Python examples using the OrdinalEncoder from sklearn and the Ames Housing dataset, […]

Read more

From Single Trees to Forests: Enhancing Real Estate Predictions with Ensembles

# Import necessary libraries for preprocessing import pandas as pd from sklearn.pipeline import Pipeline from sklearn.impute import SimpleImputer from sklearn.preprocessing import OrdinalEncoder, OneHotEncoder, FunctionTransformer from sklearn.compose import ColumnTransformer   # Load the dataset Ames = pd.read_csv(‘Ames.csv’)   # Convert the below numeric features to categorical features Ames[‘MSSubClass’] = Ames[‘MSSubClass’].astype(‘object’) Ames[‘YrSold’] = Ames[‘YrSold’].astype(

Read more

5 Free Courses to Master Deep Learning in 2024

5 Free Courses to Master Deep Learning in 2024Image by Author AI applications are everywhere. I use ChatGPT on a daily basis — to help me with work tasks, and planning, and even as an accountability partner. Generative AI hasn’t just transformed the way we work. It helps businesses streamline operations, cut costs, and improve efficiency. As companies rush to implement generative AI solutions, there has been an unprecedented surge in the demand for AI skills. There hasn’t been a better time to […]

Read more
1 28 29 30 31 32 926