Skip to content Skip to sidebar Skip to footer
Showing posts with the label Machine Learning

Adding L1/L2 Regularization In PyTorch?

Answer : Following should help for L2 regularization: optimizer = torch.optim.Adam(model.param… Read more Adding L1/L2 Regularization In PyTorch?

Calculate The Cumulative Distribution Function (CDF) In Python

Answer : (It is possible that my interpretation of the question is wrong. If the question is how… Read more Calculate The Cumulative Distribution Function (CDF) In Python

Can Anyone Give A Real Life Example Of Supervised Learning And Unsupervised Learning?

Answer : Supervised learning: You get a bunch of photos with information about what is on the… Read more Can Anyone Give A Real Life Example Of Supervised Learning And Unsupervised Learning?

Apache Flink Vs Apache Spark As Platforms For Large-scale Machine Learning?

Answer : Disclaimer: I'm a PMC member of Apache Flink. My answer focuses on the differences … Read more Apache Flink Vs Apache Spark As Platforms For Large-scale Machine Learning?

Cannot Connect To X Server GOOGLE COLAB

Answer : An X server is a program in the X Window System that runs on local machines (i.e. the c… Read more Cannot Connect To X Server GOOGLE COLAB

Cannot Understand With Sklearn's PolynomialFeatures

Answer : If you have features [a, b, c] the default polynomial features(in sklearn the degree … Read more Cannot Understand With Sklearn's PolynomialFeatures