강의

멘토링

커뮤니티

Inflearn Community Q&A

inwardly10044's profile image
inwardly10044

asked

[Renewed] Python Machine Learning Bootcamp for Beginners (Easy! Learn by Solving Real Kaggle Problems) [Data Analysis/Science Part2]

Hello Machine Learning: Understanding the Machine Learning Process by Running Code

scikit-learn 1.5.1 matplotlib 3.9.2

Written on

·

124

·

Edited

0

from matplotlib import pyplot as plt

fig = plt.figure(figsize=(6, 6))
fig.subplots_adjust(left=0, right=1, bottom=0, top=1, hspace=0.05, wspace=0.05)

for i in range(64):
    ax = fig.add_subplot(8, 8, i + 1, xticks=[], yticks=[])
    ax.imshow(digits['images'][i], cmap='binary', interpolation='nearest')
    ax.text(0, 7, str(digits.target[i]))

plt.show()
python머신러닝pandaskaggle

Answer 1

0

funcoding님의 프로필 이미지
funcoding
Instructor

강의 코드를 matplotlib 으로 작성한 예를 공유해주신 것 같은데 맞죠?? 공유 감사합니다.

inwardly10044's profile image
inwardly10044

asked

Ask a question