Linear Regression Tutorial using Tensorflow and Keras

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

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

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

    Hey man, my loss function is always higher than my losses through a 100 epochs .What might be the problem...Im using an Insurance dataset and trying to predict the insurance costs based on BMI index of an individual.

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

      Hi,
      If your loss function remains higher than expected over 100 epochs, it could be due to underfitting, where the model is too simple to capture the dataset's complexity. Consider increasing model complexity, adjusting hyperparameters like learning rate, or employing more sophisticated feature engineering to better capture the relationship between BMI and insurance costs.
      Additionally, ensure your loss function is appropriately chosen for regression tasks, such as Mean Squared Error (MSE).
      For more resources, refer to: learnopencv.com/tensorflow-keras-tutorial-linear-regression/
      Hope this helps!

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

      @@LearnOpenCV Thanks bro, this helped me a lot

  • @andreshofmann3434
    @andreshofmann3434 Год назад +1

    HEy! nice tutorial but I get an error when running the train model cell

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

      Hi. Can you please tell what is the error?