Search - Lecture 0 - CS50's Introduction to Artificial Intelligence with Python 2020

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 270

  • @aditmagotra6914
    @aditmagotra6914 3 ปีที่แล้ว +285

    This guy talked non stop for 1.5 hours. THANK YOU

    • @מענדישפינר
      @מענדישפינר 11 หลายเดือนก่อน +12

      Strange, I only heard him speak for half an hour, but really fast

    • @murathankayhan2312
      @murathankayhan2312 9 หลายเดือนก่อน +3

      interesting... he talked for 3 hours on my laptop...

    • @bliz1178
      @bliz1178 8 หลายเดือนก่อน +3

      Well, more like 1.8 hours… ☝🏻🤓

    • @lounys
      @lounys 4 หลายเดือนก่อน +4

      How your post can be older than the video ???

    • @aditmagotra6914
      @aditmagotra6914 4 หลายเดือนก่อน +1

      ​@@lounys Im built different

  • @mehuljain5322
    @mehuljain5322 3 ปีที่แล้ว +382

    the world is being beaten with lockdowns and a virus and yet you guys delivered world class content for free for everyone to learn. LEGENDS!

    • @fazliddinxaitov5622
      @fazliddinxaitov5622 ปีที่แล้ว +1

      👏👏👏

    • @DaReconquistador
      @DaReconquistador ปีที่แล้ว

      ​@@fazliddinxaitov5622 Вы из UZ?

    • @mariannp5014
      @mariannp5014 5 หลายเดือนก่อน

      Hi I'm extremely new to this. Can you please share when you can learn coding for free like this? If you have an idea pls do share, thanks 😊

    • @Saf-th9cz
      @Saf-th9cz 5 หลายเดือนก่อน

      ​@@mariannp5014, edx, alison, google

    • @co_ae
      @co_ae 4 หลายเดือนก่อน

      ​@@mariannp5014just search for tutorials online. some good places to learn are: this course, bro code, freecodecamp, javascript mastery (if you want to learn web development)

  • @k.h.p.9862
    @k.h.p.9862 ปีที่แล้ว +152

    I'm three years late to this 2020 lecture, but never too late to say, "thank you!"

    • @arsharora6834
      @arsharora6834 ปีที่แล้ว

      True!!

    • @nitilpoddar
      @nitilpoddar ปีที่แล้ว

      what is your progress??

    • @Itsme1n1ly
      @Itsme1n1ly 9 หลายเดือนก่อน +2

      I'm just starting bro 😂

    • @AhmadMahirShadab_1
      @AhmadMahirShadab_1 7 หลายเดือนก่อน +1

      @@Itsme1n1ly im rn

    • @evaeva8731
      @evaeva8731 6 หลายเดือนก่อน

      M four

  • @eugeniar7101
    @eugeniar7101 4 ปีที่แล้ว +186

    Opened on TH-cam just to say THANK YOU for such a detailed and clear explanation!

    • @eugeniar7101
      @eugeniar7101 3 ปีที่แล้ว +3

      @@kanaktekwani2517 I've been working as SE for more than 6 years now

    • @ractmo
      @ractmo 3 ปีที่แล้ว +1

      Hi can you please tell the prerequisite for this program. I know python(pandas, numpy, matplotlib, etc..) basics. It would be big help if you tell what should I know before taking this course. Thanks 😊

    • @eugeniar7101
      @eugeniar7101 2 ปีที่แล้ว +3

      @@ractmo its a beginner course, so I think you can do it!

  • @VAIBHAVNJADHAV48
    @VAIBHAVNJADHAV48 11 หลายเดือนก่อน +7

    00:17 Introduction to the foundational ideas, techniques, and algorithms of artificial intelligence with Python
    02:23 AI learns from data and experience for better task performance.
    06:22 Actions are choices that can be made in a state, formalized mathematically in AI.
    08:31 Transition model and state space
    12:40 Search problem involves finding an optimal solution with minimum path cost
    14:47 Introduction to the data structure of a node
    18:40 Search algorithm in artificial intelligence
    20:29 Exploring search algorithm steps
    23:59 Revised approach to avoid revisiting explored states.
    25:44 Choice of frontier structure is crucial.
    29:27 Introduction to breadth first search algorithm
    31:19 Depth First Search explores paths until it hits a dead end and then backtracks to try other paths.
    35:04 Breadth first search explores both paths at decision points
    37:05 Introduction to class and object oriented programming in Python.
    41:11 Exploring states and finding the goal
    43:06 Implementing the search algorithm logic
    46:56 Comparing Depth-First Search (DFS) and Breadth-First Search (BFS) in exploring mazes.
    49:06 Depth-first search may not always find the optimal solution
    52:56 Informed search uses problem-specific knowledge to find solutions more efficiently.
    55:05 Heuristic function helps estimate the distance to the goal.
    58:55 Making informed decisions based on heuristic estimates in the search algorithm.
    1:00:40 Greedy best-first search uses heuristic values to make decisions on which nodes to explore first.
    1:04:42 A star search considers both heuristic and distance traveled
    1:06:41 Considering heuristic value and number of steps in AI exploration
    1:10:48 Choosing the right heuristic is crucial for A* search algorithm.
    1:12:42 Understanding intelligent decision-making in gaming
    1:16:41 X player aims to maximize score, O player aims to minimize it
    1:18:34 Understanding utility function and game state representation
    1:22:27 Using the Minimax algorithm to calculate the optimal move for player O.
    1:24:23 X player aims for maximum value, O player aims to minimize the score.
    1:28:07 Understanding the Minimax tree in game theory.
    1:30:07 Minimax algorithm involves max player picking the maximum value action and min player picking the minimum value action.
    1:34:00 Implementing the Minimax algorithm for maximizing and minimizing the score.
    1:36:06 Using maxValue and minValue functions to determine the best move recursively.
    1:39:41 Strategizing to optimize and minimize computation in game theory
    1:41:34 Maximizing options based on guaranteed scores
    1:45:32 Depth-limited Minimax is a better approach for dealing with computational intractability.
    1:47:30 Adversarial search algorithms are essential for playing games against opponents in AI.

  • @vijaynyaya6603
    @vijaynyaya6603 3 ปีที่แล้ว +99

    In my opinion, Brian is one of the most sophisticated persons on CS50.

  • @ml_serenity
    @ml_serenity 6 หลายเดือนก่อน +7

    I am in awe how these seemingly very young lecturers in CS50 are so damn good! It's a pure joy watching these lectures even for someone who is an expert in the field for many years already. Thanks so much for free quality education for young people all over the world!

  • @Hoobz01
    @Hoobz01 4 ปีที่แล้ว +55

    As an older bloke who has done carpentry his whole life, I'd like to say how excellent Brian was in this lecture.
    Made everything easy to understand, while explaining quite a lot in a limited time.
    Not one "Ummm" or "Ahhh". Spoke incredibly clearly.
    Thanks for the effort made to help even a bloke like me be able to follow along.

  • @dhanyams255
    @dhanyams255 2 ปีที่แล้ว +24

    This is the best presentation i ever watched in my entire acadamic life... Very well explained and good quality of contents. Thank you for such a useful video.

  • @BlueWizardsII
    @BlueWizardsII 11 หลายเดือนก่อน +5

    Excellent lecture. Clear, concise and 'relatively' easy to follow. The great thing about recorded video lectures is that one can pause, rewind, review, very unlike sitting in the lecture hall live.

  • @rfdickerson
    @rfdickerson 8 หลายเดือนก่อน +4

    Brian is an incredible lecturer. He is wicked smart and able to explain things so crystal clear and so engaging. He will go far in life!

  • @photoniko1
    @photoniko1 ปีที่แล้ว +7

    I'm starting the course, and I really liked the clear and easy to understand explanation, it even seems easy with Brian's explanation.. Now I've been testing the maze in Python and playing with the text files... I'm amazed with this. ..

  • @ahmadkathrada6026
    @ahmadkathrada6026 4 ปีที่แล้ว +89

    Just listening to this video gave my life so much meaning. If I see you one day Brian, imma treat you to my mamas chicken curry which is the curry of champions. Champion is what you are!

    • @nSiLEtan
      @nSiLEtan 3 ปีที่แล้ว +12

      That curry has been praised all around south east asia, he really deserves it.

    • @ahmadkathrada6026
      @ahmadkathrada6026 3 ปีที่แล้ว +25

      @@nSiLEtan yes he does. My mama named it Brian`s Curry Special 50.
      (B-CS50)

  • @OsamabinBiden81
    @OsamabinBiden81 9 หลายเดือนก่อน +6

    As someone who plays chess and has used the engine multiple times. This was refreshing to see

  • @jackvu.hustle
    @jackvu.hustle 2 หลายเดือนก่อน +5

    I'm starting this thing now in morning after a storm Trami here in Da Nang. I fucked up my deep focus ability with jobs and money and driving gigs. Now it's time to rebuild my life with AI at 26 years old.
    What I hate about making decision in life is that we tried to solve the problem just to get it done.
    I will use AI to create life-time school as an AI professro like Hrarvard doing to connect people who want to learn the same things. I found adults very hard for them to be able to focus on learning when theree
    s a lot worries going on in their life. Thats what make adutls stop learning or they already feel comfortable in their situation. When adults don't update their knowledge, they actually make it hard for their children, grandchildren to connect, they keep getting angrier when they can't understand them. It's making life so hard than it's supposed to be.

  • @acidtears
    @acidtears 3 ปีที่แล้ว +25

    You're going to do great things Brian! Thank you for this incredible lecture series. This is genuinely better than the Data Structures & AI course I took at Maastricht University... Goes to show how much of a difference passion & presentation skills can make :)

  • @jinalvyas1061
    @jinalvyas1061 3 ปีที่แล้ว +18

    Mr. Brian, your way of explanation makes the process of understanding complex concepts, a cakewalk for us! Thank you so much!! Keep up the good work, all the best!!!

  • @GrowthMindsetGlobal
    @GrowthMindsetGlobal 4 ปีที่แล้ว +8

    What an amazing way to explain the complex subject in such a easy and explanatory way. Hats off to you man.

  • @saadzerouali845
    @saadzerouali845 2 ปีที่แล้ว +5

    You are sharing high quality knowledge for free. Thank you !

  • @xxxxxzzee23
    @xxxxxzzee23 3 ปีที่แล้ว +1

    Thanks Brian Yu, your content is so understandable, and logically delivered. I feel so lucky to have watched this and it solved some of my puzzles for last semester,. I have to say you are really a genius Mr Brian!!!! Look forward to your more lectures!!!

  • @warungstmj2491
    @warungstmj2491 2 ปีที่แล้ว +2

    Wow! Should've watched this kind of lecture more when I was a fresh graduate!
    Thanks!

  • @andrewpratt3861
    @andrewpratt3861 3 ปีที่แล้ว +5

    Brian, you are so articulate! Thank you for sharing your talents with the cheap, gonna-be software devs out there like me :)

  • @oGiuseppeDonato
    @oGiuseppeDonato 2 หลายเดือนก่อน

    I just wish to thank him for his ability to explain with clarity and enthusiasm concepts that glue me to the screen. Thankyou.

  • @JEEAspirant-p1b
    @JEEAspirant-p1b 2 หลายเดือนก่อน +1

    very very great lecture with the coding part was amazing , your service to the society is really a great thing . Thank you

  • @dunghoangtrung125
    @dunghoangtrung125 3 ปีที่แล้ว +4

    Hei, thank you. This lecture help me a lot with my AI subject at university. I really admire you.

  • @chondrompala6533
    @chondrompala6533 2 ปีที่แล้ว +2

    Really nice clear explanations. One minor point: at around 1:07:30 during the worked example of the A* algorithms, several references are made to being 6 steps from goal; this is clearly wrong - it's 6 steps to reach those nodes from the starting point . Nice content though - thanks for producing.

  • @vientrinh4530
    @vientrinh4530 2 ปีที่แล้ว +4

    Wow, what an introduction lecture, simple and yet complex.... THANK YOU 🫶

  • @satyambhardwaj2289
    @satyambhardwaj2289 4 ปีที่แล้ว +6

    best man to pass the legacy. he rocks

  • @Samar-rq5ti
    @Samar-rq5ti 20 วันที่ผ่านมา +1

    Exams are over, been a month since I finished CS50x, time to finally start this!!

  • @zuyah287
    @zuyah287 2 ปีที่แล้ว +1

    This is the best AI course ever made, period! thank you!!!

  • @maegho
    @maegho ปีที่แล้ว

    I'm applying for HARVARD'S secondary school this summer and plan on taking computer science courses while there, these videos have helped me grasp so much knowledge thank you!!

  • @noobieexplorer4697
    @noobieexplorer4697 ปีที่แล้ว +2

    One of the problem set related to this lecture is unbeatable tictactoe which was a really hard problem. The reason is that I was coming straight out of cs50 to do this course. But this course requires some good understanding of objects and classes which was not provided in cs50 intro course.
    I would suggest anyone trying out this course after cs50 to get some good grip on object oriented programming in python.

  • @govindbarwa1806
    @govindbarwa1806 8 หลายเดือนก่อน

    1:10:49 According to wikipedia, for an A* algorithm to be optimal, it only needs to satisfy the first constraint i.e. being admissible. If it also satifies the second condition i.e. if heuristic is monotone, or consistent in nature then it finds the optimal path without processing any node more than once.

  • @ptiwaridotin
    @ptiwaridotin หลายเดือนก่อน

    Thank you guys, I am grateful for the free education.

  • @kykann
    @kykann 3 ปีที่แล้ว

    I am really grateful for watching this vidieo for free, Thank you a lot

  • @z9607
    @z9607 4 ปีที่แล้ว +7

    Just to point out one little mistake on the game graph at 1:27:07: the third option, where player X wins, shouldn't have a X marked in the upper left corner (player X can not play twice), just ignore that X. Brilliant explanation though, thanks!

  • @GenZ_01_
    @GenZ_01_ 5 หลายเดือนก่อน

    I’m left with no words.
    Fascinating subject and you guys at cs50 are making an incredible job. Round of applause as David’s usually say👏 😂

  • @Themaxmerock007
    @Themaxmerock007 4 หลายเดือนก่อน

    thank you for dedications, i finally have a software engineer job after CS50 now i'm still learning because it fun!

  • @sahu059
    @sahu059 4 ปีที่แล้ว +3

    Wonderful Explanation, best thing is it's giving an intuition, which will help us to learn in better way.

  • @anypuppet
    @anypuppet 3 ปีที่แล้ว +2

    An absolute fantastic presentation! Thank you.

  • @hakunamatata-qu7ft
    @hakunamatata-qu7ft 4 ปีที่แล้ว +1

    Thank you teachers for these foundation course for lay man to advanced

  • @yanjingwang7496
    @yanjingwang7496 10 หลายเดือนก่อน

    Brian you are so amazing! Love your CS 50 AI, I fall in love with programming

  • @RainstormOK
    @RainstormOK 9 หลายเดือนก่อน

    THANK YOU for all work! It's better for me than just reading some books.

  • @DEVELOPMENTWITHADITYA
    @DEVELOPMENTWITHADITYA 4 หลายเดือนก่อน

    He Is my Guru FROM NOW , GOAT OF ALL TIME , BEST TECHING COMES WITH BEST KNOWLEDGE HE IS ADAM OF AI. GOAT ,LEGEND are < less word for him respect from deapth-first search of my heart

  • @omaressam7178
    @omaressam7178 3 ปีที่แล้ว +2

    Thank u so much !!
    It's my first time to type a comment btw :"

  • @АлександрСницаренко-р4д
    @АлександрСницаренко-р4д 11 หลายเดือนก่อน

    Fantastic lecture, even for experienced professionals

  • @openedto
    @openedto 7 หลายเดือนก่อน

    He's a great teacher. I learn best by example. 💚

  • @SherryW-sn1dk
    @SherryW-sn1dk 9 หลายเดือนก่อน

    He makes AI so easy to understand. Thank you!

  • @meylyssa3666
    @meylyssa3666 4 ปีที่แล้ว +3

    Wonderful explanations!

  • @themelankolis1922
    @themelankolis1922 4 ปีที่แล้ว +2

    His explanation is great! *thumbs up

  • @mohammedalshami3937
    @mohammedalshami3937 4 ปีที่แล้ว +4

    Thank you so much Brian for this great presentation.

  • @ronibousaab6126
    @ronibousaab6126 ปีที่แล้ว +1

    Very interesting! I am excited to finish this course by the summer

  • @skuup9782
    @skuup9782 หลายเดือนก่อน

    this cs50 course seems sooo fun thank you a lot

  • @mariachaudhry4608
    @mariachaudhry4608 ปีที่แล้ว

    Listening that from Pakistan, cannot thank you enough ❤ and that tutor kid ( he seems like my younger brother) thank you:) and have a water bottle with you please :)

  • @fallenAngel-cw9ki
    @fallenAngel-cw9ki 5 หลายเดือนก่อน

    thank you!! this was a great lecture, i feel more confident about this topic.

  • @lisztk1928
    @lisztk1928 4 ปีที่แล้ว +7

    Loved it, Thank you so much

  • @Troglodyte2021
    @Troglodyte2021 6 หลายเดือนก่อน

    A fresher of basic graph theory! 🙂

  • @msmnazemi
    @msmnazemi 4 ปีที่แล้ว +3

    Great presentation - thanks Brian and team.

  • @shahabsalour6946
    @shahabsalour6946 5 หลายเดือนก่อน

    Wow to this amazing lecturer. Thank you.

  • @omerfeyyazselcuk7325
    @omerfeyyazselcuk7325 3 ปีที่แล้ว +1

    I like how this starts from Lecture 0

  • @philgibe
    @philgibe ปีที่แล้ว +4

    DFS should be callled Snake First Search and BFS should be called Water First Search. People would remember it much more easily. Because DFS acts as a snake, and BFS as water flowing :-)

    • @Fede_uyz
      @Fede_uyz 2 หลายเดือนก่อน

      They are pretty clear and direct:
      Prioritize going deep or prioritize going broad and shallow.

  • @Chapi-px8bf
    @Chapi-px8bf 8 หลายเดือนก่อน

    Thank you so much i have no word to expres my feeling it is very interesting lecture

  • @srishti81388
    @srishti81388 8 หลายเดือนก่อน

    Thank you for this clear and concise explanation!

  • @Wanderbawa
    @Wanderbawa 4 ปีที่แล้ว +4

    perfect illustration!!

  • @spandanbhattacharya5030
    @spandanbhattacharya5030 2 หลายเดือนก่อน

    Outstanding Sir! Thank You so much!!

  • @lakshman587
    @lakshman587 2 ปีที่แล้ว +2

    This is really Awesome!!!
    Thanks a lot for the complete playlist! 🙏🙏🙏

  • @infiniperperffinity2884
    @infiniperperffinity2884 3 หลายเดือนก่อน +1

    Loved it. Thank you so much ❤

  • @SimplySaoirse_
    @SimplySaoirse_ 28 วันที่ผ่านมา

    This is still my favourite subject in CS50 ❤ AI!!!

  • @ziedkhayechi7458
    @ziedkhayechi7458 4 ปีที่แล้ว +2

    great presentation ..thanks a lot

  • @qaiserkhan4860
    @qaiserkhan4860 4 ปีที่แล้ว +2

    Wonderful introduction to AI

  • @famouspeople8611
    @famouspeople8611 ปีที่แล้ว +1

    Instead of using A* search algorithm, I think this algorithm is better which exploring the next state's number if it was increasing then we will choose the another it will be the same path that A*search will use

  • @F65992
    @F65992 3 ปีที่แล้ว +2

    can anyone tell me the difference between node and Node in maze.py? for instance, what is node.state at 41:42 - I can't see where it comes from or how it exists in the code?

    • @marzenah123
      @marzenah123 3 ปีที่แล้ว +3

      Hi Tom! Answering your question, the Node in this code is a class (i.e., a blueprint) of a square in a maze, while the node is a specific instance of that class. The Node class objects have a state, parent, and action. The state of the node instance is described by two elements, row (i) and column (j), so the node.state means parameters (i, j) for this particular square in the maze.

  • @AlessandroOrlandi83
    @AlessandroOrlandi83 ปีที่แล้ว

    Amazing explanation I have to say.

  • @probabilitystorm6204
    @probabilitystorm6204 3 หลายเดือนก่อน

    Thank you so much for the lecture, very helpful

  • @LechisaBedasa
    @LechisaBedasa ปีที่แล้ว

    WOW WHAT AMAZING EXPLANATION THANK YOU

  • @shyamkachhadiya4964
    @shyamkachhadiya4964 4 ปีที่แล้ว +2

    Nice explanation with presentation 🔥🔥

  • @lucasmartendal
    @lucasmartendal 3 ปีที่แล้ว +1

    Awesome job guys!

  • @shreyasgosavi9647
    @shreyasgosavi9647 3 ปีที่แล้ว +1

    Amazing lecture !!!

  • @mdrasel-gh5yf
    @mdrasel-gh5yf 4 ปีที่แล้ว +4

    All the respect to Brian

  • @AdTechAcademy-fe3tr
    @AdTechAcademy-fe3tr 7 หลายเดือนก่อน

    Very good lecture thanks

  • @bl4z3_kanazaki
    @bl4z3_kanazaki ปีที่แล้ว

    Marvelous! Clear explanation!

  • @Sane_Circle
    @Sane_Circle ปีที่แล้ว +3

    Great delivery. One of the best academical presentations I have watched.
    PS: Does anyone know where to get the files used in the lesson?

  • @dr.mikeybee
    @dr.mikeybee 4 หลายเดือนก่อน

    I like that your first lecture is number 0. ;)

  • @stracci_5698
    @stracci_5698 ปีที่แล้ว

    Amazing lecture

  • @daywill8849
    @daywill8849 8 หลายเดือนก่อน

    49:15 shouldn't the cell at the right of the bottom most yellow cell also be yellow.. because it is closer to the initial state than the goal so it should also be explored if we use bfs

  • @evachen8623
    @evachen8623 ปีที่แล้ว +1

    almost fell asleep watching this course, quite challenging for newbie 😂

  • @alphabetdot6613
    @alphabetdot6613 ปีที่แล้ว +1

    honestly same thing taught by college teacher but that time it's boring but i learned out of interest but here is so interesting

  • @kyrylobrudov3772
    @kyrylobrudov3772 6 หลายเดือนก่อน

    Amazing guy, thank you so much!

  • @edwards404
    @edwards404 11 วันที่ผ่านมา

    Thank you, Brian.

  • @Wael100
    @Wael100 4 ปีที่แล้ว +4

    Someday I will be like Brian 😊

  • @Treegrower
    @Treegrower ปีที่แล้ว

    His brain is magnificient i wish I could just trade brains with this dude

  • @ouroborospi9318
    @ouroborospi9318 4 ปีที่แล้ว +1

    Thank you thank you thank you thank you 🥰🥰🥰🥰🥰🥰🥰 love you 3000 💓💓💓

  • @eduardorpg64
    @eduardorpg64 2 ปีที่แล้ว +1

    Fun fact: Go, a board game that's like a combination of chess and Chinese checkers, has more moves than the number of atoms in the universe. If you were impressed by the total number of possible chess moves, Go has even more than that.

  • @quantummath-1b2a
    @quantummath-1b2a 5 หลายเดือนก่อน

    Thank you for this lecture

  • @stephenlittman
    @stephenlittman 6 หลายเดือนก่อน +1

    First lecture and we're back to recursion 😎

  • @idkidkidk3333
    @idkidkidk3333 4 ปีที่แล้ว +1

    This is amazing. Thank you!!!!

  • @abekowalski
    @abekowalski 7 หลายเดือนก่อน

    Brian is the GOAT

  • @famouspeople8611
    @famouspeople8611 ปีที่แล้ว +2

    What should i do if i didn't understand the coding despite understanding the concepts?

  • @asatorftw
    @asatorftw 7 หลายเดือนก่อน

    Wish this would dive a bit more into why and where search algorithms are relevant in AI today.

  • @jaysonball2320
    @jaysonball2320 6 หลายเดือนก่อน

    Excellent. Thank you :)