MLRelated.com
Blogs

Thirty-year coding veteran vs AI

Leonard Dieguez October 13, 2023

There has been a lot of discussion around chat GPT lately and some of my friends have started using GPT4 for coding. So in traditional Bob Pease vernacular “What’s all this ChatGPT stuff anyhow?”

I figured I was a very, very late adopter of the new fancy thing we used to refer to as a “cell phone”, and I shall not repeat that again. I was having motivation issues with producing a good architecture for a complex-valued constellation mapper. I posed the question to chat GPT3. To my...


Why use Area under the curve? (AUC - ROC)

Leonard Dieguez September 12, 2023

In scenarios with imbalanced datasets, ROC curves and AUC-ROC scores are valuable tools for assessing and comparing the performance of machine learning classifiers. They help provide insights into a model's ability to distinguish between classes and can guide decision-making regarding threshold selection.


Machine Learning Models Basic Performance Metrics

Leonard Dieguez June 10, 2023

When analyzing data using ML, a suitable model is selected based on the task. Classifier models learn from labeled training data and predict discrete classes, while regression models learn from training data and predict continuous values. To evaluate the performance of machine learning models, various metrics are used. These include accuracy, precision, recall, F1 score, AUC-ROC, MAE, MSE, and R-squared. The choice of metrics depends on the specific problem and the nature of the data. Visualization tools such as confusion matrices, ROC curves, precision-recall curves and others can be used to gain insights into the performance of classifiers and understand their behavior. When dealing with imbalanced data, using accuracy as an evaluation metric can be misleading. Accuracy does not account for class imbalance, it may overestimate the performance. It is important to consider other metrics such as AUC and others which provide a more comprehensive evaluation performance in imbalanced datasets.


3 Tips for using ChatGPT for Embedded Software

Jacob Beningo January 13, 2023

Unless you’ve been hiding under a rock, the internet has been ablaze with conversations, videos, and blogs about ChatGPT. ChatGPT is a chatbot that interacts with a user conversationally. The chatbot can answer questions, request clarification, and even write and debug code for us embedded folks. ChatGPT is a trained AI model which finished its training in early 2022 and has been available in public beta since November.

This post will discuss a few exciting ways to use ChatGPT to accelerate...


TensorFlow Datasets

Peter McLaughlin October 30, 2022

TensorFlow Datasets are commonly used for sharing datasets in the public domain. Well known examples include the MNIST dataset for classification and the OxfordIIITPET dataset for segmentation. This article explains how TensorFlow Datasets work and how to create your own.

There are three main scenarios in which TensorFlow Datasets are used:

  • Creating a dataset for sharing in the public domain
  • Modifying a publicly available dataset
  • Creating a...

How to Architect a TinyML Application with an RTOS

Jacob Beningo October 5, 2022

An interesting question I’ve been asked on several occasions is, “How do I use machine learning with an RTOS?”. As machine learning finds its way into more applications, there will be applications that target low-power, clock-limited, edge devices that run on a microcontroller. More than half of microcontroller-based real time systems use a real time operating system (RTOS). This post will explore how to architect our real time operating system (RTOS) based embedded software to include...


Is Machine Learning Ready for Microcontroller-based Systems?

Jacob Beningo September 22, 2022

Machine learning” is currently technologies number one hype word. Mention machine learning and venture capitalists open their checkbooks with visions of riches and grandeur. Developers froth at the mouth with opportunities and dreams of potential applications. Managers cringe at the near ridiculous salaries paid for someone working in machine learning.

Despite the hype, machine learning has already been a significant technology driver that has delivered results and innovations in...


A New Related Site!

Stephane Boucher September 22, 20222 comments

We are delighted to announce the launch of the very first new Related site in 15 years!  The new site will be dedicated to the trendy and quickly growing field of Machine Learning and will be called - drum roll please - MLRelated.com.

We think MLRelated fits perfectly well within the “Related” family, with:

  • the fast growth of TinyML, which is a topic of great interest to the EmbeddedRelated community
  • the use of Machine/Deep Learning in Signal Processing applications, which is of...

A New Related Site!

Stephane Boucher September 22, 20222 comments

We are delighted to announce the launch of the very first new Related site in 15 years!  The new site will be dedicated to the trendy and quickly growing field of Machine Learning and will be called - drum roll please - MLRelated.com.

We think MLRelated fits perfectly well within the “Related” family, with:

  • the fast growth of TinyML, which is a topic of great interest to the EmbeddedRelated community
  • the use of Machine/Deep Learning in Signal Processing applications, which is of...

3 Tips for using ChatGPT for Embedded Software

Jacob Beningo January 13, 2023

Unless you’ve been hiding under a rock, the internet has been ablaze with conversations, videos, and blogs about ChatGPT. ChatGPT is a chatbot that interacts with a user conversationally. The chatbot can answer questions, request clarification, and even write and debug code for us embedded folks. ChatGPT is a trained AI model which finished its training in early 2022 and has been available in public beta since November.

This post will discuss a few exciting ways to use ChatGPT to accelerate...


How to Architect a TinyML Application with an RTOS

Jacob Beningo October 5, 2022

An interesting question I’ve been asked on several occasions is, “How do I use machine learning with an RTOS?”. As machine learning finds its way into more applications, there will be applications that target low-power, clock-limited, edge devices that run on a microcontroller. More than half of microcontroller-based real time systems use a real time operating system (RTOS). This post will explore how to architect our real time operating system (RTOS) based embedded software to include...


Is Machine Learning Ready for Microcontroller-based Systems?

Jacob Beningo September 22, 2022

Machine learning” is currently technologies number one hype word. Mention machine learning and venture capitalists open their checkbooks with visions of riches and grandeur. Developers froth at the mouth with opportunities and dreams of potential applications. Managers cringe at the near ridiculous salaries paid for someone working in machine learning.

Despite the hype, machine learning has already been a significant technology driver that has delivered results and innovations in...


TensorFlow Datasets

Peter McLaughlin October 30, 2022

TensorFlow Datasets are commonly used for sharing datasets in the public domain. Well known examples include the MNIST dataset for classification and the OxfordIIITPET dataset for segmentation. This article explains how TensorFlow Datasets work and how to create your own.

There are three main scenarios in which TensorFlow Datasets are used:

  • Creating a dataset for sharing in the public domain
  • Modifying a publicly available dataset
  • Creating a...

Thirty-year coding veteran vs AI

Leonard Dieguez October 13, 2023

There has been a lot of discussion around chat GPT lately and some of my friends have started using GPT4 for coding. So in traditional Bob Pease vernacular “What’s all this ChatGPT stuff anyhow?”

I figured I was a very, very late adopter of the new fancy thing we used to refer to as a “cell phone”, and I shall not repeat that again. I was having motivation issues with producing a good architecture for a complex-valued constellation mapper. I posed the question to chat GPT3. To my...


Why use Area under the curve? (AUC - ROC)

Leonard Dieguez September 12, 2023

In scenarios with imbalanced datasets, ROC curves and AUC-ROC scores are valuable tools for assessing and comparing the performance of machine learning classifiers. They help provide insights into a model's ability to distinguish between classes and can guide decision-making regarding threshold selection.


Machine Learning Models Basic Performance Metrics

Leonard Dieguez June 10, 2023

When analyzing data using ML, a suitable model is selected based on the task. Classifier models learn from labeled training data and predict discrete classes, while regression models learn from training data and predict continuous values. To evaluate the performance of machine learning models, various metrics are used. These include accuracy, precision, recall, F1 score, AUC-ROC, MAE, MSE, and R-squared. The choice of metrics depends on the specific problem and the nature of the data. Visualization tools such as confusion matrices, ROC curves, precision-recall curves and others can be used to gain insights into the performance of classifiers and understand their behavior. When dealing with imbalanced data, using accuracy as an evaluation metric can be misleading. Accuracy does not account for class imbalance, it may overestimate the performance. It is important to consider other metrics such as AUC and others which provide a more comprehensive evaluation performance in imbalanced datasets.


A New Related Site!

Stephane Boucher September 22, 20222 comments

We are delighted to announce the launch of the very first new Related site in 15 years!  The new site will be dedicated to the trendy and quickly growing field of Machine Learning and will be called - drum roll please - MLRelated.com.

We think MLRelated fits perfectly well within the “Related” family, with:

  • the fast growth of TinyML, which is a topic of great interest to the EmbeddedRelated community
  • the use of Machine/Deep Learning in Signal Processing applications, which is of...