K-Nearest Neighbor Regression with Python

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

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

  • @Queen-pi3ck
    @Queen-pi3ck 2 года назад +2

    Very helpful... thanks alot

  • @user-nv3mc3zq3u
    @user-nv3mc3zq3u 9 месяцев назад +2

    why did you not standardize the data?

    • @EducationalResearchTechniques
      @EducationalResearchTechniques  9 месяцев назад +2

      The focus of the video was k-nearest neighbor. If I clean the data and did all the steps it would take an 8-minute video to over 20 minutes which nobody wants to watch.

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

    Superb lecture! Thanks

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

    can we plot confusion matrix while using k nearest neighbor regression

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

      Confusion matrices are used for classification when the dependent variable is categorical. The here is for regression which involves a dependent variable that is continuous.

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

      @@EducationalResearchTechniques so how can we find accuracy in regression model

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

      @@dimpleghole2564
      1. Compare descriptive statistics of actual and predicted dependent variable. The number should be similar.
      2. Calculate the correlation between the actual and predicted values. The higher the correlation the better the predictive power.
      3.Use cross-validation to determine how well the model can be generalized