강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

inwardly10044 のプロフィール画像
inwardly10044

投稿した質問数

[リニューアル] 初めてのPythonマシンラーニングブートキャンプ (簡単に!実際のKaggle問題を解きながら整理) [データ分析/科学 Part2]

Hello 機械学習: コードを実行しながら、機械学習プロセスを理解してみよう

scikit-learn 1.5.1 matplotlib 3.9.2

作成

·

126

·

編集済み

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

回答 1

0

funcoding님의 프로필 이미지
funcoding
インストラクター

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

inwardly10044 のプロフィール画像
inwardly10044

投稿した質問数

質問する