Marcus Koseck
Marcus Koseck
  • Видео 22
  • Просмотров 23 527

Видео

Binary Search SIMPLY Explained | Algorithms
Просмотров 31Месяц назад
A brief explanation of binary search.
k-Nearest Neighbors simply explained | Supervised Machine Learning
Просмотров 120Месяц назад
A short video explaining kNN.
Artificial Intelligence (AI) Classifies Numbers with 100% Accuracy
Просмотров 76Месяц назад
Artificial Intelligence (AI) Classifies Numbers with 100% Accuracy
Artificial Intelligence Solves Chess Puzzles
Просмотров 570Месяц назад
Artificial Intelligence Solves Chess Puzzles
Artificial Intelligence Identifies Dogs by Breed
Просмотров 412 месяца назад
Artificial Intelligence Identifies Dogs by Breed
Artificial Intelligence Plays Centipede using Reinforcement Learning
Просмотров 5792 месяца назад
A short video about making the NEAT Q algorithm.
Artificial Intelligence Plays Pacman using Reinforcement Learning
Просмотров 2323 месяца назад
This video is a discussion on evolutionary algorithms and how they helped me write an algorithm that plays Pacman. The code is available in the GitHub repo below. The research paper I used in the code is at the top of the python file. Github: [Currently under refactor] The environment is from OpenAI: www.gymlibrary.dev/environments/atari/ms_pacman/ I highly recommend Reinforcement Learning by S...
The BEST Deep Q-Learning example | Cart Pole Problem
Просмотров 7526 месяцев назад
A quick discussion on how the cart pole problem can be solved using Deep Q-learning.
Is using AI for homework considered cheating? | Video Essay
Просмотров 426 месяцев назад
Is using AI for homework considered cheating? | Video Essay
Watch How AI can Learn Over Time! | Mountain Car Problem
Просмотров 906 месяцев назад
Watch How AI can Learn Over Time! | Mountain Car Problem
The BEST Q-Learning example! | The Mountain Car Problem
Просмотров 1,7 тыс.6 месяцев назад
The BEST Q-Learning example! | The Mountain Car Problem
K-Means Clustering Algorithm Simply Explained | Unsupervised Machine Learning Algorithms
Просмотров 449 месяцев назад
K-Means Clustering Algorithm Simply Explained | Unsupervised Machine Learning Algorithms
Q Learning simply explained | SARSA and Q-Learning Explanation
Просмотров 10 тыс.11 месяцев назад
Q Learning simply explained | SARSA and Q-Learning Explanation
The Paradox that Stumped Aristotle
Просмотров 6 тыс.2 года назад
The Paradox that Stumped Aristotle

Комментарии

  • @TheFuckel
    @TheFuckel 3 дня назад

    Is it correct that sarsa with greedy policy that choses action that have max value is equal to q learning?

  • @jonaskarlsson5901
    @jonaskarlsson5901 25 дней назад

    does this mean it's not even using a neural network?

  • @AsmageddonPrince
    @AsmageddonPrince Месяц назад

    I don't feel like I understand the principle from your video- what is the purpose of partitioning the state into tiles? How and when are they assigned a Q value and when is it modified? Are the Q values just zero during the first epoch? Does this work for larger state spaces? Does the agent really learn anything substantial from a replay of a 40k steps Epoch?

    • @marcuskoseck98
      @marcuskoseck98 Месяц назад

      I partition the state into tiles to make a function that relates states with q-values. Think of it this way: I need a relationship between states and future returns. There is no obvious function I can think of to do the job. Instead, I break state space into squares (partitions) and assign that square a random q-value. This is initialization. As the algorithm learns, the q-value will be more representative of the actual q-value. This method doesn't work for larger state spaces. At that point, you would want to use a neural network. For this specific reinforcement learning problem, 40k steps can be helpful in the beginning for exploration. If your algorithm is taking 40k steps after a few thousand epoch, that's the sign your parameterization may be incorrect. Hope this helped!

  • @gabrielgeller6953
    @gabrielgeller6953 Месяц назад

    The simplest explanation!

  • @Zetesee
    @Zetesee Месяц назад

    Hey Marcus. I hope this message finds you well! I recently discovered your RUclips channel while scrolling homepage and found your content to be amazing and incredibly helpful. I have a cooperation proposal for you and would love to discuss it further. Please let me know if you're interested! It will be great if you will give me an email address to send the details.

  • @ponmuthu..4796
    @ponmuthu..4796 Месяц назад

    notebook ?

    • @marcuskoseck98
      @marcuskoseck98 Месяц назад

      I will (probably) release a notebook when I get closer to a finished product.

    • @ponmuthu..4796
      @ponmuthu..4796 Месяц назад

      @@marcuskoseck98 ok

  • @misnad
    @misnad Месяц назад

    Good try.

  • @siddharthvj1
    @siddharthvj1 Месяц назад

    mnist

  • @onceappuonatime
    @onceappuonatime Месяц назад

    Helpful, thank you!

  • @zax6460
    @zax6460 Месяц назад

    I love this! I have been making some of my first bots for games like tictactoe and gomoku in a more traditional way with minimax and stuff like that but i am also looking forward to tackle these kind of learning models as well. you deserve more views.

  • @lblonzypoi
    @lblonzypoi Месяц назад

    All circles are proprtionate to each other, by having a fixed centerpoint for both you will have a fixed length for a single rotation because the length between the centerpoint and the surface being rolled upon is the same, youre essentially fixing a varible wich changes the path of movement, try taking to circles, one large one small that can fit in it, roll them both one rotation seperately with thier edges both touching the surface, you will absolutely have 2 seperate lengths

  • @danichef
    @danichef 2 месяца назад

    could you please do a video for monte carlo for chapter 5 from the reinforcement learning book (Sutton) you use please? Got an exam soon and would be of great help. Great videos!

  • @mechtorious
    @mechtorious 2 месяца назад

    I think the distance is not the same. Rather the displacement is the same. So the distance is different for same time period, hence different angular velocity.

  • @YvonneMayfield-ti2fv
    @YvonneMayfield-ti2fv 2 месяца назад

    Before watching the video, I don't know how to prove it mathematically but I think it's because the small circle is within the larger circle and you're talking the dot through a shorter path since it's not rolling flat. It's going to be slight higher when the the larger circle is on the table and when the dot on the larger circle reaches the peak, the smaller circle dot is lower. Therefore slightly shorter path

  • @camasalan3636
    @camasalan3636 2 месяца назад

    Why is he dividing by 2pi. It's just divide by 2 to get the radius, why are you involving pi

    • @Red-se9bq
      @Red-se9bq Месяц назад

      Circumference=2πr

  • @iony_mikler
    @iony_mikler 2 месяца назад

    This is very cool progress do u have a code repo for your learning?

    • @marcuskoseck98
      @marcuskoseck98 Месяц назад

      Honestly, I have a bunch of code stored on my computer for various projects. I need to organize the code and upload them. Eventually, I will upload code.

  • @O-Kyklop
    @O-Kyklop 3 месяца назад

    Yes, the cycloids. But, you forgot to see that by a rolling of 360° the smaller perimeter is covering the same linear distance as the bigger one. It means, both perimeters have the same length as the straight distance they cover with a 360° rolling. This is a big problem.

  • @officialVduxs
    @officialVduxs 3 месяца назад

    plagiarism means the use of another's work, words, or ideas without attribution. key word is another. i would consider another as someone with a conscious mind or thought and would argue that ai is not conscious yet. meaning no plagiarism hasn't occurred.

  • @sohamprajapati8784
    @sohamprajapati8784 3 месяца назад

    Nice job! Helps my understanding. Keep making such videos.

  • @almonteros
    @almonteros 3 месяца назад

    Nice.

  • @muslumyildiz5694
    @muslumyildiz5694 5 месяцев назад

    Thanks

  • @golden4910
    @golden4910 5 месяцев назад

    i love u man

  • @viralshorts9596
    @viralshorts9596 5 месяцев назад

    this really boosted my understanding

  • @Rody2013
    @Rody2013 6 месяцев назад

    Thank u for your explanation, keep posting us more videos please! ❤

  • @lompeluiten
    @lompeluiten 6 месяцев назад

    what moves more? The centre moves an little. The outerlayer moved an lot more. So they don't go the same speed

  • @ZZeta83
    @ZZeta83 6 месяцев назад

    This is the same phenomena as rolling a coin around another coin. The distance and number of rotations is related to the distance the center of the circle travels. Also the two circles, which are connected have the same angular velocity, but different linear velocities. The difference in linear distance can be accounted for by observing the path a single point on each circle takes, called a cycloid. Looking at the two cycloids, it is clear that the point on the inner circle travels a smaller distance.

  • @kokoshsmusic967
    @kokoshsmusic967 6 месяцев назад

    Because of the gravitational acceleration do the same in space see the outcome 😁👍

  • @rossodonnell5933
    @rossodonnell5933 6 месяцев назад

    Dummy-proof explanation for a helicopter pilot = Same RPM, Different velocity.

  • @marcusnielsen9674
    @marcusnielsen9674 6 месяцев назад

    Think about the angular velocity and tangential velocity and compare them. The large and small circles have the same angular velocity, because they both do a full rotation over the same time. However, for that to be the case, they must have different tangential velocities, as their diameters are different. Since the large circle is travelling along a linear path, its tangential velocity will determine the distance, and the small circle will have a lower tangential velocity, making up for the “missing” distance the inner circle has to travel.

    • @marcuskoseck98
      @marcuskoseck98 6 месяцев назад

      Both circles are attached, travel the same distance after one full rotation, and have different radii. Also, both circles have the same tangential velocity. I think your comment perfectly captures the paradox.

  • @SteedDigital1
    @SteedDigital1 6 месяцев назад

    Because they're connected. If you took a 5mm wheel and a 10mm wheel and roll them along a table the 5mm has to do more totations. But now if you put the 5mm inside attached to the larger, like a hub for example it's elevated above the rolling surface by the same amount all the way around as they roll together.

    • @marcuskoseck98
      @marcuskoseck98 6 месяцев назад

      That's true! But what does it mean for the trajectory of each circle? If they're attached, how does the smaller circle reach the end point despite being smaller? Aristotle's wheel paradox is what I explore in the long form version of the video. I could have phrased the paradox better in this short video.

    • @olivierdulac
      @olivierdulac 6 месяцев назад

      It travels more by each rotation because it is being brought along by the outer circle. Take the inside circle to the extreme by making it almost like a point, with a 0 radius or close to it: its own rotation don't travel much (or not at all if radius is 0) and the rest of the travelled distance comes from being dragged along by the outer circle's rotation.

  • @kedarshiralkar1099
    @kedarshiralkar1099 7 месяцев назад

    woww, nice visualization and explanation, keep on making more vidoes, u deserve many more views, good luck!

  • @rogerperez6576
    @rogerperez6576 7 месяцев назад

    Nice explanation

  • @DC-rk6xf
    @DC-rk6xf 8 месяцев назад

    Thanks for this introductory video. It helped me a lot.

  • @Royal--00
    @Royal--00 9 месяцев назад

    Wow I never thought about it like that! Cool video

  • @aleksantoniak5448
    @aleksantoniak5448 9 месяцев назад

    Hello, where could i find code for that?

    • @marcuskoseck98
      @marcuskoseck98 9 месяцев назад

      Hello. My github has the code under the "SARSA-and-Q_Learning" tab. Link to the github page is in the description.

  • @Royal--00
    @Royal--00 9 месяцев назад

    Very interesting!

  • @BPEMETO
    @BPEMETO Год назад

    Nice video! Thanks! : )

  • @williamorrick5348
    @williamorrick5348 Год назад

    I've never understood the cycloid explanation, although I've heard it goes back centuries. Just to have a concrete set-up, let's divide the wheels into 360 sectors of 1 degree each. Let's further suppose that the larger wheel has a circumference of 360 cm and the smaller a circumference of 180 cm. So each 1-degree sector corresponds to 1 cm of circumference on the outer wheel and 0.5 cm of circumference on the inner wheel. The outer wheel rolls along a 360 cm long track and, at the same time, the inner wheel rolls along its own (real or imaginary) 360 cm long track. Let's mark off 1cm intervals along both tracks. We might even number the intervals from 1 to 360 (from left to right, with the wheel starting from the left end), and also number the sectors of the circumference (in the counterclockwise direction starting from the initial contact point) from 1 to 360. Here's how I see the paradox (and I think this is essentially how it is stated in the original Mechanica text): as the outer wheel rolls, first the 1 cm long sector #1 of the outer circumference contacts the 1 cm long interval #1 of the track, then the 1 cm long sector #2 of the outer circumference contacts the 1 cm long interval #2 of the track, then sector #3 contacts interval #3, and so on for all 360 sectors. At the same time this is happening, first the 0.5 cm long sector #1 of the inner circumference contacts (the whole of) the 1 cm long interval of its track, then the 0.5 cm long sector #2 of the inner circumference contacts (the whole of) the 1 cm long interval #2 of its track, then sector #3 contacts (the whole of) interval #3, and so on for all 360 sectors. I think a paradox arose in people's minds because they could perfectly well visualize the matching up of 1 cm outer circumference sectors with 1 cm track intervals as the wheel rolls, but they had a hard time understanding how the 0.5 cm inner circumference sectors could match up with the whole of the 1 cm track intervals in a smooth and continuous way. After having thought through the problem in detail I personally don't see any difficulty, but I think I do understand people's initial discomfort. Now if you agree with my framing of the paradox -- and I do believe it's true to the original -- how does drawing cycloids and curtate cycloids help resolve it? The paradox is concerned with what's going on in at the points of contact of the two wheels with their surfaces. If we put red dots in sector #1 on both circles, the cycloid and curtate cycloid show the movement of the red dots, but most of that movement takes place far from the contact point. (The red dots come back to the surface only once per revolution.) To understand the paradox don't you have to examine carefully how things are moving at the point of contact? This involves a succession of different sectors, not one single sector. Also I don't understand how you can go from "the red dot on the inner circle travels a more direct path through space than does the red dot on the outer circle" to "the inner circle travels a more direct path than the outer circle". I don't see the path of the circle and the path of a point on the circumference as the same thing. But the more important point is that the paradox is concerned with matching, not paths. It's concerned with the matching between circumference intervals and track intervals.

  • @IAMACollectivist
    @IAMACollectivist Год назад

    The bigger circle is taking the snaller one for a ride. Its being carried forward at a faster rate than it would if it was driving the rotation.

  • @pargolf3158
    @pargolf3158 Год назад

    Aristotle musta been drinking the day he got stumped on this. The inner circle is attached to the outer circle that's why.

  • @donaldhutin6310
    @donaldhutin6310 Год назад

    The inner circle douse not travel the same distance. Note the inner circles distance of travel is it’s own distance Plus both the outside distance both Sides to the out side circle.distance. Measure both the inside circle and out side circle you will See that I am right Simple Yes!

  • @donabrams276
    @donabrams276 Год назад

    Brilliant!

  • @The1stDukeDroklar
    @The1stDukeDroklar 2 года назад

    stopped at 1:05 Because it doesn't travel the same distance on the same plane. The inner ring never touches the same surface as the outer ring. It is traveling along an imaginary plane above the table. Oh yeah, and the inner circle is traveling faster along the imaginary plane than the outer circle is along the table top. Edit: I see what you;re saying but I think my explanation is better lol

    • @marcuskoseck98
      @marcuskoseck98 2 года назад

      It is true that the inner ring never touches the table. The inner ring and outer ring are attached; therefore, they both have to travel the same distance. I don't think the inner circle is traveling faster, because both circles take the same amount of time to travel the same distance. I think I understand your imaginary plane explanation. I just disagree. This is the nature of the problem. It's a paradox, after all.

    • @The1stDukeDroklar
      @The1stDukeDroklar 2 года назад

      @@marcuskoseck98 But I don't believe it to be a paradox, just an unintuitive problem as you pointed out. Do the experiment differently and you will see what I mean. Get two rings equal to the inner and outer rings. Then move them across a plane. You could put two planes at the relative heights or just use your imagination that the same plane is at two different heights. In order for the smaller ring to move the same distance in the same amount of time, it must move faster across the plane. Now, if both planes were being used, and each had a mark, those marks would still be aligned as both rings travel. Basically, it is how gearing works. (Edit: faster as in rotation)

    • @The1stDukeDroklar
      @The1stDukeDroklar 2 года назад

      @@marcuskoseck98 Not sure if I explained it that well.

    • @marcuskoseck98
      @marcuskoseck98 2 года назад

      Yes. You explained it much better this time and everything you said is true. (The gear explanation really helped). Perhaps I didn't frame the question properly. The question assumes that the two rings are glued together the entire time and form a rigid body. So, the situation that you describe for the smaller circle to detach cannot happen in this problem. The nature of the problem is that the smaller circle rotates at the same rate as the larger circle and travels the same distance. It's not supposed to make sense, hence the paradox.

    • @The1stDukeDroklar
      @The1stDukeDroklar 2 года назад

      @@marcuskoseck98 Yes, exactly. It's like the rim of a tire. It may be a 15" rim, but if it's attached to a 17" tire, the car will move slower than if it were attached to a 19" tire although the rotation speed of the rim remains the same. Since as you increase the surface area of the tire, that same rotation is causing more surface area to move faster in order to maintain the same rotation speed.