Mindsdb: In-Database Machine Learning

MindsDB ML-SQL Server enables machine learning workflows for the most powerful databases and data warehouses using SQL.

  • Developers can quickly add AI capabilities to your applications.
  • Data Scientists can streamline MLOps by deploying ML models as AI Tables.
  • Data Analysts can easily make forecasts on complex data (like multivariate time-series with high cardinality) and visualize them in BI tools like Tableau.

NEW! Check-out the rewards and community programs.

Machine Learning using SQL 




You can try the Mindsdb ML SQL server here (demo).


To install the latest version of MindsDB please pull the following Docker image:

docker pull mindsdb/mindsdb

Or, use PyPI:

pip install mindsdb


MindsDB automates and abstracts machine learning models through virtual AI Tables:

Apart from abstracting ML models as AI Tables inside databases, MindsDB has a set of unique capabilities:

Easily make predictions over very complex multivariate time-series data with high cardinality

An open JSON-AI syntax to tune ML models and optimize ML pipelines in a declarative way

How it works:

Let MindsDB connect to your database.

Train a Predictor using a single SQL statement (make MindsDB learn from historical data automatically) or import your ML model to a Predictor via JSON-AI.

Make predictions with SQL statements (Predictor is exposed as virtual AI Tables). There’s no need to deploy models since they are already part of the data layer.

Check our docs and blog for tutorials and use case examples.


  • Automatic data pre-processing, feature engineering, and encoding
  • Classification, regression, time-series tasks
  • Bring models to production without “traditional deployment” as AI Tables
  • Get models’ accuracy scoring and confidence intervals for each prediction
  • Join ML models with existing data
  • Anomaly detection
  • Model explainability analysis
  • GPU support for models’ training
  • Open JSON-AI syntax to build models and bring your ML blocks in a declarative way

Database Integrations

MindsDB works with most of the SQL and NoSQL databases and data Streams for real-time ML.

Connect your DataConnect your DataConnect your Data
Connect Apache KafkaConnect Microsoft AccessOracle Badge
Connect Amazon RedshiftAirtable BadgePinot Badge
Connect CassandraDataStax BadgeAmazon S3 Badge
Connect ClickhouseGoogle Big Query BadgeSQLite Badge
Connect CockroachDBckan BadgeSupabase Badge
Connect MariaDBCouchbase BadgeTiDB Badge
Connect SQL ServerCrateDB BadgeTimescale Badge
Connect MongoDBDoIt BadgeAmazon DynamoDB Badge
Connect MySQLDatabricks BadgeYugabyteDB Badge
Connect PostgreSQLIBMDB2 BadgeopenGauss Badge
Connect RedisVertica Badge 
Connect SAP HANAElastic Badge 
Connect ScyllaDBFirebird Badge 
Connect SinglestoreApache Hive Badge 
Connect SnowflakeInformix Badge 
Connect TeradataMatrixone Badge 
Connect TrinoMonetdb Badge 

:question: :wave: Missing integration?


To get your hands on MindsDB, we recommend using the Docker image or simply sign up for a free cloud account. Feel free to browse documentation for other installation methods and tutorials.


You can find the complete documentation of MindsDB at docs.mindsdb.com.


If you found a bug, please submit an issue on GitHub.

To get community support, you can:

If you need commercial support, please contact MindsDB team.


A great place to start contributing to MindsDB will be our GitHub projects for checkered_flag:

Also, we are always open to suggestions so feel free to open new issues with your ideas and we can guide you!

Being part of the core team is accessible to anyone who is motivated and wants to be part of that journey! If you'd like to contribute to the project, refer to the contributing documentation.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.

Mailing lists

Subscribe to MindsDB Monthly Community Newsletter to get general announcements, release notes, information about MindsDB events, and the latest blog posts. You may also join our beta-users group, and get access to new beta features.

Download Details:

Author: Mindsdb
Source Code: https://github.com/mindsdb/mindsdb 
License: GPL-3.0 license

#mysql #machinelearning #postgresql #pytorch #artificialintelligence 

Mindsdb: In-Database Machine Learning
Royce  Reinger

Royce Reinger


Dalle-playground: Text-to-image Playground (fka DALL-E Playground)


Text-to-image Playground (fka DALL-E Playground)

A playground for text-to-image enthusiasts using Stable Diffusion V2.

November 2022, major update

The original version of this repository used DALL-E Mini. With the recent release of Stable Diffusion (SD) V2 and the ease of implementation - this repository has moved to use SD over DALL-E Mini.

Also see Whisper Playground - a playground for building real-time speech2text web apps using OpenAI's Whisper

SD repo demo

Fast usage

You can tinker with the DALL-E playground using a Github-hosted frontend. Follow these steps:

  1. Run the DALL-E backend using Google Colab Open In Colab
  2. Copy the URL from the last executed cell. Look for the line having your url is: https://XXXX.trycloudflare.com
  3. Wait for the backend to fully load, this should take ~2min and you should see --> Image generation server is up and running!
  4. Browse https://saharmor.github.io/dalle-playground/?backendUrl=https://XXXX.trycloudflare.com where the backendUrl query parameter should be the url from the previous step

General note: while it is possible to run the backend on the free tier of Google Colab, generating more than ~2 images would take >1min, which will result in a frontend timeout. Consider upgrading to Colab Pro or run the backend notebook on your stronger ML machine (e.g. AWS EC2).

Local development

Follow these steps in case you'd like to clone and run the DALL-E Playground locally:

  1. Clone or fork this repository
  2. Create a virtual environment cd backend && python3 -m venv ENV_NAME
  3. Run virtual environment source venv/bin/activate
  4. Install requirements pip install -r requirements.txt
  5. Make sure you have pytorch and its dependencies installed Installation guide
  6. Run web server python3 app.py --port 8080 (you can change from 8080 to your own port)
  7. In a different terminal, install frontend's modules cd interface && npm install and run it npm start
  8. Copy backend's url from step 5 and paste it in the backend's url input within the web app

Local development/use with Windows WSL2

Window's WSL2 Linux layer has some unique issues getting running with GPU support. Nvidia CUDA drivers are installed on the Windows side instead of Linux, but jax does not see the GPU without compiling from source. Here are extra instructions to get jax compiled.

  1. Have a recent NVIDIA GeForce Game Ready or NVIDIA RTX Quadro driver installed in Windows
  2. In Linux: Install Nvidia's CUDA toolkit, WSL instructions
  3. In Linux: Install Nvidia's CuDNN library: instructions
  4. In Linux: Build and install both jaxlib and jax from source, remember to enable cuda during compilation with python3 build/build.py --enable_cuda instructions
  5. In compiling jaxlib, you might hit a broken configuration file, solution here: https://github.com/google/jax/issues/11068
  6. Follow local development instructions above

WSL2 installs are fairly bare bones, expect to install packages like npm, python3-pip and many others to get things working. More troubleshooting here

Local development with Docker-compose

Make sure you have docker and The NVIDIA Container Toolkit installed

Clone or fork this repository

start server docker-compose up, add -d to docker-compose up if you'd like to run it in the background

The first time will take some time to download the images, models and other dependencies. models and other dependencies are downloaded only once, and then cached.

Copy backend's url from step 2 and paste it in the backend's url input within the web app.

webapp at http://localhost:3000/dalle-playground


The original reposistory used @borisdayma's DALL-E Mini.

Download Details:

Author: Saharmor
Source Code: https://github.com/saharmor/dalle-playground 
License: MIT license

#machinelearning #transformers #artificialintelligence #openai 

Dalle-playground: Text-to-image Playground (fka DALL-E Playground)

How to Use ChatGPT with Python

In this tutorial, we’ll setup a simple example teaching you the exact steps which are needed to make use of ChatGPT in your Python program.

How To Use ChatGPT With Python

ChatGPT is a variant of the GPT-3 language model, specifically designed for conversational language generation. To use ChatGPT in Python, you will need to install the OpenAI API client and obtain an API key. In this article we’ll setup a simple example teaching you the exact steps which are needed to make use of ChatGPT in your Python program.

Let’s get started. First create a new empty project folder:

$ mkdir python-chatgpt
$ cd python-chatgpt

In the next step we need to install the OpenAI API client library for Python.

Installing OpenAI API client library for Python

To install the OpenAI API client library for Python, you will need to have Python and pip, the Python package manager, installed on your system.

To install the library, open a terminal or command prompt and type the following command:

$ pip install openai

This will install the OpenAI API client and all of its dependencies.

Once the installation is complete, you can import the library in your Python code by adding the following line at the top of your script:

import openai

Let’s do so: Create a new file chat.py in the project folder and start by insert the import statement on top of the file.

Let’s extend the Python code further and use the OpenAI client library to interact with the artificial intelligence:

import openai

# Set up the OpenAI API client
openai.api_key = "YOUR_API_KEY"

# Set up the model and prompt
model_engine = "text-davinci-003"
prompt = "Hello, how are you today?"

# Generate a response
completion = openai.Completion.create(

response = completion.choices[0].text

This will generate a response to the prompt Hello, how are you today? using the ChatGPT model. The response will be returned as a string in the response variable.

You can customize the behavior of the model by adjusting the temperature parameter, which controls the level of randomness in the generated text. A higher temperature will result in more varied and potentially less coherent responses, while a lower temperature will produce responses that are more predictable and potentially more coherent.

You can also use the stop parameter to specify a string or sequence of strings that, if encountered in the generated text, will cause the model to stop generating further text. This can be useful for controlling the length of the generated text or for ensuring that the model does not generate inappropriate content.

YOUR_API_KEY is a placeholder for your actual API key.

To use the OpenAI API, you will need to sign up for an account and obtain an API key. You can do this by visiting the OpenAI website and clicking on the Get an API key button.

Once you have obtained your API key, you will need to replace YOUR_API_KEY in the Python code with your actual API key. This will allow the API client to authenticate your requests to the OpenAI API.

Let’s try it out. Change to the command line again and execute the Python script by typing in:

$ python chat.py

In the following screenshot you can see that ChatGPT is responding with an answer to the question Hello, how are you today? which we have submitted:

Example python program

That is how easy it is to use ChatGPT functionality from within your Python program. Feel free to extend this example and adapt it to your requirements. Have much fun!

Blog Post: https://www.codingthesmartway.com/how-to-use-chatgpt-with-python/ 

This is a CodingTheSmartWay tutorial.

#chatgpt #python #gpt3 #ai #openai #artificialintelligence #webdevelopment #programming

How to Use ChatGPT with Python

Machine Learning Full Course in 12 Hours

This Machine Learning Full Course will help you understand and learn Machine Learning Algorithms in detail. The topics covered in this Machine Learning Roadmap course: How to become a Machine Learning Engineer? Machine Learning Algorithm, Linear Regression Algorithm, Logistic Regression Algorithm, Linear Regression Algorithm vs Logistic Regression Algorithm, Decision tree Algorithm, Random Forest, and more

Machine Learning Full Course - 12 Hours | Machine Learning Roadmap 

This Edureka Machine Learning Full Course video will help you understand and learn Machine Learning Algorithms in detail. This Machine Learning Tutorial is ideal for both beginners as well as professionals who want to master Machine Learning Algorithms. Below are the topics covered in this Machine Learning Roadmap course:

  • Introduction to Machine Learning 
  • How to become a Machine Learning Engineer? / Machine Learning Roadmap
  • Machine Learning Algorithm
  • Linear Regression Algorithm
  • Logistic Regression Algorithm
  • Linear Regression Algorithm vs Logistic Regression Algorithm
  • Decision tree Algorithm 
  • Random Forest
  • KNN Algorithm
  • Naive Bayes Classifier
  • Suport Vector Machine
  • K-Means Clustering algorithm
  • Mathematics for Machine Learning
  • Machine Learning Model Deployment
  • Machine Learning on Cloud
  • Machine Learning Engineer - Skills,Jobs,Resume,Salary 
  • Machine Learning tools and framework 
  • Machine Learning Interview Q and A

#datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience 


Machine Learning Full Course in 12 Hours
Toby Rogers

Toby Rogers


Machine Learning with Python - Full Course

Machine Learning With Python Full Course | Machine Learning Tutorial for Beginner 

In this video on Machine Learning with a full Python course, you will understand the basics of machine learning, essential applications of machine learning, and machine learning concepts, and why mathematics, statistics, and linear algebra are crucial. We'll also learn about regularization, dimensionality reduction, and PCA. We will perform a prediction analysis on the recently held US Elections. Finally, you will study the Machine Learning roadmap for 2023?

  • Machine Learning Basics
  • Top 10 applications of machine learning
  • Machine Learning Tutorial Part-1
  • Why Machine Learning
  • What is Machine Learning
  • Types of Machine Learning
  • Supervised Learning
  • Reinforcement Learning
  • Supervised vs. Unsupervised Learning
  • Decision Trees
  • Machine Learning Tutorial Part-2
  • K-Means Algorithm
  • Mathematics for Machine Learning
  • What is Data?
  • Quantitative/Categorical Data
  • Qualitative/Categorical Data
  • Linear Algebra
  • Calculus
  • Statistics
  • Demo on Statistics
  • Probability
  • Demo on Naive Bayes
  • Linear Regression Analysis
  • Logistic Regression
  • Confusion Matrix
  • Decision Tree in Machine Learning
  • Random Forest
  • K Nearest Neighbors
  • Support Vector Machine
  • Regularization in ML
  • PCA
  • US Election Prediction
  • Machine Learning roadmap 2023

#python #datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience 

Machine Learning with Python - Full Course
Edward Jackson

Edward Jackson


Learn Data Science for Beginners - Full Course in 12 Hours

This Data Science Full Course will help you understand and learn Data Science Algorithms in detail. You'll learn: What is Data Science? What is Machine Learning? Data Scientist Roadmap, Statistics and Probability, Linear Regression, Logistic Regression, Decisiontree aglorithm, Randon Forest, KNN Algorithm, Naive Bayes Classifier, and more

Data Science Full Course - 12 Hours | Data Science For Beginners 

This Edureka Data Science Full Course video will help you understand and learn Data Science Algorithms in detail. This Data Science Tutorial is ideal for both beginners as well as professionals who want to master Data Science Algorithms.

Below are the topics covered in this Data Science Full course tutorial:

  • What is Data Science ?
  • Who is a Data Scientist ?
  • Data Scientist Roadmap
  • Data Science Salary 
  • Data Life Cycle 
  • Statistics and Probability 
  • What is Machine Learning?
  • Linear Regression 
  • Logistic Regression
  • Decisiontree aglorithm
  • Randon Forest 
  • KNN Algorithm
  • Naive Bayes Classifier
  • Support Vector MAchine
  • K-means CLustering Algorithm
  • Apriori ALgorithm
  • Reinforcement Learning
  • Q Learning
  • What is Deep Leanring?
  • Data Science for Non-Programmers
  • Data Scientist  Resume
  • Data Science Interview Q and A

#datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience #datastructures #algorithms

Learn Data Science for Beginners - Full Course in 12 Hours
Brooke  Giles

Brooke Giles


Python Programming for Beginners - Full Course in 10 Hours

Learn Python Programming in this full course for beginners. You'll learn: Python Installation, Object-oriented programming, Type Hierarchy, Operator Precedence, Conditional Statements, Iterators, Modules, Packages, Generators, List Comprehensions, Regular Expression, Serialization, Closures & decorators, and more

Python Full Course | Python Tutorial For Beginners | Python Programming

This Python programming full course video will cover all the basics to advanced concepts of Python programming. This Python Full Course contains real-life examples and in-depth, hands-on demos.

  • Introduction
  • Python Installation
  • Object-oriented programming concepts
  • Python project
  • Type Hierarchy
  • Operator Precedence
  • Conditional Statements
  • Iterators, Modules, Packages, Generators
  • List Comprehensions
  • Regular Expression
  • Serialization 
  • Closures & decorators

What is Python?

Python is a high-level object-oriented programming language developed by Guido van Rossum in 1989 and was first released in 1991. Python is often called batteries included language due to its comprehensive standard library. A fun fact about Python is that The name Python was taken from the popular BBC comedy show of that time, "Monty Python's Flying Circus." Python is widely used in data analytics, machine learning, and web development these days. Python allows you to write programs in fewer lines of code than most programming languages. Python as a programming language is growing rapidly. It's the right time to get trained in Python.

Following are the standard or built-in data types of Python: 
1. Numeric data types
2. Text data type
3. Sequence data type
4. Mapping data type
5. Set data type
6. Boolean data type
7. Binary data type

#python #programming #developer #programmer #coding #softwaredeveloper #computerscience #webdev #webdeveloper #webdevelopment #datascience #machinelearning #deeplearning #ai #artificialintelligence 

Python Programming for Beginners - Full Course in 10 Hours
Riley Lambert

Riley Lambert


Data Science for Beginners - Full Course in 11 Hours

Data Science Full Course | Data Science | Data Science For Beginners

Learn Data Science in this full course for beginners, which contains topics like introduction to data science, data science life cycle, applications of data science, data science interview questions, and how to create a resume if you are an aspirant data scientist.

  • ✅00:00 - Data Science Full Course 2023
  • ✅01:20 -  Data Science in 2 minutes
  • ✅03:43 - How to become a Data Scientist in 2021
  • ✅05:20 - AI vs ML vs DL vs Data Science - Difference Explained
  • ✅20:03 - Data Science Tutorial
  • ✅51:04 - Statistics For Data Science
  • ✅01:20:38-  Types of Distribution
  • ✅02:40:46 - Introduction to  Machine Learning
  • ✅03:28:51 - What is Machine Learning?
  • ✅03:31:08 - Machine Learning Algorithm
  • ✅05:08:18 - Classification in Machine Learning
  • ✅06:42:12 - Types of Machine Learning
  • ✅07:44:32 - K-Means clustering algorithm
  • ✅08:15:35 - Introduction to Bayes Theorem
  • ✅08:59:20 - What is Deep Learning?
  • ✅09:08:10 - What is a neural network?
  • ✅09:40:02 - Types of Python Libraries for Data Science
  • ✅10:42:11 - Data Science Engineer Resume
  • ✅10:48:05 - Data Science Interview questions

#datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience 

Data Science for Beginners - Full Course in 11 Hours
Royce  Reinger

Royce Reinger


Artificial intelligence for Social Control Of Public Administration


Artificial Intelligence for social control of public administration

Non-tech crash course into Operação Serenata de Amor


Serenata de Amor is an open project using artificial intelligence for social control of public administration.


We are a group of people who believes in power to the people motto. We are also part of the Data Science for Civic Innovation Programme from Open Knowledge Brasil.

Among founders and long-term members, we can list a group of eight people – plus numerous contributors from the open source and open knowledge communities: Tatiana Balachova, Felipe Cabral, Eduardo Cuducos, Irio Musskopf, Bruno Pazzim, Ana Schwendler, Jessica Temporal, Yasodara Córdova and Pedro Vilanova.


Similar to organizations like Google, Facebook, and Netflix, we use technology to track government spendings and make open data accessible for everyone. We started looking into data from the Chamber of Deputies (Brazilian lower house) but we expanded to the Federal Senate (Brazilian upper house) and to municipalities.


Irio had the main ideas for the project in early 2016. For a few months, he experimented and gathered people around the project. September, 2016 marks the launching of our first crowd funding. Since then, we have been creating open source technological products and tools, as well as high quality content on civic tech on our Facebook and Medium.


We have no non-virtual headquarters, but we work remotely everyday. Most of our ideas are crafted to work in any country that offers open data, but our main implementations focus in Brazil.


Empowering citizens with data is important: people talk about smart cities, surveillance and privacy. We prefer to focus on smart citizens, accountability and open knowledge.

Tech crash course into Operação Serenata de Amor


Serenata de Amor develops open source tools to make it easy for people to use open data. The focus is to gather relevant insights and share them in an accessible interface. Through this interface, we invite citizens to dialogue with politicians, state and government about public spendings.


Serenata's main role is played by Rosie: she is an artificial intelligence who analyzes Brazilian congresspeople expenses while they are in office. Rosie can find suspicious spendings and engage citizens in the discussion about these findings. She's on Twitter.

To allow people to visualize and make sense of data Rosie generates, we have created Jarbas. On this website, users can browse congresspeople expenses and get details about each of the suspicions. It is the starting point to validate a suspicion.


We have two main repositories on GitHub. This is the main repo and hosts Rosie and Jarbas. In addition, we have the toolbox - a pip installable package. Yet there are experimental notebooks maintained by the community and our static webpage.


Despite all these players acting together, the core part of the job is ran manually from time to time. The only part that is always online is Jarbas – freely serving a wide range of information about public expenditure 24/7.

Roughly once a month, we manually run Rosie and update Jarbas. A few times per year, we upload versioned datasets accessible via the toolbox – but we encourage you to use the toolbox to generate fresh datasets whenever you need.


Jarbas is running in Digital Ocean droplets, and deployed using the Docker Cloud architecture.


The answer to most technical why questions is because that is what we had in the past and enabled us to deliver fast. We acknowledge that this is not the best stack ever, but it has brought us here.

Contributing with code and tech skills

Make sure you have read the Tech crash course on this page. Next, check out our contributing guide.


Download Details:

Author: okfn-brasil
Source Code: https://github.com/okfn-brasil/serenata-de-amor 
License: MIT license

#machinelearning #datascience #artificialintelligence 

Artificial intelligence for Social Control Of Public Administration
Zachary Palmer

Zachary Palmer


Python with AI: From Zero to Hero

Python with AI: From Zero to Hero. Get started with Python programming. Understand Python fundamentals such as print, input, data conversion, if statement. Be ready to learn advanced Python programming

Python programming is fun and useful, but starting from zero can be intimidating.

This course is designed to remove the intimidation factor of Python programming. It is for elementary or secondary students who are curious about Python programming, or who are scared of programming. The course provides bite-size videos. Each video covers one topic in about 10 minutes. The coding demos will show every steps. You can easily follow along and start to write Python programs.

There is no jargons, just plain explanations!

If you're an adult and want to have a taste of Python programming, this is for you as well. Who would mind a quick and easy start?

The students will

  •        Start with the general concept of Python, such as what it is and what it can do.
  •        Learn how to install required software for Python programming.
  •        Learn basic Python statements, such as print, input, data conversion, and if statements.
  •        Practice Python coding.
  •        Take pop quizzes to check knowledge understanding.
  •        Write chatbot and math quiz programs.

After the course, the students will be able to:

  •        Understand the general programming concept and process.
  •        Understand what domains Python can be used.
  •        Get comfortable with Visual Studio Code (Integrated Development Environment).
  •        Understand Python fundamentals.
  •        Ready for more advanced Python programming.

What you’ll learn

  •        Get started with Python programming
  •        Understand Python fundamentals such as print, input, data conversion, if statement
  •        Programming with confidence
  •        Be ready to learn advanced Python programming

Are there any course requirements or prerequisites?

  •        This course is for absolute beginners! No programming experience is required. If you can surf online, you are good to go.

Who this course is for:

  •        This course is for absolute beginners! It's for everyone who wants to learn Python or who is scared of programming.

#python #ai #artificialintelligence

Python with AI: From Zero to Hero
Joel  Hawkins

Joel Hawkins


Machine Learning Real World Projects with Python

Machine Learning Real World Projects with Python. Create classical Machine Learning Algorithms in Python. Solve business problems using Data Science practically. Build & Deploy Machine Learning, Data Science, Artificial Intelligence, Auto Ml, Deep Learning, Natural Language Processing (NLP) Web Applications Projects with Python (Flask, Django, Heroku).

Data science is the field of study that combines domain expertise, programming skills, and knowledge of mathematics and statistics to extract meaningful insights from data. Data science practitioners apply machine learning algorithms to numbers, text, images, video, audio, and more to produce artificial intelligence (AI) systems to perform tasks that ordinarily require human intelligence. In turn, these systems generate insights which analysts and business users can translate into tangible business value.

More and more companies are coming to realize the importance of data science, AI, and machine learning. Regardless of industry or size, organizations that wish to remain competitive in the age of big data need to efficiently develop and implement data science capabilities or risk being left behind.

In This Course, We Are Going To Work On 2 Real World Projects Listed Below:

  •    Project-1: Toxic Comment Classification
  •    Project-2: UK_Road_Accident_Timeseries_Forecasting

The Only Course You Need To Become A Data Scientist, Get Hired And Start A New Career

What you’ll learn

  •        Learn to perform Classification and Regression modelling
  •        Master Machine Learning and use it on the job
  •        Use Seaborn to create beautiful statistical plots with Python.
  •        Get set-up quickly with the Anaconda data science stack environment.

Are there any course requirements or prerequisites?

  •        There is no specific prerequisite to learn machine learning. But you need to be from engineering/science/Maths/Stats background to understand the theory and the techniques used. You need to be good in mathematics. If you are not, still you can machine learning, but you will face difficulty when solving complex real world problems. Many say you need to know Linear algebra, Calculus etc. etc. but I never learnt it, yet I am able to work on machine learning.

Who this course is for:

  •        Beginners in machine learning
  •        Career transition from Non Technical into Data Science
  •        Fresher to get job into Machine Learning Engineer
  •        Beginner into Machine Learning

#python #datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience 

Machine Learning Real World Projects with Python
Corey Brooks

Corey Brooks


What is ChatGPT? What Can ChatGPT Do?

In this tutorial, you'll learn: What is ChatGPT? What Can ChatGPT Do? Testing ChatGPT, Have ChatGPT Build a To-Do App using Next.js and Tailwind CSS, A Short Story Written by ChatGPT & Generated by Descript

What is ChatGPT? Can it Help You? It built a To-Do App.. Sorta 🤔

Everyone is talking about ChatGPT, so I had to give it a try. Let’s see what it’s capable of.

What’s ChatGPT? Let’s ask ChatGPT what it is..

It says it’s a variant of the Generative Pre-trained Transformer language model that is fine-tuned for chatbot-style communication.

It’s part of OpenAI and the GPT-3 family.

It goes on to explain what GPT-3 is.

ChatGPT is specifically for conversations and can be used in chat-bots.

And it uses context-aware responses taking into account previous exchanges in conversation.

What can ChatGPT help us to do? Here are some examples:
- Explain quantum computing in simple terms.
- Write a short story.
- Ask it questions like: How do I make an HTTP request in JavaScript?
- Build an entire application in any programming language!!


⏱️ Timestamps ⏱️
00:00 - Intro
00:10 - What is ChatGPT?
01:09 - What Can ChatGPT Do?
01:56 - Testing ChatGPT
02:49 - Have ChatGPT Build a To-Do App using Next.js and Tailwind CSS
11:25 - A Short Story Written by ChatGPT & Generated by Descript

#artificialintelligence #chatgpt #learntocode

What is ChatGPT? What Can ChatGPT Do?
Joel  Hawkins

Joel Hawkins


Generative Adversarial Networks (GANs) with PyTorch

In this tutorial, you'll learn Generative Adversarial Networks (GANs) with PyTorch. Building a GAN from scratch with PyTorch

I really love Generative Learning and Generative Adversarial Networks. These amazing models can generate high-quality images (and not only images). I am an AI researcher, and I would like to share with you all my practical experience with GANs.

Generative Adversarial Networks were invented in 2014 and since that time it is a breakthrough in Deep Learning for the generation of new objects. Now, in 2019, there exists around a thousand different types of Generative Adversarial Networks. And it seems impossible to study them all.

I work with GANs for several years, since 2015. And now I can share with you all my experience, going from the classical algorithm to the advanced techniques and state-of-the-art models. I also added a section with different applications of GANs: super-resolution, text to image translation, image to image translation, and others.

This course has rather strong prerequisites:

  •        Deep Learning and Machine Learning
  •        Matrix Calculus
  •        Probability Theory and Statistics
  •        Python and preferably PyTorch

Here are tips for taking most from the course:

  •        If you don't understand something, ask questions. In case of common questions, I will make a new video for everybody.
  •        Use handwritten notes. Not bookmarks and keyboard typing! Handwritten notes!
  •        Don't try to remember all, try to analyze the material.

What you’ll learn

  •        Generative Adversarial Networks
  •        State of the art Generative Learning
  •        Progressively Growing GANs
  •        BIG Generative Adversarial Networks

Are there any course requirements or prerequisites?

  •        Probability theory, Statistics
  •        Machine Learning, Deep Learning
  •        Python
  •        Matrix Calculus

Who this course is for:

  •        People, who already know Deep Learning and want to study Generative Adversarial Networks from A to Z
  •        People, who know GANs, but wants to be in the front of the science

#gans #pytorch #python #datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience 

Generative Adversarial Networks (GANs) with PyTorch
Rachel Cole

Rachel Cole


Pair Programming with the ChatGPT AI: ChatGPT and Bash Scripting

Pair Programming with the ChatGPT AI, learn how well does GPT-3.5 understand Bash. Learn how ChatGPT handles Linux Bash scripting

Can I use the latest ChatGPT AI natural language processor to generate effective Bash code? Here's the result of my fascinating experiment. What came out the other end wasn't quite good enough, but it taught me a lot about how insanely useful the AI can be.

00:00 What's going on with the new ChatGPT thing?
01:05 Defining the problem I want to solve with the script
02:05 The first attempt by ChatGPT
02:53 The problem with the first attempt
03:10 ChatGPT incorporates the basename tool
03:35 ChatGPT reads the yt-dlp documentation
04:19 ChatGPT gets confused
04:35 ChatGPT gives up
04:53 An actual working yt-dlp script using awk

We've been hearing a lot about artificial intelligence and natural language processing – and in particular about the latest version of OpenAI's GPT – for weeks.

The recent release of GPT 3.5, and specifically the very new ChatGPT tool, is definitely a huge leap forward.

You may have read about people asking the AI to draw up real estate contracts and wills, and even generate programming code. This article approaches the tool from a slightly different perspective.

Experimenting with ChatGPT and Bash Scripting

I decided to see how ChatGPT handles Linux Bash scripting. But (spoiler alert!) as I worked through the tool's suggestions - both good code and bad code - I began to realize that there was an even more powerful benefit staring me in the face: an opportunity to pair-program with an eminently helpful partner.

The AI ultimately failed to solve my problem, but the way it failed was absolutely fascinating. And watching the AI searching for new answers was absolutely crazy.

First Attempt – ChatGPT Tries to Solve the Problem

So let's see how it all happened. Here, more or less, is the initial prompt I provided to the AI:

Write me a Bash script that prompts for the URL of a YouTube video and then uses the yt-dlp program to download from that URL. The script should then change the file name to "myvideo.mp4"

After a few seconds, the ChatGPT told me that a script was coming. Here's how that code looked:


# Prompt user for YouTube video URL
read -p "Enter YouTube video URL: " url

# Download video from YouTube using yt-dlp
yt-dlp $url

# Get the name of the downloaded video file
yt-dlp $url

# Change the downloaded video filename to "myvideo.mkv"
mv video-filename.mp4 myvideo.mp4

The AI obviously knows what Bash scripts are and how to present code. It even did a great job commenting each line of code. The AI knows how to properly prompt the user for input and then how to import the input string into a variable called url.

It also knows about the yt-dlp program and how it works, appropriately feeding it the URL that was provided. Then it at least attempted to rename the downloaded video file to myvideo.mp4. But everything kind of broke down when it assumed that the download filename would be video-filename.mp4. Whoops.

At any rate, the AI helpfully showed me how to create the script from its code and then run it.

Second Attempt – ChatGPT Corrects Itself

My first follow-up prompt pointed out the obvious mistake and, after a few seconds, ChatGPT admitted it was wrong and offered an improvement.

You're right, the script I provided would not work as expected because it assumes that the downloaded video will be saved to a file with the name video-filename.mp4. However, this is not guaranteed to be the case. To fix this...

It's just mind-blowing how the AI is completely engaged in the process here. It remembers its first code, listens to and understands my complaint, and thinks through a solution. Here's that second attempt:


# Prompt user for YouTube video URL
read -p "Enter YouTube video URL: " url

# Download video from YouTube using yt-dlp
yt-dlp $url

# Get the name of the downloaded video file
filename=$(basename $url)

# Change the downloaded video filename to "myvideo.mkv"
mv $filename.mp4 myvideo.mp4

Ok, so I can see how the solution kind of looked right. basename is a Linux tool that can strip out file system directories and leave nothing but the actual filename.

The problem is that the variable url doesn't contain a local filename, but an internet address. This one definitely isn't going to work.

Third Attempt – ChatGPT Tries Again

So I tried again, explaining how that wasn't the right tool for the job. And ChatGPT gives it another try.


# Prompt user for YouTube video URL
read -p "Enter YouTube video URL: " url

# Extract the filename from the URL
filename=$(basename $url)

# Download the video using the yt-dlp tool and specify the filename
yt-dlp -o $filename $url

# Change the downloaded video filename to "myvideo.mkv"
mv $filename.mp4 myvideo.mp4

This time, it shows that it had familiarized itself with the yt-dlp documentation, suggesting that we use the -o argument to give the downloading video a name, against which basename should now work. With each iteration, the AI gives me this updated code for my cutting and pasting pleasure.

Of course, that wasn't going to work either. With the next attempt, I get the feeling that the AI is a bit desperate.

If At First You Don't Succeed...At Least You'll Learn Something

I'm going to skip past the next attempt or two, as we ran into a side problem: Videos coming from YouTube aren't always MP4s, they're sometimes MKVs or even WEBMs. That uncertainty could mess with the filenames we're working with, so I asked ChatGPT to work that into the code.


# Prompt user for YouTube video URL
read -p "Enter YouTube video URL: " url

# Extract the filename from the URL
filename=$(basename $url)

# Download the video using the yt-dlp tool and specify the filename
yt-dlp -F mp4 -O $filename $url

# Change the downloaded video filename to "myvideo.mkv"
mv $filename.mp4 myvideo.mp4

When I reported how that, too, wouldn't work, the AI started to get confused. First it told me that the -F option was expecting a valid video format, but that "mp4" wasn't valid. Then it gives me valid options, including "mp4".

When nothing the AI suggested worked, it gave up, advising me to make sure that yt-dlp was actually installed on my machine and showing me how to do that.

I figured that was a good time to give up. It was a surprisingly good effort and, even if it didn't solve the problem, it did show me some useful syntax and got me thinking.

In case you're interested, by the way, here's how an actual working script would look.


# Prompt user for YouTube video URL
read -p "Enter YouTube video URL: " url

# Download video from YouTube using yt-dlp
yt-dlp $url

# Get the name of the downloaded video file
original_filename=$(ls | awk '/mp4/ || /webm/ || /mkv/')

# Change the downloaded video filename to "myvideo.mkv"
mv "$original_filename" /home/ubuntu/vids/myvideo.mp4

The first two lines of code are just the way ChatGPT suggested. But I then isolate the filename by listing all the files in the current directory and using awk to filter for only filenames containing either mp4, webm, or mkv. (This assumes that there will never be more than one video file in the directory at a time.)

The filename will then be written to the original_filename variable. I'll then use that variable as part of a move command to rename the file myvideo.mp4 As far as I can tell, that'll work no matter what format was actually sent.

Wrapping Up

Artificial intelligence might not be quite ready for real-world programming tasks today, but I wouldn't want to bet against it getting there tomorrow...or some time next year.

In the meantime though, I would absolutely recommend engaging with tools like ChatGPT whenever you're faced with a challenging programming task.

Two minds are (almost) always better than one.

Original article source at https://www.freecodecamp.org

#artificialintelligence #chatgpt #ai

Pair Programming with the ChatGPT AI: ChatGPT and Bash Scripting
Zenon  Pruschke

Zenon Pruschke


Image Classification in TensorFlow with Vision Transformer (ViT)

In this tutorial, we will build a flower image classification using Vision Transformer (ViT) , which is implemented from scratch in the TensorFlow framework using the Keras API.

Vision transformer (ViT) is a transformer-based architecture used in the field of computer vision, it is directly inspired by the use of Transformers in NLP tasks.

0:00:00 - Introduction
0:00:31 - Dataset Explanation (Flower Images Dataset)
0:01:00 - Importing, Seeding, Dataset and others  
0:37:22 - Implementing the Vision Transformer (ViT)
1:04:30 - Training the Vision Transformer (ViT)
1:08:49 - Testing the Vision Transformer (ViT)
1:13:57 - Ending - SUBSCRIBE

Code: https://github.com/nikhilroxtomar/Flower-Image-Classification-using-Vision-Transformer 
Dataset: https://storage.googleapis.com/download.tensorflow.org/example_images/flower_photos.tgz 
Blog Post: https://idiotdeveloper.com/vision-transformer-an-image-is-worth-16x16-words-transformers-for-image-recognition-at-scale 
Vision Transformer Research Paper: https://arxiv.org/pdf/2010.11929.pdf 

#tensorflow #datascience #machinelearning #deeplearning #ai #artificialintelligence #programming #developer #softwaredeveloper #computerscience 

Image Classification in TensorFlow with Vision Transformer (ViT)