Pytorch Tutorial 4- Solving Kaggle Pima Diabetes Prediction Using ANN With PyTorch Library

  Рет қаралды 31,705

Krish Naik

Krish Naik

Күн бұрын

Пікірлер: 51
@taherkayamkhani8214
@taherkayamkhani8214 4 жыл бұрын
You are recording videos at midnight during the weekend. I am speechless, I have no words for your appreciation sir. SALUTE
@SALESENGLISH2020
@SALESENGLISH2020 4 жыл бұрын
Krish makes difficult things simple. That is the best way to teach.
@midhileshmomidi2434
@midhileshmomidi2434 4 жыл бұрын
Thanks Krish Its a complete Data Science package in this channel
@rishiar4
@rishiar4 4 жыл бұрын
In order to not get those warnings, you can always use the following lines of code. from warnings import filterwarnings filterwarnings('ignore') This will ignore the unnecessary warnings.
@manojtaleka954
@manojtaleka954 3 жыл бұрын
Thank you Krish for a wonderful video on using PyTorch for solving classification problem using ANN
@ratulghosh3849
@ratulghosh3849 4 жыл бұрын
Excellent tutorial with respect to PyTorch Library. Keep up the good work sir!
@swarnalaxmipanda6964
@swarnalaxmipanda6964 Жыл бұрын
Thank you Krish Sir.. These tutorials helped me a lot..
@thomsonblaze
@thomsonblaze Жыл бұрын
Great job, this came in very handy on dealing with pytroch
@AmitSingh-wi8iv
@AmitSingh-wi8iv 4 жыл бұрын
Thank you so much krish sir🙏🙏 it's very easy way to understand each line of code and concept 🙏once again Thank you so much sir
@raunaksingh6
@raunaksingh6 4 жыл бұрын
Thank you Krish for sharing your knowledge
@ajinkyapahinkar6463
@ajinkyapahinkar6463 4 жыл бұрын
Would just like to to point out about loss.item() - After the loss is calculated it is stored as a single value inside a 1-D tensor. Loss.item() converts this single value in a 1-D tensor to a float value so that when you print it it doesn’t show as a tensor but a float value. Also appending loss as a tensor to the final_losses list would make it unable to plot via matplotlib hence there also we use loss.item before appending it to the list
@pponvannan
@pponvannan 4 жыл бұрын
so simple and nicely explained.
@thusharadunumalage709
@thusharadunumalage709 3 жыл бұрын
Thank you very much 👍
@upendravijay1428
@upendravijay1428 3 жыл бұрын
in the forward pass, on last layer 'x=self.out(x)' you haven't applied sigmoid why?
@sourabhagarwal4852
@sourabhagarwal4852 3 жыл бұрын
because sir has used cross entropy as loss function where probability is default .... If sir had used BCEloss(i.e binary_cross entropy ) then sigmoid function will be applied.
@sarbanidasgupta9595
@sarbanidasgupta9595 Жыл бұрын
The tensor in the predict function is giving some numbers how do we interpret them?Doesnt look like probabilities as they are greater than one or negative.If we want to predict probabilities instead of 0,1 how do we do that?
@prathameshsamant30
@prathameshsamant30 2 жыл бұрын
For this statement( y_train=torch.LongTensor(y_train)) , I am getting error as 'can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool'. Please guide me.
@karthiavenger4577
@karthiavenger4577 Жыл бұрын
do you find it how you resolved i m getting same error !
@narayans.adhikari262
@narayans.adhikari262 10 ай бұрын
use: y_train=torch.LongTensor(y_train.values)
@saipranavreddy4056
@saipranavreddy4056 2 ай бұрын
import numpy as np you wont get it
@saipranavreddy4056
@saipranavreddy4056 2 ай бұрын
​@@karthiavenger4577 import numpy as np you wont get it
@raina1696
@raina1696 4 жыл бұрын
Sir i did not get that seaborn error , it worked even when Outcome feature has numerical values,i did in google colab
@Audalingo_J
@Audalingo_J 3 жыл бұрын
why did you use model.forward(X_train) instead of just passing data to model(X_train)? I noticed that most people avoid using the .forward approach.
@rishikambhampati2862
@rishikambhampati2862 4 жыл бұрын
Hello, thanks for the series Krish. However, when I try to predict the output for a data point as you did for each of the entries in X_test, 'Not Implemented error' is being raised during the run time. can you please help me with this. Thanks
@adhirajmajumder
@adhirajmajumder 4 жыл бұрын
Thank you so much sir... Actually I want to learn pytorch instead of tensor flow because it doesn't support on my machine...
@manishsharma2211
@manishsharma2211 4 жыл бұрын
You can use google colab or kaggle
@dhirajdhakal6350
@dhirajdhakal6350 3 жыл бұрын
Hello Krish, don't we need to scale down the data ?
@thepresistence5935
@thepresistence5935 3 жыл бұрын
Binary Cross entropy use panlame, 2 categories thana iruku
@saurrav3801
@saurrav3801 4 жыл бұрын
Is sklearn and pytorch are having same functionality or both are different?
@apantazopoul
@apantazopoul 4 жыл бұрын
I know that the purpose of this tutorial is pytorch but this task needs better feature engineering. Zeros represent missing values because there is no possibility for a person to have 0 glucose measurement for example.
@krishnaik06
@krishnaik06 4 жыл бұрын
True ...in the next video we will do more feature engineering stuff
@sushilbastola8940
@sushilbastola8940 4 жыл бұрын
How can i predict remaining useful life with training set, test set and actual RUL values given , Please help me
@rohitmohite7997
@rohitmohite7997 4 жыл бұрын
Hi @Krish sir, I am getting this error using for loop of epochs. ..............forward() takes 1 positional argument but 2 were given
@shaikrasool1316
@shaikrasool1316 4 жыл бұрын
Super
@aniketanvekar5462
@aniketanvekar5462 4 жыл бұрын
Krish sir make more videos on pytorch
@sippee93
@sippee93 Жыл бұрын
ValueError: Expected input batch_size (614) to match target batch_size (154). getting an error using the same dataset
@dmlane_sougata
@dmlane_sougata 2 жыл бұрын
Sir, Please upload CNN videos using PyTorch.
@saurrav3801
@saurrav3801 3 жыл бұрын
Bro how to use sklearn ml algorithms before making a pytorch model ....
@vincecarter7500
@vincecarter7500 4 жыл бұрын
cant you get a better model using a ml model instead of an ann?
@swapnadeepsarkar5850
@swapnadeepsarkar5850 4 жыл бұрын
Sir can you make a tutorial on Face recognition using Siamese Neural networks...
@suryagangadhar1735
@suryagangadhar1735 4 жыл бұрын
Hiii sir, can u start Julia after pytorch
@Krishnaverma-xw7oe
@Krishnaverma-xw7oe 3 жыл бұрын
Hi Sir, I'm getting this error: ValueError Traceback (most recent call last) in 1 ##Creating tensors ----> 2 X_train = torch.Tensor(X_train) 3 X_test = torch.FloatTensor(X_test) 4 y_train = torch.LongTensor(y_train) 5 y_test = torch.LongTensor(y_test) ValueError: could not determine the shape of object type 'DataFrame' I've different dataset
@cometolearn8598
@cometolearn8598 Жыл бұрын
It needs to be FloatTensor(X_train) not Tensor(X_train)
@suryakirannvs
@suryakirannvs 3 жыл бұрын
Not sure how but followed same steps and it took 1's and 0's for me
@lakshmitejaswi7832
@lakshmitejaswi7832 4 жыл бұрын
Implement word2vec in pytorch
@deepankarsharma7840
@deepankarsharma7840 8 ай бұрын
why did we do i+=1 at : kzbin.info/www/bejne/pYSrqI19ab1mkNE
@mdtarique.ansari3802
@mdtarique.ansari3802 3 ай бұрын
Tu dekh kr q padha h bhaye 🥲
@gullyboy9226
@gullyboy9226 10 ай бұрын
import matplotlib.pyplot as plt %matplotlib inline plt.plot(range(epochs),final_losses) plt.ylabel('Loss') plt.xlabel('Epoch') i got error in that portion can you help me please
@harshvardhansurana1968
@harshvardhansurana1968 9 ай бұрын
I am also getting error in this part, could you tell what is it?
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
What is Agentic AI? Important For GEN AI In 2025
22:36
Krish Naik
Рет қаралды 32 М.
Practical Deep Learning for Coders: Lesson 1
1:22:56
Jeremy Howard
Рет қаралды 381 М.
PyTorch Course (2022), Part 1: Tensors
28:57
Mr. P Solver
Рет қаралды 41 М.
The spelled-out intro to neural networks and backpropagation: building micrograd
2:25:52
Stanford CS229 I Machine Learning I Building Large Language Models (LLMs)
1:44:31
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,1 МЛН
Introduction to Dash Plotly - Data Visualization in Python
29:21
Charming Data
Рет қаралды 807 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН