Day 90 Of #100DaysOfCode: Overfitting and Underfitting
Durga Pokharel
Posted on March 29, 2021
Today, is my 90th day of #100daysofcode and #python learning journey. 29th march pass out by writing blog for project, pushing to the GitHub. Did some some random works.
And at the end of the day grasp knowledge from Datacamp regarding to the topic overfitting and underfitting and train test split. I really take joy with following image recognition code.
Code
# Import necessary modules
from sklearn import datasets
import matplotlib.pyplot as plt
# Load the digits dataset: digits
digits = datasets.load_digits()
# Print the keys and DESCR of the dataset
# Print the shape of the images and data keys
print(digits.keys())
print(digits.DESCR)
print(digits.images.shape)
print(digits.data.shape)
# Display digit 1010
plt.imshow(digits.images[1010], cmap=plt.cm.gray_r, interpolation='nearest')
plt.show()
Day 90 Of #100daysofcode and #Python
— Durga Pokharel (@durgacodes) March 29, 2021
Overfitting and Underfitting From https://t.co/iA9NKAytnlDataCamp#WomenWhoCode #CodeNewbie #100DaysOfCode #DEVCommunity pic.twitter.com/2DVFtvfN8q
💖 💪 🙅 🚩
Durga Pokharel
Posted on March 29, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
womenintech Day 76 Of 100DaysOfCode: Python BeautifulSoup To Scrape DataCamp Tutorials & Analyze
March 15, 2021
womenintech Day 61 Of 100DaysOfCode : COUNT And CASE WHEN With Multiple Conditions
February 27, 2021