ML sessions

 Introduction to AI

agricultural cases

car price to uber, ola

OCR 

Object detection


Variable is a container

Dynamic typing is flexible with your types, language itself identifies that particular data type

Strong typing is something you should know the data types while concatenation and other operations


Advanced type containers

Lists

multiple collection of objecxts, you can mix the types in collection.

It is mutable which means you can add and remove attributes. Lists are expensive regarding memory wise as the changes can be done to it.

l1=['ahsjb',12,'d']

Tuples are immutable which means you can't add or remove attributes. In  real time most of the insdustries use tuples.

Attributes can be acessed using indexing and slicing

range(6)

continue and break


default inputting the values is always string

Strings

using single and double quotes

String Indexing: picking only one element in the string

String Slicing: picking the multiple values in the string 

Reverse indexing: print the string in reverse order

Step functions

String is immutable, you can't change elements in the string. But we concatenate strings, multiply with numbers to print the element multiple times

Buildin functions

s.upper()

s.lower()

s.split()    #default splitter is space, you can change the splitter

s.isalnum()

s.isdigit()

s.isalpha()

Print formatting

'insert{}'.format(s)

Location and counting

s.count('o') # number of times character repeated

s.find('o') #gives the index number of character

s.center(20,'*') # first variable will be length of the string

s.alnum    #if there are no special characters it will give you TRUE

s.islower()

s.isspace()

s.istitle()

s.endswith('o')

Print formatting

f-string

'insert{}'.format(s)


List comprehensions:






















Comments