Machine-Learning-and-Ai

Fix: Getting R and Python to actually work on SQL Server 2022 and 2025

Fix: Getting R and Python to actually work on SQL Server 2022 and 2025

This is an update of a post that I wrote for SQL Server 2022 . Unfortunately, those instructions needed to be updated, not because anything notable has changed in SQL Server 2025, but because the recent distribution of Python has changed. Thanks to Peter Bishop for reporting what was now missing.

R and Python in SQL Server

One of my more surprisingly popular blog posts in the past talked about Machine Learning: Testing ycd our installation of R and Python in SQL Server 2017. The problem is that SQL Server 2022 changed things, and then there is a further issue with the Python distribution.

2025-12-01

General: Machine Learning Summit from PackT

General: Machine Learning Summit from PackT

Our friends at Packt are running a virtual Machine Learning Summit July 16–18.

Content looks good so far, with some great people speaking, and promising a bunch of real-world case studies. Probably the greatest value in these summits are the conversations across ML, AI, and data engineering, that are discussing future directions. It’s all virtual, and in an accessible format.

So if you are into machine learning, this could be for you.

2025-05-29

What has ChatGPT got to do with Baseball Umpiring?

What has ChatGPT got to do with Baseball Umpiring?

What many people who follow me don’t know, is that I spent a lot of years playing baseball. Early on I played third base, later I pitched, and my last position was usually catcher or first base.

I love the game. What is less known is that I also spent many years umpiring baseball, through to state level. I umpired in the Pan-Pacific games in Queensland.

Umpiring requires a very detailed knowledge of the rules of the game. Umpires must pass annual rules examinations. If you want to umpire at higher levels of competition, you must pass the exams at a higher level.

2024-08-02

SQL Down Under show 90 with guest Joe Sack discussing Azure SQL Database and Copilot is now published!

SQL Down Under show 90 with guest Joe Sack discussing Azure SQL Database and Copilot is now published!

Joe Sack is an old friend. (I’ve known him a long time. He’s not actually old). He’s always fascinating to chat to and so I was so pleased to have him on another SQL Down Under podcast today. Last time was in 2017.

Joe is a Senior Product Manager at Microsoft and is working with the integration of data and AI with SQL Copilots. The aim is to use AI and natural language processing to make database management simpler, whether you’ve been doing it for years or just getting started. The experiences he discusses in the show include Azure Copilot integration and Natural language to SQL.

2024-04-27

Cosmos Down Under show 11 with guest Khelan Modi discussing vector database and search is released

Cosmos Down Under show 11 with guest Khelan Modi discussing vector database and search is released

It’s been a big week for Down Under podcasts. I really enjoyed recording another new Cosmos Down Under podcast this morning. It’s now edited and released.

Show 11 features Azure Cosmos DB product manager Khelan Modi discussing the vector database and search features of Azure Cosmos DB, and particularly how that applies to large language models (LLMs).

Khelan is a product manager on the Azure Cosmos DB team. He leads the AI and Portal (UI) initiatives for the Vector Database service, Azure Cosmos DB for MongoDB vCore.

2024-03-09

Fix: Getting R and Python to actually work on SQL Server 2022

Fix: Getting R and Python to actually work on SQL Server 2022

NOTE: See the updated version of this article .

One of my more surprisingly popular blog posts in the past talked about Machine Learning: Testing your installation of R and Python in SQL Server 2017. The problem is that SQL Server 2022 changed things.

Now the SQL Server team has published an article on how to make it work.  What I’ve been finding though, is that people are struggling to follow that article. And more concerning, people using named instances of SQL Server (like SQLEXPRESS) couldn’t get it to work at all, no matter how much they tried.

2024-03-04

DevOps: Is AIOps just yet another almost meaningless acronym?

DevOps: Is AIOps just yet another almost meaningless acronym?

DevOps has quickly become a core part of how many organizations deliver IT, and in particular, how they deliver applications. But just as quickly as it has become popular, a whole series of XXXOps names have appeared. One of the latest is AIOps. So is it just yet another almost meaningless acronym?

Well as Betteridges Law of Headlines suggests, the answer is no.

When I first saw the term, I was presuming this would be about how to deploy AI based systems, and I wondered why on earth that would need a special name. But that’s not what it is.

2019-05-03

AI: Machine Learning and AI - What's in a name?

AI: Machine Learning and AI - What's in a name?

I regularly hear the terms AI and Machine Learning used almost interchangeably, along with a variety of other related terms. I thought it would be useful to add a post that defines some of the common terms and how they differ:

Artificial intelligence (AI) is a fairly generic term. It relates to all intelligent agents that are able to be aware of their environments (in some way), and to take actions where the aim is to achieve a specified goal. Sometimes these goals are terminal ie: they reach a final desired state. Other times, these goals are continuous ie: keep speed at a desired value. It is considered “artificial” intelligence as to an observer, it mimics cognitive functions that humans would imagine other humans performing.

2018-10-19

AI: Detecting and Avoiding Customer Churn is Critical

AI: Detecting and Avoiding Customer Churn is Critical

I’ve flown a lot over the years. What continues to strike me though, is how poorly airlines use machine learning and AI, even when they are in strong competitive environments. A key indicator is detecting and avoiding customer churn. Let me give you an example:

We flew with QANTAS and with their partners in One World for many years. We were both platinum and I’d been platinum for many years. At a recent peak a few years ago, we were flying once or twice a week. That’s not a crazy amount, but it’s enough. And it’s certainly enough to be able to see a purchasing pattern.

2018-10-12

Opinion: What's with the lack of coding standards in Data Science?

Opinion: What's with the lack of coding standards in Data Science?

I’ve been spending a lot of time over the last few years working through data science and AI topics. One thing that’s struck me consistently is the total lack of reasonable coding standards in almost all the sample code that I see.

I was doing an AI lab in eDX recently, and one of the questions got me to open some sample Python code for a virtual environment, and asked me to work out how the virtual world that it created operated.

2018-10-02