Coding a Neural Network: A Beginner's Guide (part 3)

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 15

  • @muhammedmagid1820
    @muhammedmagid1820 3 года назад +8

    I think there is a mistake in 11:03, the partial derivative is wrong it should be like that [2x , 2y], after all thank you for your efforts.

    • @aboutmedicine
      @aboutmedicine  2 года назад +2

      Ah, thanks for highlighting that Muhammed. Unfortunately, RUclips no longer allows video annotations so hopefully viewers will see your comment. I'll mention it in the video description.

    • @skz._.hyunlix2503
      @skz._.hyunlix2503 4 месяца назад

      im lost what do i do instead

  • @thinkbetter5286
    @thinkbetter5286 2 года назад +1

    6:33 I spent half an hour trying to fix my code, going to Stack Overflow, downloading these various packages, only to find out I had "npl" instead of "mpl"
    .
    😀😄😆🤣🌚

  • @captainexpo4925
    @captainexpo4925 3 года назад +2

    Hey, I had a problem with the del symbol where it gave me an "invalid character in identifier" error. Am I using the wrong symbol, or is it something with my code?
    This is the symbol i was using: ∂
    My code:
    import matplotlib.pyplot as plt
    from mpl_toolkits.mplot3d import axes3d
    import numpy
    %matplotlib inline
    x = numpy.arange(-8, 8, 0.1)
    y = numpy.arange(-8, 8, 0.1)
    x, y = numpy.meshgrid(x, y)
    z = x ** 2 + y ** 2
    gradient = [∂z / ∂x, ∂z / ∂y]
    gradient = [2x + y ** 2, x ** 2 + 2y]
    axes = plt.axes(projection='3d')
    axes.plot_surface(x, y, z)
    # derivative = 2 * x
    # plt.plot(x, y, x, z)
    # plt.show

    • @aboutmedicine
      @aboutmedicine  3 года назад +5

      Hi there,
      Thanks for tuning in! You can get rid of the line with the dels in it. It was for the purpose of explaining the concept, but you don’t need it in your code.
      All the best,
      Reuben

  • @hedco_hd1429
    @hedco_hd1429 3 года назад +1

    Really great video, keep up the good work :D

  • @terrylewis5786
    @terrylewis5786 4 года назад +1

    Hello, you should include links to the previously related videos. Thx.

  • @echotube3111
    @echotube3111 3 года назад

    Before the video started I saw an ad with a terrifying looking A.I. for kids, how do they enjoy these? lol

  • @Darknight-eu1by
    @Darknight-eu1by Год назад

    when we made the 3d graph, mine went up in 2.5 instead of 2, do you know why? it only happend on the x and z axes

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

    casual calculus for coders

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

    Keep getting syntax errors. Already threw out the the bit of code with the ∂ sign. Code seems identical and does not want to run :/.. Keeps saying the opening bracket after gradient = is not closed, but IT IS?
    import matplotlib.pyplot as plt
    from mpl_toolkits.mplot3d import Axes3D
    %matplotlib inline
    x = numpy.arange(-8,8,0.1)
    y = numpy.arange(-8,8,0.1)
    x, y = numpy.meshgrid(x, y)
    z = x ** 2 + y ** 2
    gradient = [2x, 2y]
    axes = plt.axes(projection='3d')
    axes.plot_surface(x, y, z)

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

      im having the same exact problem