- Видео 16
- Просмотров 207 715
PyTech Vision
Индия
Добавлен 7 окт 2019
In this Channel I will explore the following topics
1. Data Structure and Algorithms
2. Image processing and Computer vision
3. Machine Learning and AI
I will also talk and try to explain some latest SOTA research papers(published in NIPS, CVPR, ECCV, ICML, ...) in Computer Vision and Machine Learning
Subscribe for the latest updates!
For 1 to 1 sessions
Schedule a meeting : topmate.io/shahrukh_khan12
1. Data Structure and Algorithms
2. Image processing and Computer vision
3. Machine Learning and AI
I will also talk and try to explain some latest SOTA research papers(published in NIPS, CVPR, ECCV, ICML, ...) in Computer Vision and Machine Learning
Subscribe for the latest updates!
For 1 to 1 sessions
Schedule a meeting : topmate.io/shahrukh_khan12
Estimating Pi with Python: Monte Carlo Method
how to estimate the value of pi using the Monte Carlo method in Python! In this tutorial, we’ll walk through a simple Python code that generates random points, calculates the ratio of points inside a circle to total points, and uses this ratio to approximate pi. This hands-on example is perfect for beginners and a great way to understand the power of Monte Carlo simulations. Don’t forget to like, comment, and subscribe for more Python tutorials and coding tips!"
Просмотров: 253
Видео
3.1 Detect cycle in a Graph using DFS | Python
Просмотров 12 тыс.4 года назад
3 DFS : Detect cycle in a Graph | Python Detect cycle in a Graph for directed and Un directed graph using DFS, Also the solution is implemented in Python, this video is in continuation with last video of DFS, to show the application. #datastructures #Graph Traversal #DFS Chapters : 0:00 Introduction 0:45 Detect Cycle in Directed Graph 3:41 Detect Cycle in Undirected Graph 6:34 Python Implementa...
3. DFS: Depth First Search Implementation in Python | Graph Data Structure
Просмотров 44 тыс.4 года назад
Depth First Search Implementation (DFS) in Python, The time complexity for DFS if O(|V| |E|), where |V|, |E| are the no of vertices and Edges in the graph respectively. Explore a graph using DFS traversal, Complete Algorithm of DFS including visiting and finished time tracking of vertices during DFS. Author: Shahrukh Khan Links Blog: pytech-solution.blogspot.com/ #datastructures #Graph Traversa...
Social Distance Monitoring App Demo | AI | Computer Vision | Video Analytics | YOLO | Python
Просмотров 2,7 тыс.4 года назад
Create a Demo App for monitoring the social distancing using Camera feed and applying Machine Learning(AI) and Image Processing on input. We have used "YOLO v2" for person detection and then applied post-processing to identify person not following social distancing. Author: Shahrukh Khan References and Links: Source Code github : github.com/sk1210/Social-Distance-Monitoring Yolo : pjreddie.com/...
Valid Perfect Square #367 | LeetCode | Python | Binary Search
Просмотров 3084 года назад
Valid Perfect Square ( LeetCode) solved using O(n) and then O(log n) time complexity in Python This question is very commonly asked in Programming Interview of Amazon and Adobe. #LeetCode Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
Check If It Is a Straight Line #1232 | LeetCode |
Просмотров 7274 года назад
You are given an array coordinates, coordinates[i] = [x, y], where [x, y] represents the coordinate of a point. Check if these points make a straight line in the XY plane. This question is very commonly asked in Programming Interview. #LeetCode Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
Majority Element #169 | LeetCode | Moore voting Algorithm | Python
Просмотров 2924 года назад
Majority Element in a list/array (LeetCode) solved using Moore voting algorithm. This question is very commonly asked in Programming Interview. Moore Majority Algorithm : en.wikipedia.org/wiki/Boyer–Moore_majority_vote_algorithm #LeetCode #dsalgo #python #dynamicprogramming #ProblemSolving Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
Number Complement #476 | LeetCode | May LeetCoding Challenge
Просмотров 1234 года назад
Number Complement (LeetCode) solution, this problem is posted as Day 4 problem of May LeetCoding Challenge on LeetCode. This question is very commonly asked in Programming Interview. #LeetCode #ProblemSolving #Number Complement Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
Ransom Note #383| Leetcode | May LeetCoding Challenge
Просмотров 1724 года назад
Ransom Note (LeetCode) solution, this problem is posted as Day 3 problem of May LeetCoding Challenge on LeetCode. Explained the algorithm with O(n m) complexity. This question is very commonly asked in Programming Interview. #LeetCode #ProblemSolving Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
Jewels and Stones #771| Leetcode | May LeetCoding Challenge
Просмотров 994 года назад
Jewels and Stones (LeetCode) solution, this problem is posted as Day 2 problem of May LeetCoding Challenge on LeetCode. Explained the algorithm with O(n m) complexity. This question is very commonly asked in Programming Interview. #LeetCode #ProblemSolving Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
First Bad Version #278 | Leetcode | May LeetCoding Challenge
Просмотров 4454 года назад
First Bad Version (LeetCode) solution, this problem is posted as Day 1 problem of May LeetCoding Challenge on LeetCode. Explained the algorithm with log(n) complexity. The same problem can also be re framed as finding occurrence of first '1' in sorted array consisting of '0' and '1' only. This question is very commonly asked in Programming Interview. #LeetCode #ProblemSolving Author : Shahrukh ...
Minimum Path Sum Python | LeetCode | Problem Solving
Просмотров 7194 года назад
Minimum Path Sum Python | LeetCode | Problem Solving Calculate Minimum Path Sum on a given grid from top left to bottom right corner of grid. Explained the algorithm and implemented the solution in Python using dynamic programming. #dynamicProgramming Author : Shahrukh Khan Links Blog : pytech-solution.blogspot.com/
2. BFS : Breadth First Search ( Complete Algorithm in depth) | Graph Traversal | Data Structure
Просмотров 10 тыс.4 года назад
BFS : Breadth First Search ( Complete Algorithm in depth) | Graph Traversal | Data Structure In this video I have explained the Graph Traversal using BFS (Breadth First Search Approach), and then explained how we can find shortest distance and shortest path of all nodes from source node using BFS. I have also covered the implementation of BFS in Python in next video BFS Implementation in python...
2.1 BFS: Breadth First Search Implementation in Python | Graph Data Structure
Просмотров 90 тыс.4 года назад
Breadth First Search Implementation in Python, Finding shortest distance and path of any node from source node in a Graph. BFS BFS python
1. Introduction to Graph Data Structure | Graph Data Structure
Просмотров 4,4 тыс.5 лет назад
Introduction to Graph Data Structure Explained the following topics: Nodes, Edge Directed / Un-directed Graph Weighted Graph Adjacency List and Adjacency Matrix Representation
Adjacency List Implementation in Python | Graph Data Structure
Просмотров 41 тыс.5 лет назад
Adjacency List Implementation in Python | Graph Data Structure
Thanks for this easy explanation 😊
Amazing sir, you explained well 👍
Good Explanation
Nice Explanation
Super method
finally found BFS implementation in python without OOPs. Grateful!✌
sir ye code kysy mil skta?
Thanks men, best structured video on this Adjacency list Implementation in python
parent[v] = u; what that line do? I don't understand???
Bro you're fucking good
hold on, is_directed=false means not directed, not is_directed means true and directed right?why do you need to append 'u' if it's directed?
Trust me, This is the best implementation of graph available till date 07-10-23. Thanks a lott mann
u make it so easy mannn..dammn good..
Thanks a lot 😊
dfs_util("A") print(dfs_traversal_output) are giving me a type error 'dict is not callable'
nice bro, A very good explanation.
Thanks
Sir Allah apko aur apke family ko mahfooz rakhay aur apko jannat mein jagah de. Inshallah
great work easy explanation
why is the parent set to none?
why is the level set to -1?
Please upload more videos on graphs, your way of explanation is outstanding 🥰.
What software are you using?
Thank You So Much Brother. 😇
Nice explanation! What if the graph is given as an adjacency matrix instead?
Very nice explanation what is time complexity is it O(E) and space O(V+E^2)
what we need to do if the path is not closed one
kindly upload the code on git
bahut tagda....!!!!!!
Deep explanation 🔥 this is what I've been looking for since 4 days 😂 Thanks man 👍🏻
Thank you sir. You explain very well, please make more videos on other topics in python.
Which ide is this
This is jupyter notebook
Very simple explanantion without over complicationg things. Thanks a lot for the video.
Hello everybody, I feel learning to code can be simpler using a software like in this video .I am very much interested to know what is the best software that can be used to record videos and learn a better and faster way.
I am using jupyter notebook
Bro nice work, why don't you upload more videos??
Awesome video, I saw many videos but this is the best one , Thank you so much
brother I wished you have explained MinMax Algo, A*, Alpha-Beta and Bayseain because your explanation are the best.
bro, this code works perfectly fine for a non cyclic graph. But when it comes to cyclic, the visited vertex has one or more duplicates. Also can we apply bfs for cyclic graphs also.
Sir please make videos on Algorithms liks bactracking greedy algorithm etc
Excellent Explanation... You will live on in this video forever.... 👏
Best video man. Absolutely loved the way you explained.
getting an error in the if not visited[v] as bool object not subscriptible pls help
Can you share your code?
if there is multiple paths to a node with the same level, e.g. 1 to 4 where: 1: 2, 3 2: 1, 4 3: 1, 4 4: 2, 3 how can we choose the path where the answer is smallest, i.e. 1 2 4
adj_list ={} for i in range(9): j,k = input().split() adj_list[j]= adj_list.get(j,[]) + [k] adj_list[k]= adj_list.get(k,[]) + [j] print(adj_list) A B A D B C D E D F E F E G F H G H
Sir do you have python code for 8 puzzle problem. Could you please share
Sorry, I don't have code for that.
@@PyTechVision ok sir. Thank you. If possible could you please try
For stack, does it have to be directed graph example only?
Thx a lot. Helped me with my assignment.
Most welcome!
Amazing video sir 😊🤩
Great explanation..
Glad it was helpful!
Thanx man!...the way u taught...was amazing ...also much simplified 😍🙏👍