ITエンジニア ノイのブログ

ITエンジニアのノイです。 YouTubeで ITエンジニアのお勉強という学習用の動画を公開しています。チャンネル登録お願いします!https://m.youtube.com/channel/UCBKfJIMVWXd3ReG_FDh31Aw/playlists

2023-05-13から1日間の記事一覧

NumPyでの転置とaxisの理解

NumPyはPythonで科学計算を行うための優れたライブラリであり、行列の操作や数値計算に便利です。特に、転置とaxisの理解は、データ解析や機械学習の実装において重要な概念です。 転置(Transpose)とは何か 転置とは、行列の行と列を入れ替える操作のこと…

Pythonのround関数

roundの基本的な考え方 Pythonの.round()関数は、数値を指定された桁数に丸めるために使用されます。 .round()関数は以下のように使用します。 rounded_number = round(number, ndigits) ここで、numberは丸める対象の数値であり、ndigitsは丸める桁数を指定…

Some weights of the model checkpoint at bert-base-cased were not usedエラー

Some weights of the model checkpoint at bert-base-cased were not usedエラーが出る時 エラーの現象 「Some weights of the model checkpoint at bert-base-cased were not used」というエラーメッセージは、Bertモデルのチェックポイントの一部の重みが…