Skip navigation
Trained a single layer neural network in C to predict AND GATE from scratch
0:00 / 0:22

Trained a single layer neural network in C to predict AND GATE from scratch

AADITYANSHA

@aadityansha_062.1K followers

Visit on X
130 likesDownloadOriginal post

81,439 views

Trained a single layer neural network in C to predict AND GATE from scratch using gradient descent and Batch training of dataset in almost 300K epochs

28 Comments

Comments from the original post on X (Twitter)

  • Athrix ☄️'s profile picture

    @athrix_codes

    Noicee

    2 likes

  • Harsh Jain's profile picture

    @harsh__coder

    Crazy buddy 🥶

    1 like

  • AADITYANSHA's profile picture

    @aadityansha_06

    @HarshJain_Coder Thnx

    1 like

  • Humi's profile picture

    @byteHumi

    oohh cooooll

    1 like

  • AADITYANSHA's profile picture

    @aadityansha_06

    Thnx

    1 like

  • Zerion's profile picture

    @zerion0

    Woo super cool bhai

    1 like

  • Tħ∀TΣΔGIC∀LCΔT's profile picture

    @thatmagicalcat_

    cool! this is pretty nostalgic, i made a little neutral network library and predicted xor gate as an example. @DuskyDaily made a pr and that's how we met!

    1 like

  • AADITYANSHA's profile picture

    @aadityansha_06

    @DuskyDaily Xor gate, nice bro Pls do share me the library Btw did u used mean square error method or something else for error optimization

    1 like

  • Tħ∀TΣΔGIC∀LCΔT's profile picture

    @thatmagicalcat_

    @DuskyDaily mean squared error if I remember correctly

  • Yosefu's profile picture

    @OJI_OJI_00

    Right what I needed to see Thank you

    1 like

  • akansha's profile picture

    @clumsyaf222

    damnn cool

    1 like

  • Ruchira's profile picture

    @lmaoruchira

    Lesgoooo

    1 like

  • Manvi✨'s profile picture

    @manvij5

    Cool

    1 like

  • kushzz's profile picture

    @Kushagraa1501

    How tf did u run 300k epochs ?? how long did it take to complete that ??

  • AADITYANSHA's profile picture

    @aadityansha_06

    45 sec

  • AADITYANSHA's profile picture

    @aadityansha_06

    I'm on i3 2nd gen Pls show some mercy

    1 like

  • Sharav Arora's profile picture

    @SharavArora

    superbb

  • Armandeep Singh Bains's profile picture

    @ArmanBains42191

    Kindly check your dm.

  • Apoorva's profile picture

    @craft_withcode

    Keep going buddy like this

  • PsychoBunny ⚒️'s profile picture

    @CryptoValholl

    Cool, I will try to do the same but with ReLU and the nonlinear gradient descent algorithm.