Did you know
For most Python implementations different threads do not execute at same time: they merely appear to.
Threads may be running on different processors but they merely appear to.
But how to achieve multiple tasks running simultaneously?
Just think 🤔 will share answer tomorrow if none responded to this.
For most Python implementations different threads do not execute at same time: they merely appear to.
Threads may be running on different processors but they merely appear to.
But how to achieve multiple tasks running simultaneously?
Just think 🤔 will share answer tomorrow if none responded to this.
Encoding methods for categorical features:
🔸 One-hot encoding
🔸 Label encoding
🔸 Mean target encoding
🔸 Weight of evidence
🔸 Embeddings
🔸 One-hot encoding
🔸 Label encoding
🔸 Mean target encoding
🔸 Weight of evidence
🔸 Embeddings
Encryption and Decryption in Python
Documentation
https://github.com/iampython-team/PythonAdvancedConcepts/blob/main/Topic_1_Encryption/Encrption.pdf
Source Code
https://github.com/iampython-team/PythonAdvancedConcepts/tree/main/Topic_1_Encryption
Video
https://youtu.be/bE7fl6qN-LY
Documentation
https://github.com/iampython-team/PythonAdvancedConcepts/blob/main/Topic_1_Encryption/Encrption.pdf
Source Code
https://github.com/iampython-team/PythonAdvancedConcepts/tree/main/Topic_1_Encryption
Video
https://youtu.be/bE7fl6qN-LY
GitHub
iampython-team/PythonAdvancedConcepts
Contribute to iampython-team/PythonAdvancedConcepts development by creating an account on GitHub.
Please follow the github account and will be adding more projects everyday including doc
Difference between loss function and cost function
A loss function is for a single training example. It is also sometimes called an error function. A cost function, on the other hand, is the average loss over the entire training dataset. The optimisation strategies aim at minimising the cost function.Types of Loss Functions in ML (Common)
1. Least squared - Linear Regression
2. Logistic -Logistic Regression
3. Hinge - SVM
4. Cross Entropy - Neural Networkf-string
-------------------------
one way of String formatting
The f prefix and use {} brackets to evaluate values.
Available since 3.6 version
Refer PEP 498
Usage 1:
>>> name="Raja"
>>> f"Hello, {name}"
'Hello, Raja'
>>>
Usage 2 :
>>> f'4*5'
'4*5'
>>>
Usage 3:
>>> sport='BaseBall'
>>> f'{sport.lower()}'
'baseball'
>>>
Going forward use this format in your projects
-------------------------
one way of String formatting
The f prefix and use {} brackets to evaluate values.
Available since 3.6 version
Refer PEP 498
Usage 1:
>>> name="Raja"
>>> f"Hello, {name}"
'Hello, Raja'
>>>
Usage 2 :
>>> f'4*5'
'4*5'
>>>
Usage 3:
>>> sport='BaseBall'
>>> f'{sport.lower()}'
'baseball'
>>>
Going forward use this format in your projects
Detecting Cricket Shots using Pose Estimation
You generally face the class imbalance problem in these kind of usecase
To solve the class imbalance problem, You can use ImageDataGenerator class from Keras to apply real time data augmentation to image data.
For Pose Estimation, You can use the tf_pose_estimation package
Finally use pre trained model name lightest and the fastest model ‘mobilenet_thin’
You generally face the class imbalance problem in these kind of usecase
To solve the class imbalance problem, You can use ImageDataGenerator class from Keras to apply real time data augmentation to image data.
For Pose Estimation, You can use the tf_pose_estimation package
Finally use pre trained model name lightest and the fastest model ‘mobilenet_thin’
===========================
Difference b/n Function and Class Based Views in Django
============================
Function Based views (FBV) are easy to write without having background knowledge on object oriented Programming (OOPS). FBV’s are easy to implement. But reusability is missing when use it.
In other side, Class Based Views (CBV) are maintains code reusability as we can implement inheritance concepts. Well maintained code structure. But we need to remember predefined variables such as template_name and form_class ( Django core)
People who comes from the Java, Dot NET, and other object oriented programming can easily understand the CBV. Django initially started only FBV later they introduced CBV.
You can make a choice based on your project and skills which you have.
=========================
Difference b/n Function and Class Based Views in Django
============================
Function Based views (FBV) are easy to write without having background knowledge on object oriented Programming (OOPS). FBV’s are easy to implement. But reusability is missing when use it.
In other side, Class Based Views (CBV) are maintains code reusability as we can implement inheritance concepts. Well maintained code structure. But we need to remember predefined variables such as template_name and form_class ( Django core)
People who comes from the Java, Dot NET, and other object oriented programming can easily understand the CBV. Django initially started only FBV later they introduced CBV.
You can make a choice based on your project and skills which you have.
=========================
What is BigDL
It is a distributed deep learning library for Apache Spark developed by Intel and contributed to the open source community for the purposes of uniting big data processing and deep learning.
BigDL is implemented as a library on top of Spark, so that users can write their deep learning applications as standard Apache Spark programs.
Use BigDL when You want to analyze a large amount of data on the same Big Data (Hadoop/Spark) cluster where the data are stored (in, say, HDFS, HBase, Hive, etc.).
It is a distributed deep learning library for Apache Spark developed by Intel and contributed to the open source community for the purposes of uniting big data processing and deep learning.
BigDL is implemented as a library on top of Spark, so that users can write their deep learning applications as standard Apache Spark programs.
Use BigDL when You want to analyze a large amount of data on the same Big Data (Hadoop/Spark) cluster where the data are stored (in, say, HDFS, HBase, Hive, etc.).
By 2024, as much as 65% of application development will be done on no-code/low-code platforms, according to a Gartner Magic Quadrant report.
Going forward Log your questions in iampython website.
I can help you when you do only in this platform
Actually I was created this for community interaction.
Little more design and functionality work in progress
Launching mobile apps very soon
https://iampython.com/users/signup/
I can help you when you do only in this platform
Actually I was created this for community interaction.
Little more design and functionality work in progress
Launching mobile apps very soon
https://iampython.com/users/signup/
Iampython
Welcome to Python Professional Community
The Professional Network for Python Practitioners & Researchers.
We are more focussed on python related technologies like AI, Blockchain, IoT, AR, VR etc.
We are more focussed on python related technologies like AI, Blockchain, IoT, AR, VR etc.