Python Notes
Python Notes
Data Types
.
Numeric - int,float,complex(Real+Imaginary)
Text - String(store in quotation' ' form)
Sequence - List[mutable] , Tuple(unmutable) we can store homogenius and
heterogenous both
Set - Set{1,1,5,7,8,8} , Frozonset{1,5,7,8}
Mapping - Dictionary
Boolean - true , False
Variable
start alphabetical
Never start with number
never accept white space
special symbol not supported
Reserved word not used
Type casting
implicit(convert automatically)
explicit(convert manually)
Statistics
Measure of central tendency
Measure of Variation
Statistics->Data->
1.Numerical
i)Discrete(No. of Students - Not changeable)
ii)Continuous(Wheight,Height,Stocks volatility)
2.Categorical
i)Binomial(Yes/No..0/1)
ii)Nominal(More than two categories unordered form)
iii)Ordinal(More than two categories a ordered form)
Measure of central tendency(To find out single value that represent whole dataset)
1.Mean(sum of total no./no. of occurrence)
2.Median(In center position 2 values add up and divide by 2)
3.Mode(most time occur value)
1.Harmonic mean
2.Geometric mean
If we get values in the form of letters then it can calculate by indexing values
Same occurrence of multiple letters get then it can be judge by highest indexing
values
Standard Deviation
Variance
Skewness
Kurtosis
String(Collection of characters)
String always written under ""
[Start : Stop : Step]
| |
include exclude
Removing methods
POP
Remove
Del
Websites to learn
Kaggle
Medium
linkedin.com
indeed
Naukri.com
Glassdor
Monster
Found it
Outlier
Scope
1.Global(limitation on whole code)
2.Local(Inside the function limitations of variable)
Lambda
(Bina naam ka function take multiple arguments but in one line i. Map ii. Filter)
Types of ML
Supervised
Independent-Dependent
Input-Output
Target-Prediction
Algoritham
Classification
logistics REG
knn
sUPPORT VECTOR MACHINE
nAIVE BAYEAS
Decision tree
Random forest
XGboost
homework
.
hyper para technique
decision tree'
Random forest