KNN (K-Nearest Neighbor) Algorithm in Telugu

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • #KNN #knnalgorithm #machinelearningalgorithm
    import numpy as np
    import pandas as pd
    from matplotlib import pyplot as plt
    from sklearn.datasets import load_breast_cancer
    from sklearn.metrics import confusion_matrix
    from sklearn.neighbors import KNeighborsClassifier
    from sklearn.model_selection import train_test_split
    import seaborn as sns
    sns.set()
    breast_cancer = load_breast_cancer()
    X = pd.DataFrame(breast_cancer.data, columns=breast_cancer.feature_names)
    X = X[['mean area', 'mean compactness']]
    y = pd.Categorical.from_codes(breast_cancer.target, breast_cancer.target_names)
    y = pd.get_dummies(y, drop_first=True)
    X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=1)
    y_pred = knn.predict(X_test)
    sns.scatterplot(
    x='mean area',
    y='mean compactness',
    hue='benign',
    data=X_test.join(y_test, how='outer')
    )
    plt.scatter(
    X_test['mean area'],
    X_test['mean compactness'],
    c=y_pred,
    cmap='coolwarm',
    alpha=0.7
    )
    confusion_matrix(y_test, y_pred)

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

  • @Blackpantherm
    @Blackpantherm Год назад +2

    Arai jeevan ga ikkadi nuchai aa ga copy koti maku chaptanavu

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

    How to select k value

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

    Long short term memory topic explain in telugu pls

  • @leviackerman8729
    @leviackerman8729 Месяц назад

    Category a and category b ani ela segregate ayyayi andi. Explain cheyagalara ah?

  • @MultiSnaidu
    @MultiSnaidu 21 день назад

    GOOD

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

    Great Explanation. Thank you🙏🙏

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

    Mam if u don't mine
    Evvaru ayina sudden gaa topics adiginapudu
    Simple gaa cheppadaaniki
    Cheppandi
    Topics:
    Features, classification - linear and nonlinear, Bayesian, perceptron, nearest neighbour classifier, logistic regression, naive bayes, decision trees, random forest, k-means clustering

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

    Thank you so much for your wonderful explanation.

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

    Really amazing your videos.can u please do STATISTICS videos also

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

    Sweet voice

  • @ktsunitha
    @ktsunitha 5 месяцев назад

    Theoretical explanation was quite good 👏👏 but need more explanation regarding Code snippets especially for beginners

  • @MRAJU-x5d
    @MRAJU-x5d 2 месяца назад

    Nice explanation

  • @Kuruva.geetha487
    @Kuruva.geetha487 Год назад +1

    Superb akka

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

    Madam time series analysis gurchi oka sari

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

    Super Explanation _great feature.....

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

    Thank you madam

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

    Akka super☝️👌

  • @gurendrarayala7929
    @gurendrarayala7929 4 года назад

    overall explanation is good
    but i have doubt that is
    without feature scaling is that better or not?

    • @Nerchukoml
      @Nerchukoml 4 года назад

      Feature scaling helps our model to predict more accurately

  • @De-kd5gq
    @De-kd5gq 3 года назад

    Mam excellent ga cheppparuu ,
    Density estimation ,fuzzy classification chepparaa madam

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

    thanks akka

  • @JayaJaya-dp5mz
    @JayaJaya-dp5mz 2 года назад

    Thanks for supb explanation akka

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

    Theoretical explanation is good. However as s part of code import, execution, k value with code execution, test and train code execution for accurate test results needs some more precise explanation.
    Here in algorithms, code writing and execution is the only key point and catch.
    Hence code is very much important, to train and test module accuracy for refine outcome and accurate results.
    Thank you

  • @kasiswarikunchala274
    @kasiswarikunchala274 8 месяцев назад

    Super explanation.tq

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

    Good explanation..

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

    tq mam finally i found a telugu video on knn

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

    Good explanation 👍

  • @MuraliKrishna-rn1ut
    @MuraliKrishna-rn1ut 2 года назад

    Excellent explanation madam

  • @Raviteja-np5bt
    @Raviteja-np5bt 2 года назад

    Super voice 😍❤️

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

      Thank you please do subscribe and share

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

    Great explanation

  • @manasa.gunturu5346
    @manasa.gunturu5346 Год назад

    Nice explanation 😍

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

      Thank you 🙂
      Follow for more updates
      Telegram
      t.me/cseittutorials4u
      Instagram
      instagram.com/cse_it_tutorials4u?igshid=YmMyMTA2M2Y=

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

    medam, i want class in english pls translate

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

      There are so many classes in english

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

      @@Cseittutorials Implement RandomSearchCV with k fold cross validation on KNN,you have this class send link medam.

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

      k-fold cross validation