In this blog post, we’ll explore how to use the Naive Bayes algorithm to classify emails as either spam or ham (non-spam). We’ll walk through a Python implementation using the MultinomialNB classifier from the scikit-learn library. This method is particularly effective for text classification problems. Step-by-Step Implementation Importing Libraries: We start by importing the necessary libraries: Loading the Dataset: […]
Tag: ml
Custom Useful, Fun AI Agents
I have created some custom AI agents for specific, contextual queries that hallucinate less and give you focused answers: for real-life uses or for entertainment. You can start using these tuned and customized agents without distractions. The following two agents are based on OpenAI platform. They’re free to use so far, so no need to […]
Generative Voice AI – resemble.ai
I don’t like the ending tone in some of the words as I don’t use that tone; it seems a bit annoying; also I noticed (may or may not be apparent to you from this quick sample), but the AI model seems to have a more British tonality than American for certain words and expressions. […]
Summarization & Detecting Topics by Deepgram Whisper AI
This is the last of 3-part series on Datagram’s Audio->Text Transcriber using their latest AI engine called Whisper. Be sure to read them in this order, if you haven’t already, to follow along best: To complete essentially all the features I care to implement, today I’m going to add the last 2 features in my […]
AI Transcription with Diarization
This is the last of 3-part series on Datagram’s Audio->Text Transcriber using their latest AI engine called Whisper. Be sure to read them in this order, if you haven’t already, to follow along best: This is a continuation of the post about Deepgram’s AI technology used for transcribing real-time or pre-recorded audio in virtually any […]
Powerful auto-transcription using AI (openAI’s Whisper)
Today, I’ll show you how to tap into the “world’s most powerful speech-to-text API” from our own applications. We’ll be using Deepgram, which is based on OpenAI’s Whisper AI SST technology. Deepgram claims to have trained their AI model with10,000+ years worth of audio data. (For more of my posts about Text to Speech and vice […]
One of the newest TTS on the block
Today, I’ll share some information on one of the latest transformer-based TTS (text-to-speech) or text-to-audio that’s generating some buzz. Yes, AI. While there are several really great models out there from IBM, Microsoft, Google for example, this one’s a little different. Let me introduce Bark. By the way, to see older posts on TTS related […]
Write your own program to use ChatGPT
With OPENAI’s ChatGPT being open to the public, it is now easy and possible to harness the incredible power of LLM like ChatGPT using any language of your choice. The good folks at OpenAI has good API documentations and handout free API keys to anyone who is interested. The free account allows you to use […]
Decision Tree and Prediction (Python)
This is an example of a Decision Tree model (very useful and popular method) to make prediction using the power of Machine Learning…using just a normal PC. Here we predict salary (depedendent variable) by giving various types of criteria (different forks in a decision tree). e.g. What’s the salary of a particular gender, of some […]
Wanna be a weather reporter? Me neither! So let’s do Machine Learning (AI)! Part 2/2
This is a continuation of weather prediction via ML and is the final part (2/2) where I demonstrate how to write Python code to leverage a neural network algorithm called Neural Prophet, a quite straight-forward and useful model. Be sure to read the first part that focuses on understanding the data in Excel and some […]