# VTU CBCS Notes

## ID3 Algorithm Decision Tree – Solved Example

ID3 Algorithm Decision Tree – Solved Example – Machine Learning Problem Definition: Build a decision tree using ID3 algorithm for the given training data in the table (Buy Computer data), and predict the class of the following new example: age<=30, income=medium, student=yes, credit-rating=fair age income student Credit rating Buys computer <=30 high no fair no […]

Write a python program to read a string with five characters that start with ‘a’ and end with ‘z’ Problem Definition: Write a program that reads a string with five characters that starts with ‘a’ and ends with ‘z’. Print search successful if pattern match found. Video Tutorial Source Code to Python Program to read

## Python Program to Count number of words, digits, uppercase, lowercase letters

Python program to count the number of words, digits, uppercase letters, and lowercase letters Problem Definition: Develop a Python program that accepts a sentence and find the number of words, digits, uppercase letters, and lowercase letters. Video Tutorial Source Code to Python program to count the number of words, digits, uppercase letters, and lowercase letters

## What is Machine Learning? Components and Applications

What is Machine Learning? Components and Applications of Machine Learning Definition of Machine Learning: Learning is any process by which a system improves performance from experience. A branch of artificial intelligence, concerned with the design and development of algorithms that allow computers to evolve behaviors based on empirical data. Definition by Tom Mitchell (1998): A

## Tic-Tac-Toe Game using Magic Square – Program 2 in AI

Tic-Tac-Toe Game Playing using Magic Square – Program 2 in AI It’s a paper and pencil game of two players X and O, who choose to mark a space on a grid of 3×3. The game is won by the player who succeeds in putting three of their marks in a horizontal line, vertical line,

## Tic-Tac-Toe Game Playing – Program 1 in AI

Tic-Tac-Toe Game Playing – Program (Approach) 1 in AI It’s a paper and pencil game of two players X and O, who choose to mark a space on a grid of 3×3. The game is won by the player who succeeds in putting three of their marks in a horizontal line, vertical line, or diagonal

## Python program to call function collatz() until it returns 1

Python program to call function collatz() to return number//2 or 3*number+1 until it returns 1 Problem Definition: Develop a python program to create a function called collatz() which reads as a parameter named number. If the number is even it should print and return number//2 and if the number is odd then it should print

## Types of Knowledge Artificial Intelligence

Types of knowledge – Artificial Intelligence Knowledge can be defined as the body of facts and principles accumulated by humankind or the act, fact, or state of knowing. For example, in biological organisms, knowledge is stored as complex structures of interconnected neurons. The structures correspond to symbolic representations of the knowledge possessed by the organism,

## Java Video Tutorial

Java Video Tutorial – Placement Preparation

## Machine Learning Projects Video Tutorial

Machine Learning Projects Video Tutorial – Implementation in Python