Close Menu
    Trending
    • STOP Building Useless ML Projects – What Actually Works
    • Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025
    • The New Career Crisis: AI Is Breaking the Entry-Level Path for Gen Z
    • Musk’s X appoints ‘king of virality’ in bid to boost growth
    • Why Entrepreneurs Should Stop Obsessing Over Growth
    • Implementing IBCS rules in Power BI
    • What comes next for AI copyright lawsuits?
    • Why PDF Extraction Still Feels LikeHack
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»Machine Learning»Are We Truly Learning Machine Learning… Or Just Using It? | by Prakshil Patel | Jun, 2025
    Machine Learning

    Are We Truly Learning Machine Learning… Or Just Using It? | by Prakshil Patel | Jun, 2025

    Team_AIBS NewsBy Team_AIBS NewsJune 20, 2025No Comments4 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Within the age of Synthetic Intelligence, it’s simpler than ever to construct machine studying fashions. With highly effective libraries like Scikit-learn, TensorFlow, Keras, and PyTorch, you possibly can implement Linear Regression or a Deep Neural Community in only a few strains of code.

    And that’s the place the issue begins.
    Most learners at the moment bounce straight into coding with pre-built modules. They take a dataset, import a mannequin, practice it, and increase — outcomes! However the actual query is:

    Do you truly perceive what’s occurring beneath the hood or just in backend?

    That is the core ML move, however the stuff which occurs in backend is sort of completely different and engaging,

    ML Workflow

    When somebody begins studying ML at the moment, the same old method is:

    • Watch just a few YouTube movies
    • Take a web based course
    • Obtain a dataset
    • Import LinearRegression() and use .match()

    it is rather straightforward, however it skips one essential step: understanding what’s occurring beneath the hood.

    A quite common snippet or instance is as follows :

    from sklearn.linear_model import LinearRegression

    mannequin = LinearRegression()
    mannequin.match(X, y)

    The mannequin trains. You take a look at it. It really works. However the factor is that ,

    • Are you aware how the weights are calculated?
    • What sort of price perform it’s minimizing?
    • The way it handles overfitting?

    That is the place most learners fails , and that is the principle motive that persons are shedding jobs or not getting jobs and all.

    Consider libraries because the frontend of machine studying. They make issues straightforward and environment friendly . However for those who by no means discover the backend, you miss out on true studying.

    The Factor that occurs whenever you skip the scratch implementations:

    • You don’t perceive the maths behind predictions.
    • You possibly can’t debug when one thing goes unsuitable.
    • You possibly can’t clarify how the mannequin works in interviews.

    So we are able to say that, libraries are nice — when you perceive what they’re doing beneath the hood within the Backend.

    1. Library Method :
    from sklearn.linear_model import LinearRegression
    import numpy as np

    # Pattern knowledge
    X = np.array([[1], [2], [3], [4]])
    y = np.array([2, 4, 6, 8])

    # Practice mannequin
    mannequin = LinearRegression()
    mannequin.match(X, y)

    # Predict
    prediction = mannequin.predict([[5]])
    print("Prediction for enter 5:", prediction)

    Lacking stuff : Matrix multiplication, imply squared error calculation, gradient updates, and many others.

    2. Linear Regression from Scratch (Core Logic) :

    # Easy Linear Regression (with out libraries)
    def train_linear_regression(X, y):
    n = len(X)
    x_mean = sum(X) / n
    y_mean = sum(y) / n

    num = sum((X[i] - x_mean) * (y[i] - y_mean) for i in vary(n))
    den = sum((X[i] - x_mean) ** 2 for i in vary(n))

    slope = num / den
    intercept = y_mean - slope * x_mean
    return slope, intercept

    # Coaching
    X = [1, 2, 3, 4]
    y = [2, 4, 6, 8]
    m, b = train_linear_regression(X, y)

    # Predicting
    x_input = 5
    prediction = m * x_input + b
    print("Prediction for enter 5:", prediction)

    This teaches: The mathematics behind becoming a line utilizing least squares technique. You possibly can clearly see the distinction between each of them by the above code samples.

    Should you’re simply beginning out, attempt constructing these from scratch :

    • Linear Regression with gradient descent
    • Logistic Regression utilizing sigmoid activation
    • Choice Bushes with entropy or Gini index
    • A fundamental neural community with backpropagation

    No want for fancy frameworks — simply Python, Numpy, and logic. You’ll be stunned how rather more assured and curious you grow to be.

    1. You ask higher questions — “Why does this fail?” as an alternative of “Which perform do I name?”
    2. You debug higher — since you perceive the move.
    3. You develop sooner — your psychological fashions match real-world habits.

    Plus, In Interviews , you received’t simply exhibit a venture — you’ll clarify it.

    You wouldn’t name your self an online developer if all you probably did was drag-and-drop components in a web site builder. The identical logic applies right here. Actual builders perceive the backend, the logic, the algorithms.

    Machine studying libraries are superb. They’re highly effective, versatile, and important for real-world tasks. However don’t allow them to cover the magic.

    • Use them, however don’t rely upon them blindly.
    • Be taught the maths. Construct the algorithms. Then scale with instruments.

    The trail is likely to be slower, however the basis you construct will make you attain to the subsequent degree and make you stand out.

    Attempt implementing Linear Regression from scratch utilizing simply Python and Numpy. You’ll by no means have a look at .match() the identical method once more.

    If this weblog helped you or sparked a thought, be happy to achieve out or discover extra of my work:

    #MachineLearning #AI #DeepLearning #MLFromScratch #Coding #TechBlog #DataScience #Python #LearningJourney



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleTelegram boss to leave fortune to over 100 children he fathered
    Next Article Why Business Travel Wrecks You—and What To Do About It
    Team_AIBS News
    • Website

    Related Posts

    Machine Learning

    Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025

    July 1, 2025
    Machine Learning

    Why PDF Extraction Still Feels LikeHack

    July 1, 2025
    Machine Learning

    🚗 Predicting Car Purchase Amounts with Neural Networks in Keras (with Code & Dataset) | by Smruti Ranjan Nayak | Jul, 2025

    July 1, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    STOP Building Useless ML Projects – What Actually Works

    July 1, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    How Machine Learning is Transforming Anomaly Detection in Cybersecurity | by Luca Ornstil | Mar, 2025

    March 9, 2025

    Smartphone Filter-free CMOS Sensor Enhances Color Images

    May 30, 2025

    Tesco resolves ‘software issue’ after customers flag app problems

    May 16, 2025
    Our Picks

    STOP Building Useless ML Projects – What Actually Works

    July 1, 2025

    Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025

    July 1, 2025

    The New Career Crisis: AI Is Breaking the Entry-Level Path for Gen Z

    July 1, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.