<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2026 プログラミング演習B on プログラミング演習B</title><link>https://ksubpb.github.io/2026/</link><description>Recent content in 2026 プログラミング演習B on プログラミング演習B</description><generator>Hugo -- gohugo.io</generator><language>ja</language><copyright>© 2026</copyright><lastBuildDate>Wed, 30 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ksubpb.github.io/2026/index.xml" rel="self" type="application/rss+xml"/><item><title>HTTP</title><link>https://ksubpb.github.io/2026/supplemental/webapp/http/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/http/</guid><description>Webアプリケーションの作成のためには、Web上でデータをやり取りするための決まり事（プロトコル）であるHTTPを理解する必要があります。ここではごく簡単に HTTP について説明します。</description></item><item><title>Pythonの基本</title><link>https://ksubpb.github.io/2026/lesson01/grammer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/grammer/</guid><description>&lt;h2 class="relative group"&gt;基本文法&#10; &lt;div id="基本文法" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e5%9f%ba%e6%9c%ac%e6%96%87%e6%b3%95" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&#10;&lt;h3 class="relative group"&gt;コメント&#10; &lt;div id="コメント" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%82%b3%e3%83%a1%e3%83%b3%e3%83%88" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.17（Lesson 2）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;Pythonでは &lt;code&gt;#&lt;/code&gt; 以降の文字列はコメントとして扱われます。&#10;コメントはプログラムの説明やメモを書くために使います。&lt;/p&gt;</description></item><item><title>Python実行環境</title><link>https://ksubpb.github.io/2026/common/python/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/common/python/</guid><description>&lt;h2 class="relative group"&gt;Python のインストール&#10; &lt;div id="python-のインストール" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#python-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;自分の環境にPython実行環境がインストールされているかどうかを確認しましょう。&#10;Python処理系は &lt;code&gt;python3&lt;/code&gt; コマンドで起動します。&lt;/p&gt;</description></item><item><title>クラス定義</title><link>https://ksubpb.github.io/2026/lesson06/class_definition/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson06/class_definition/</guid><description>関数とそれに関するデータをまとめた &lt;strong&gt;クラス（Class）&lt;/strong&gt; という概念が用意されています。</description></item><item><title>セット</title><link>https://ksubpb.github.io/2026/lesson02/set/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/set/</guid><description>&lt;h2 class="relative group"&gt;セット&#10; &lt;div id="セット" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%82%bb%e3%83%83%e3%83%88" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.155（Lesson 6.5）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;セットは並び順のないデータの集合を表すコレクションです。&#10;セットは波括弧 &lt;code&gt;{}&lt;/code&gt; で囲み、リストに格納する各データ（要素）はカンマ &lt;code&gt;,&lt;/code&gt; で区切ります。&#10;セットの値は重複させることはできず、順序もありません。&lt;/p&gt;</description></item><item><title>ディレクトリ構造の探索</title><link>https://ksubpb.github.io/2026/lesson05/traverse/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson05/traverse/</guid><description>ディレクトリ内の特定のファイルを探すとき、ディレクトリ内のディレクトリを再帰的に探索する必要があります。</description></item><item><title>関数(2/2) 高度な引数の扱い</title><link>https://ksubpb.github.io/2026/lesson03/function/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson03/function/</guid><description>Pythonでは、高度な引数の扱いが可能で、引数の数が一致していなくてもエラーにならないようにできます。</description></item><item><title>機械学習とは</title><link>https://ksubpb.github.io/2026/lesson08/basics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/basics/</guid><description>機械学習とは何かを理解し、機械学習の基本的な考え方について学びます。</description></item><item><title>教師あり学習</title><link>https://ksubpb.github.io/2026/lesson09/supervised_learning/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson09/supervised_learning/</guid><description>機械学習の手法の一つである教師あり学習について学びます。</description></item><item><title>教師なし学習</title><link>https://ksubpb.github.io/2026/lesson10/unsupervised_learning/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson10/unsupervised_learning/</guid><description>機械学習の手法の一つである教師なし学習について学びます。</description></item><item><title>再帰呼び出し</title><link>https://ksubpb.github.io/2026/lesson04/recursive/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson04/recursive/</guid><description>&lt;h2 class="relative group"&gt;再帰呼び出し&#10; &lt;div id="再帰呼び出し" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e5%86%8d%e5%b8%b0%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%97" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;再帰呼び出しとは、ある関数が自分自身を呼び出すことを指します。&#10;数学の漸化式をそのままプログラムで表現したものとして捉えることができます。&lt;/p&gt;</description></item><item><title>特殊なメソッド</title><link>https://ksubpb.github.io/2026/lesson07/special_method/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson07/special_method/</guid><description>クラスに特別な名前のメソッド（特殊メソッド; special method）を用意することで、Python の組み込み関数の処理や演算子の処理を上書き（オーバーライド（override））できるようになります。</description></item><item><title>エディタ</title><link>https://ksubpb.github.io/2026/common/editor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/common/editor/</guid><description>&lt;h2 class="relative group"&gt;利用するエディタ&#10; &lt;div id="利用するエディタ" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;本科目で利用するエディタは特に指定しません。&#10;自分の好きなエディタを利用してください。&#10;ただ、こだわりが特にないようであれば、&lt;a href="https://azure.microsoft.com/ja-jp/products/visual-studio-code" target="_blank" rel="noreferrer"&gt;Visual Studio Code&lt;/a&gt;（VSCode） を利用することをお勧めします。&lt;/p&gt;</description></item><item><title>クラスタリング</title><link>https://ksubpb.github.io/2026/lesson10/clustering/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson10/clustering/</guid><description>データから基準を見つけ出し、データをいくつかのグループ（クラスタ）に分類します。</description></item><item><title>コンストラクタ</title><link>https://ksubpb.github.io/2026/lesson06/constructor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson06/constructor/</guid><description>オブジェクトを生成する際に、そのオブジェクトの初期化を行うメソッドを &lt;strong&gt;コンストラクタ（Constructor）&lt;/strong&gt; と呼びます。</description></item><item><title>ディクショナリ</title><link>https://ksubpb.github.io/2026/lesson02/dictionary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/dictionary/</guid><description>&lt;h2 class="relative group"&gt;ディクショナリ&#10; &lt;div id="ディクショナリ" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%87%e3%82%a3%e3%82%af%e3%82%b7%e3%83%a7%e3%83%8a%e3%83%aa" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.142（Lesson 6.2）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;ディクショナリは、キーと値のペアを格納するコレクションです。&#10;他の言語では、Map や Hash、連想配列と呼ばれることがあります。&#10;ディクショナリは、リストのインデックスの代わりに、キーと呼ばれる任意の型を用いて、対応するデータを格納します。&lt;/p&gt;</description></item><item><title>ファイルの読み書き</title><link>https://ksubpb.github.io/2026/lesson01/file/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/file/</guid><description>&lt;h2 class="relative group"&gt;ファイルを開く&#10; &lt;div id="ファイルを開く" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e9%96%8b%e3%81%8f" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.286（Lesson 10）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;Python でファイルを読み書きするには、&lt;code&gt;open&lt;/code&gt; 関数を使います。&#10;&lt;code&gt;open&lt;/code&gt;関数の第1引数が対象のファイル名、第２引数がオープンモードです。&#10;オープンモードは教科書 p.288 表10-1 に記載されていますが、以下の3種類を区別できれば良いでしょう。&lt;/p&gt;</description></item><item><title>モジュール</title><link>https://ksubpb.github.io/2026/lesson07/module/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson07/module/</guid><description>Python では、他のファイルを読み込むための仕組みとして &lt;strong&gt;モジュール（Module）&lt;/strong&gt; が用意されています。</description></item><item><title>基本的な統計指標</title><link>https://ksubpb.github.io/2026/lesson08/statistics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/statistics/</guid><description>機械学習の基礎の前提として、基本的な統計指標について学びます。</description></item><item><title>再帰の練習</title><link>https://ksubpb.github.io/2026/lesson04/practice/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson04/practice/</guid><description>呼び出しの様子を表示して再帰の動きを目で確かめ、壊れた再帰関数を直します。</description></item><item><title>線形回帰（linear regression）</title><link>https://ksubpb.github.io/2026/lesson09/linear_regression/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson09/linear_regression/</guid><description>学習データから構築したモデルを用いて、連続値の目的変数を予測します。</description></item><item><title>二分探索</title><link>https://ksubpb.github.io/2026/lesson05/binary_search/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson05/binary_search/</guid><description>二分探索（Binary Search）は、ソート済みのリストに対して、探索する範囲を半分に狭めていくことで、探索する要素を見つけるアルゴリズムです。</description></item><item><title>変数とスコープ</title><link>https://ksubpb.github.io/2026/lesson03/scope/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson03/scope/</guid><description>プログラム言語で扱う変数には、有効範囲がありスコープと呼ばれます。</description></item><item><title>assert文によるテスト</title><link>https://ksubpb.github.io/2026/lesson03/assert_test/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson03/assert_test/</guid><description>プログラムが期待通りに動いているかを確認するためには、実行してみて、実行結果が期待通りであるかを確認するテストを実施する必要があります。ここではこのテストの１手法を学びます。</description></item><item><title>Numpy, Matplotlib</title><link>https://ksubpb.github.io/2026/common/numpy/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/common/numpy/</guid><description>&lt;h2 class="relative group"&gt;Numpyとは&#10; &lt;div id="numpyとは" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#numpy%e3%81%a8%e3%81%af" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.361（データの高度な取り扱い）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;Numpy（ナンパイ）は、Pythonの数値計算ライブラリの一つです。&#10;ベクトルや行列やその演算を容易に扱え、機械学習に必要な機能が豊富に揃っています。&#10;Python で機械学習を行う際には、Numpy を利用することが一般的です。&lt;/p&gt;</description></item><item><title>カプセル化</title><link>https://ksubpb.github.io/2026/lesson07/encapsulation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson07/encapsulation/</guid><description>カプセル化とは、オブジェクト指向プログラミングの特徴の一つで、単純であろうと見せかける仕組みのことです。</description></item><item><title>フォーマット出力</title><link>https://ksubpb.github.io/2026/common/format/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/common/format/</guid><description>&lt;h2 class="relative group"&gt;フォーマット出力&#10; &lt;div id="フォーマット出力" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%83%e3%83%88%e5%87%ba%e5%8a%9b" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="note"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"&gt;&lt;path fill="currentColor" d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 128c17.67 0 32 14.33 32 32c0 17.67-14.33 32-32 32S224 177.7 224 160C224 142.3 238.3 128 256 128zM296 384h-80C202.8 384 192 373.3 192 360s10.75-24 24-24h16v-64H224c-13.25 0-24-10.75-24-24S210.8 224 224 224h32c13.25 0 24 10.75 24 24v88h16c13.25 0 24 10.75 24 24S309.3 384 296 384z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; ノート&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;p&gt;Python には文字列を整形するための様々な方法があります。&#10;ここではその中でも代表的なものを紹介します。&lt;/p&gt;</description></item><item><title>ベクトル</title><link>https://ksubpb.github.io/2026/lesson08/vector/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/vector/</guid><description>&lt;h2 class="relative group"&gt;ベクトル（vector）とは&#10; &lt;div id="ベクトルvectorとは" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%99%e3%82%af%e3%83%88%e3%83%abvector%e3%81%a8%e3%81%af" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.417（Quick Reference）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;ベクトルとは、向きと大きさを持った量を表す数学的な概念です。&#10;Python では、ベクトルを表す直接的な型はありません。&#10;ただし、Numpyの配列（&lt;code&gt;array&lt;/code&gt;）を用いることで、ベクトルを表現できます。&lt;/p&gt;</description></item><item><title>リストとタプル</title><link>https://ksubpb.github.io/2026/lesson01/list_and_tuple/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/list_and_tuple/</guid><description>&lt;h2 class="relative group"&gt;リスト（配列）&#10; &lt;div id="リスト配列" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%aa%e3%82%b9%e3%83%88%e9%85%8d%e5%88%97" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.94（Lesson 5）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;プログラムを書く上で、複数のデータをまとめて扱うことがよくあります。&#10;このような場合、コレクションと呼ばれるデータ構造を用います。&#10;コレクションには、リスト、セット、ディクショナリなどのデータ構造がありますが、ここではリストについて説明します。&lt;/p&gt;</description></item><item><title>関数(1/2) 関数の基礎</title><link>https://ksubpb.github.io/2026/lesson02/function/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/function/</guid><description>&lt;h2 class="relative group"&gt;関数とは&#10; &lt;div id="関数とは" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e9%96%a2%e6%95%b0%e3%81%a8%e3%81%af" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.163（Lesson 7）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;関数とは、処理の集まりに名前をつけたものです。&#10;何度も行う処理の集まりがあったときに、その処理を関数として定義しておくことで、同じ処理を何度も書く必要がなくなります。&lt;/p&gt;</description></item><item><title>決定木（Decision Tree）</title><link>https://ksubpb.github.io/2026/lesson09/decision_tree/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson09/decision_tree/</guid><description>学習データから構築したモデルを用いて、カテゴリ分けされた目的変数を予測します。</description></item><item><title>次元削減（Dimensionality Reduction）</title><link>https://ksubpb.github.io/2026/lesson10/dimensionality_reduction/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson10/dimensionality_reduction/</guid><description>データから基準を見つけ出し、データをいくつかのグループ（クラスタ）に分類します。</description></item><item><title>リストとタプルの操作</title><link>https://ksubpb.github.io/2026/lesson01/iterator/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/iterator/</guid><description>&lt;h2 class="relative group"&gt;繰り返し、イテレータ&#10; &lt;div id="繰り返しイテレータ" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%97%e3%82%a4%e3%83%86%e3%83%ac%e3%83%bc%e3%82%bf" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.101（Lesson 5）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;リストの要素を順に取り出す場合、&lt;code&gt;for&lt;/code&gt;文を用います。&#10;以下の文で、&lt;code&gt;リスト&lt;/code&gt;の各要素を順番に取り出し、&lt;code&gt;変数&lt;/code&gt;に代入して&lt;code&gt;処理&lt;/code&gt;を行います。&#10;このように順に処理できるような仕組みをイテラブル（iterable; 反復可能）と呼びます。&#10;ほとんどのコレクションはイテラブルであり、同じように &lt;code&gt;for&lt;/code&gt; 文で処理できます。&lt;/p&gt;</description></item><item><title>Flask</title><link>https://ksubpb.github.io/2026/supplemental/webapp/flask/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/flask/</guid><description>Flask は 小規模な Web アプリケーションを作るのに適している Python で人気のある Web フレームワークです。ここでは、Flask を用いて REST API を提供する Web アプリケーションを作成します。</description></item><item><title>行列</title><link>https://ksubpb.github.io/2026/lesson08/matrix/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/matrix/</guid><description>&lt;h2 class="relative group"&gt;行列（Matrix）とは&#10; &lt;div id="行列matrixとは" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%a1%8c%e5%88%97matrix%e3%81%a8%e3%81%af" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;行列は数学の概念で、数値を矩形状に並べたものです。&#10;行列はベクトルの拡張として考えることができます。&#10;ベクトルは1次元の配列でしたが、行列は2次元の配列です。&lt;/p&gt;</description></item><item><title>📈 データの可視化</title><link>https://ksubpb.github.io/2026/lesson08/charts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/charts/</guid><description>基本的なグラフの描画方法について学びます</description></item><item><title>Docker</title><link>https://ksubpb.github.io/2026/supplemental/webapp/docker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/docker/</guid><description>ここでは、コンテナ仮想化を提供するソフトウェアであるDockerを利用してみます。</description></item><item><title>Python スクリプトファイル</title><link>https://ksubpb.github.io/2026/supplemental/advanced/script/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/advanced/script/</guid><description>&lt;h3 class="relative group"&gt;&lt;code&gt;if __name__ == '__main__':&lt;/code&gt;&#10; &lt;div id="if-__name__--__main__" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#if-__name__--__main__" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;Pythonのスクリプトファイルの中に、このような文があることがあります。&#10;例えば、次のような Python スクリプトが &lt;code&gt;argv_printer2.py&lt;/code&gt; という名前で保存されているとします。&lt;/p&gt;</description></item><item><title>Python実行環境（DevContainer）</title><link>https://ksubpb.github.io/2026/common/devcontainer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/common/devcontainer/</guid><description>&lt;h2 class="relative group"&gt;🗣️ 概要&#10; &lt;div id="-概要" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#-%e6%a6%82%e8%a6%81" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;この方法は &lt;a href="https://code.visualstudio.com" target="_blank" rel="noreferrer"&gt;Visual Studio Code&lt;/a&gt;と&lt;a href="https://www.docker.com/ja-jp/products/docker-desktop/" target="_blank" rel="noreferrer"&gt;Docker&lt;/a&gt;を用いて開発を行います。&#10;Docker はビジネスで利用する場合には有料ですが、個人であれば、無料で利用できます。&#10;この方法を使ってのプログラミングの動作イメージは以下の通りです。&#10;画像をクリックすることで各ペイン（領域）の説明が表示されます。&lt;/p&gt;</description></item><item><title>コマンドライン引数</title><link>https://ksubpb.github.io/2026/lesson01/sys.argv/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/sys.argv/</guid><description>&lt;h3 class="relative group"&gt;コマンドライン引数&#10; &lt;div id="コマンドライン引数" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3%e5%bc%95%e6%95%b0" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;スクリプトモードでPythonのコードを実行する際に、コマンドライン引数を受け取ることができます。&#10;コマンドライン引数とは、Pythonスクリプトを実行するときにスクリプトの後ろに指定する引数のことです。&#10;例えば、&lt;code&gt;python3 script.py arg1 arg2&lt;/code&gt; のようにスクリプト名の後にスペース区切りで指定します。&lt;/p&gt;</description></item><item><title>Flask+Docker</title><link>https://ksubpb.github.io/2026/supplemental/webapp/flask_docker/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/flask_docker/</guid><description>これまでの内容をまとめて、Flask を Docker コンテナ上で動かしてみます。</description></item><item><title>テキストファイルフォーマット</title><link>https://ksubpb.github.io/2026/supplemental/advanced/format/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/advanced/format/</guid><description>&lt;h2 class="relative group"&gt;ファイルフォーマット&#10; &lt;div id="ファイルフォーマット" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%83%e3%83%88" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;プログラムを書いていると、テキスト形式の様々なフォーマットに出会います。&#10;その中でも、よく使われるファイルフォーマットを紹介します。&lt;/p&gt;</description></item><item><title>デコレータ</title><link>https://ksubpb.github.io/2026/supplemental/advanced/decorator/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/advanced/decorator/</guid><description>&lt;h2 class="relative group"&gt;デコレータ&#10; &lt;div id="デコレータ" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%87%e3%82%b3%e3%83%ac%e3%83%bc%e3%82%bf" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;span class="flex" style="cursor: pointer;"&gt;&#10; &lt;span class="rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400"&gt;&#10; 教科書 p.193（Lesson 7.5）&#10; &lt;/span&gt;&#10;&lt;/span&gt;&#10;&#10;&#10;&lt;p&gt;Python のデコレータとは、関数やメソッドを修飾するための機能です。&#10;デコレータは、関数を受け取り、関数を返すような関数です。&lt;/p&gt;</description></item><item><title>応用 郵便番号検索 REST API</title><link>https://ksubpb.github.io/2026/supplemental/webapp/zipcode_flask_rest/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/zipcode_flask_rest/</guid><description>これまでの内容の応用として、郵便番号を検索するサンプル REST アプリケーションを紹介します。</description></item><item><title>正規表現</title><link>https://ksubpb.github.io/2026/supplemental/advanced/regular_expression/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/advanced/regular_expression/</guid><description>&lt;h2 class="relative group"&gt;正規表現とは&#10; &lt;div id="正規表現とは" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e3%81%a8%e3%81%af" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;正規表現（regular expression; regex）は、&lt;strong&gt;文字列のパターンを表すための小さな言語&lt;/strong&gt; です。&#10;「数字が 3 つ、ハイフン、数字が 4 つ」のようなパターンを 1 つの文字列で書き、それが別の文字列に含まれているかを調べたり、含まれている部分を取り出したり、置き換えたりできます。&lt;/p&gt;</description></item><item><title>第01講 週次課題</title><link>https://ksubpb.github.io/2026/lesson01/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題01-1 Big&amp;amp;Small&#10; &lt;div id="課題01-1-bigsmall" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c01-1-bigsmall" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;1以上、10以下の整数乱数を取得し、その値が5以上なら Big、5未満なら Small と出力するプログラムを作成してください。&#10;プログラムは &lt;code&gt;big_small.py&lt;/code&gt; というファイル名で保存してください。&lt;/p&gt;</description></item><item><title>第02講 週次課題</title><link>https://ksubpb.github.io/2026/lesson02/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題02-1 単語数の分布&#10; &lt;div id="課題02-1-単語数の分布" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c02-1-%e5%8d%98%e8%aa%9e%e6%95%b0%e3%81%ae%e5%88%86%e5%b8%83" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;a href="../assets/alice_chapter01.txt" &gt;&lt;code&gt;alice_chapter01.txt&lt;/code&gt;&lt;/a&gt; は、ルイス・キャロルの「&lt;a href="https://www.gutenberg.org/files/11/11-h/11-h.htm" target="_blank" rel="noreferrer"&gt;不思議の国のアリス&lt;/a&gt;」の第01章のテキストファイルです。&#10;このファイルの単語の頻度を求めてください。&lt;/p&gt;</description></item><item><title>第03講 週次課題</title><link>https://ksubpb.github.io/2026/lesson03/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson03/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題03-1 デフォルト引数を持つ Hello World&#10; &lt;div id="課題03-1-デフォルト引数を持つ-hello-world" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c03-1-%e3%83%87%e3%83%95%e3%82%a9%e3%83%ab%e3%83%88%e5%bc%95%e6%95%b0%e3%82%92%e6%8c%81%e3%81%a4-hello-world" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;以下の条件を満たす関数 &lt;code&gt;hello&lt;/code&gt; を作成してください。&lt;/p&gt;</description></item><item><title>第04講 週次課題</title><link>https://ksubpb.github.io/2026/lesson04/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson04/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題04-1 コンビネーション&#10; &lt;div id="課題04-1-コンビネーション" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c04-1-%e3%82%b3%e3%83%b3%e3%83%93%e3%83%8d%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;\(n\)個の中から\(k\)個を選ぶ組み合わせの数を求めるコンビネーションを計算します。&#10;コンビネーションは以下の式で求められます。&lt;/p&gt;</description></item><item><title>第05講 週次課題</title><link>https://ksubpb.github.io/2026/lesson05/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson05/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題05-1 特定の名前のファイルを見つける&#10; &lt;div id="課題05-1-特定の名前のファイルを見つける" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c05-1-%e7%89%b9%e5%ae%9a%e3%81%ae%e5%90%8d%e5%89%8d%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%82%8b" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;コマンドライン引数でファイル名と、ディレクトリ名もしくはファイル名が与えられます。&#10;コマンドライン引数で最初に与えられた名前を持つファイルを再帰的に探索し、そのファイルが見つかったらそのパスを表示するプログラムを作成してください。&lt;/p&gt;</description></item><item><title>第06講 週次課題</title><link>https://ksubpb.github.io/2026/lesson06/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson06/assignments/</guid><description>Stack, RingBuffer</description></item><item><title>第07講 週次課題</title><link>https://ksubpb.github.io/2026/lesson07/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson07/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題07-1 点と線分&#10; &lt;div id="課題07-1-点と線分" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c07-1-%e7%82%b9%e3%81%a8%e7%b7%9a%e5%88%86" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;点（&lt;code&gt;Point&lt;/code&gt;）と線分（&lt;code&gt;Line&lt;/code&gt;）を表す2つのクラスを作成してください。&lt;/p&gt;</description></item><item><title>第08講 週次課題</title><link>https://ksubpb.github.io/2026/lesson08/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/assignments/</guid><description>&lt;h2 class="relative group"&gt;課題08-1 文字列の類似度&#10; &lt;div id="課題08-1-文字列の類似度" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%aa%b2%e9%a1%8c08-1-%e6%96%87%e5%ad%97%e5%88%97%e3%81%ae%e9%a1%9e%e4%bc%bc%e5%ba%a6" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;与えられた文字列同士の類似度を求めるプログラムを作成してください。&#10;文字列同士の類似度は、各文字の出現頻度をベクトルとして表し、そのベクトル間のコサイン類似度で求めます。&#10;文字は全て小文字とし、アルファベット以外の文字は無視してください。&#10;ファイル名は &lt;code&gt;string_similarity.py&lt;/code&gt; としてください。&lt;/p&gt;</description></item><item><title>第09講 週次課題</title><link>https://ksubpb.github.io/2026/lesson09/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson09/assignments/</guid><description>気温予測、犬猫判定</description></item><item><title>第10講 週次課題</title><link>https://ksubpb.github.io/2026/lesson10/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson10/assignments/</guid><description>特徴量の尺度とクラスタリング、ワインのクラスタリング（任意）</description></item><item><title>補講02講 週次課題</title><link>https://ksubpb.github.io/2026/supplemental/webapp/assignments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/assignments/</guid><description>&lt;h2 class="relative group"&gt;補講02-1 平方根 REST API&#10; &lt;div id="補講02-1-平方根-rest-api" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e8%a3%9c%e8%ac%9b02-1-%e5%b9%b3%e6%96%b9%e6%a0%b9-rest-api" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;div class="flex mt-2"&gt;&#10; &lt;span&#10; class="rounded-full bg-primary-500 dark:bg-primary-400 text-neutral-50 dark:text-neutral-800 px-1.5 py-[1px] text-xs font-normal"&gt;&#10; &lt;span class="flex flex-row items-center"&gt;&lt;span class="mr-1"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&lt;path fill="currentColor" d="M112.1 454.3c0 6.297 1.816 12.44 5.284 17.69l17.14 25.69c5.25 7.875 17.17 14.28 26.64 14.28h61.67c9.438 0 21.36-6.401 26.61-14.28l17.08-25.68c2.938-4.438 5.348-12.37 5.348-17.7L272 415.1h-160L112.1 454.3zM191.4 .0132C89.44 .3257 16 82.97 16 175.1c0 44.38 16.44 84.84 43.56 115.8c16.53 18.84 42.34 58.23 52.22 91.45c.0313 .25 .0938 .5166 .125 .7823h160.2c.0313-.2656 .0938-.5166 .125-.7823c9.875-33.22 35.69-72.61 52.22-91.45C351.6 260.8 368 220.4 368 175.1C368 78.61 288.9-.2837 191.4 .0132zM192 96.01c-44.13 0-80 35.89-80 79.1C112 184.8 104.8 192 96 192S80 184.8 80 176c0-61.76 50.25-111.1 112-111.1c8.844 0 16 7.159 16 16S200.8 96.01 192 96.01z"/&gt;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;難易度 ⭐&lt;/span&gt;&#10; &lt;/span&gt;&#10; &lt;/span&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;パスパラメータで数値を受け取り、その平方根を返す REST API を作成してください。&#10;&lt;code&gt;/sqrt/&amp;lt;num&amp;gt;&lt;/code&gt; で &lt;code&gt;num&lt;/code&gt; の平方根（&lt;code&gt;math.sqrt&lt;/code&gt;で求められます）を返します。&#10;&lt;code&gt;num&lt;/code&gt; は &lt;code&gt;float&lt;/code&gt; 型で受け取ってください。&#10;もし、&lt;code&gt;num&lt;/code&gt;が負の数の場合は、&lt;code&gt;400&lt;/code&gt; のステータスコードを返してください。&lt;/p&gt;</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson01/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson01/summary/</guid><description>まとめ（基本文法（コメント、型、変数、条件分岐、繰り返し）ファイルの読み書き）</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson02/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson02/summary/</guid><description>まとめ（データ構造　セット、ディクショナリ、関数の基礎）</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson03/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson03/summary/</guid><description>まとめ（高度な引数の扱い、変数のスコープ、assert文によるテスト）</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson04/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson04/summary/</guid><description>&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../recursive/#%E5%86%8D%E5%B8%B0%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97" &gt;再帰呼び出し&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../recursive/#%E5%86%8D%E5%B8%B0%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%AE%E4%BE%8B-1-%E9%9A%8E%E4%B9%97" &gt;再帰呼び出しの例 1: 階乗&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../recursive/#%E5%9F%BA%E5%BA%95%E6%9D%A1%E4%BB%B6%E3%81%A8%E5%86%8D%E5%B8%B0%E6%9D%A1%E4%BB%B6" &gt;基底条件と再帰条件&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../recursive/#%E5%86%8D%E5%B8%B0%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%AE%E3%82%B7%E3%83%9F%E3%83%A5%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3" &gt;再帰呼び出しのシミュレーション&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../recursive/#%E5%86%8D%E5%B8%B0%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%AE%E4%BE%8B-2-%E3%83%AA%E3%82%B9%E3%83%88%E3%81%AE%E5%90%88%E8%A8%88" &gt;再帰呼び出しの例 2: リストの合計&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../practice" &gt;再帰の練習&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../practice/#%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97%E3%81%AE%E6%A7%98%E5%AD%90%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%99%E3%82%8B" &gt;呼び出しの様子を表示する&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../practice/#%E5%A3%8A%E3%82%8C%E3%81%9F%E5%86%8D%E5%B8%B0%E3%82%92%E7%9B%B4%E3%81%99" &gt;壊れた再帰を直す&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../practice/#%E5%86%8D%E5%B8%B0%E3%81%8C%E6%AD%A2%E3%81%BE%E3%82%89%E3%81%AA%E3%81%84%E3%81%A8%E3%81%8D%E3%81%AE%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF%E3%83%AA%E3%82%B9%E3%83%88" &gt;再帰が止まらないときのチェックリスト&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../practice/#%E3%82%84%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86-%E3%83%AA%E3%82%B9%E3%83%88%E3%81%AE%E6%9C%80%E5%A4%A7%E5%80%A4" &gt;やってみよう: リストの最大値&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson05/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson05/summary/</guid><description>&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../traverse" &gt;ディレクトリ構造の探索&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../traverse/#%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E5%86%85%E3%81%AE%E6%8E%A2%E7%B4%A2" &gt;ディレクトリ内の探索&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../traverse/#oslistdir" &gt;&lt;code&gt;os.listdir&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../traverse/#%E4%BE%8B%E9%A1%8C%E6%8C%87%E5%AE%9A%E3%81%95%E3%82%8C%E3%81%9F%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E4%BB%A5%E4%B8%8B%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E6%95%B0%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3%83%AA%E6%95%B0" &gt;例題　指定されたディレクトリ以下のファイル数、ディレクトリ数&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../binary_search" &gt;二分探索&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../binary_search/#%E4%BA%8C%E5%88%86%E6%8E%A2%E7%B4%A2%E3%81%AE%E4%BE%8B" &gt;二分探索の例&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson06/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson06/summary/</guid><description>&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../class_definition" &gt;クラス定義&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#%E3%82%AF%E3%83%A9%E3%82%B9%E3%81%A8%E3%81%AF" &gt;クラスとは&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#%E3%82%AF%E3%83%A9%E3%82%B9%E3%82%92%E5%AE%9A%E7%BE%A9%E3%81%99%E3%82%8B" &gt;クラスを定義する&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#%E3%82%AF%E3%83%A9%E3%82%B9%E5%88%A9%E7%94%A8%E3%81%AE%E4%BE%8B" &gt;クラス利用の例&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#%E3%83%89%E3%83%83%E3%83%88%E8%A8%98%E6%B3%95" &gt;ドット記法&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#%E8%A4%87%E6%95%B0%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%B3%E3%82%B9multiple-instances" &gt;複数のインスタンス（Multiple Instances）&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#%E3%82%84%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86-%E3%83%A1%E3%82%BD%E3%83%83%E3%83%89%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B" &gt;やってみよう: メソッドを追加する&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../class_definition/#self" &gt;&lt;code&gt;self&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../constructor" &gt;コンストラクタ&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="../constructor/#%E3%82%B3%E3%83%B3%E3%82%B9%E3%83%88%E3%83%A9%E3%82%AF%E3%82%BF" &gt;コンストラクタとは&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../constructor/#%E4%BE%8B%E9%A1%8C1-%E8%A8%98%E5%BF%B5%E6%97%A5%E3%82%AF%E3%83%A9%E3%82%B9" &gt;例題1. 記念日クラス&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="../constructor/#%E4%BE%8B%E9%A1%8C2-%E4%B8%89%E8%A7%92%E5%BD%A2%E3%82%AF%E3%83%A9%E3%82%B9" &gt;例題2. 三角形クラス&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson07/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson07/summary/</guid><description>特殊なメソッド、モジュール、カプセル化</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson08/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson08/summary/</guid><description>機械学習の基礎、統計指標、データの可視化（グラフ描画）</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson09/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson09/summary/</guid><description>教師あり学習（回帰、分類）, scikit-learn, 線形回帰, 決定木</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/lesson10/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/lesson10/summary/</guid><description>教師なし学習, クラスタリング（k平均法、階層的クラスタリング）, 次元削減</description></item><item><title>まとめ</title><link>https://ksubpb.github.io/2026/supplemental/webapp/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/summary/</guid><description>HTTP, Flask, Docker, Flask+Docker, 応用 郵便番号検索 REST API</description></item><item><title>用語集</title><link>https://ksubpb.github.io/2026/common/glossary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/common/glossary/</guid><description>&lt;h2 class="relative group"&gt;用語集&#10; &lt;div id="用語集" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e7%94%a8%e8%aa%9e%e9%9b%86" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;演算子&lt;/strong&gt;（operator）: 演算を行うための記号。例えば、&lt;code&gt;+&lt;/code&gt;、&lt;code&gt;-&lt;/code&gt;、&lt;code&gt;*&lt;/code&gt;、&lt;code&gt;/&lt;/code&gt; など。&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;被演算子&lt;/strong&gt;（operand）: 演算子によって操作される値。例えば、&lt;code&gt;1 + 2&lt;/code&gt; において、&lt;code&gt;1&lt;/code&gt; と &lt;code&gt;2&lt;/code&gt; が被演算子である。&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;関数&lt;/strong&gt;（function）: 処理の集まりに名前をつけたもの。何度も行う処理の集まりがあったときに、その処理を関数として定義しておくことで、同じ処理を何度も書く必要がなくなる。&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;返り値&lt;/strong&gt;（return value）: 関数が処理を終えた後に呼び出し元に返す値。&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;実引数&lt;/strong&gt;（argument）: 関数に渡す値。&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;仮引数&lt;/strong&gt;（parameter）: 関数に渡された値を受け取る変数。&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title/><link>https://ksubpb.github.io/2026/syllabus/</link><pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/syllabus/</guid><description>&lt;h1 class="relative group"&gt;プログラミング演習B シラバス&#10; &lt;div id="プログラミング演習b-シラバス" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e6%bc%94%e7%bf%92b-%e3%82%b7%e3%83%a9%e3%83%90%e3%82%b9" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h1&gt;&#10;&#10;&lt;h2 class="relative group"&gt;授業概要&#10; &lt;div id="授業概要" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e6%8e%88%e6%a5%ad%e6%a6%82%e8%a6%81" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;本演習はプログラミング演習Aに引き続き、Pythonによるプログラミングの演習を行う。&#10;新しく導入される主要事項は関数の概念（引数、返り値、スコープ）、再帰、クラスである。これらにより、実用的かつ大規模なプログラムの実装が可能になる。&lt;/p&gt;</description></item><item><title>ℹ️ FAQ</title><link>https://ksubpb.github.io/2026/faq/</link><pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/faq/</guid><description>&lt;p&gt;よくある質問をまとめています。&#10;ここにない質問は、&lt;a href="https://teams.microsoft.com/l/team/19%3AAgEctpsNQeo-DCMRh4qYwapXdZyAS1dkDzHt9qHKHWc1%40thread.tacv2/conversations?groupId=d4ecec7f-39af-434b-b5e5-84baba2cd3a8&amp;amp;tenantId=1e0b6cc8-2a42-4cfe-9691-298635579a2b" target="_blank" rel="noreferrer"&gt;Microsoft Teams&lt;/a&gt; で聞いてください。&#10;同じ質問が多ければ、ここに追加していきます。&lt;/p&gt;</description></item><item><title>この科目について</title><link>https://ksubpb.github.io/2026/about/</link><pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/about/</guid><description>&lt;h2 class="relative group"&gt;位置付け&#10; &lt;div id="位置付け" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#%e4%bd%8d%e7%bd%ae%e4%bb%98%e3%81%91" aria-label="アンカー"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;本学部では最初の３セメスターでプログラミング演習が必修科目として設けられています。&lt;/p&gt;</description></item><item><title/><link>https://ksubpb.github.io/2026/supplemental/webapp/assets/hello/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://ksubpb.github.io/2026/supplemental/webapp/assets/hello/</guid><description>&lt;!DOCTYPE html&gt;&#10;&#10;&lt;html lang="ja"&gt;&#10; &lt;head&gt;&#10; &lt;meta charset="UTF-8"&gt;&#10; &lt;title&gt;Hello&lt;/title&gt;&#10; &lt;/head&gt;&#10; &lt;body&gt;&#10; &lt;section&gt;&#10; &lt;h1&gt;Hello, World!&lt;/h1&gt;&#10; &lt;p&gt;&#10; これはサンプルWebページです。&#10; &lt;/p&gt;</description></item></channel></rss>