py4project 0.1.0__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ # 変更履歴
2
+
3
+ ## 0.2.0(2026-09-05)
4
+
5
+ ### 破壊的変更
6
+
7
+ - `regression` を scipy から statsmodels ベースに変更し、戻り値として結果オブジェクト
8
+ `RegressionResult` を返すようにした。Colab のセルの最後に置くと結果表が表示される。
9
+ - 全関数で引数の順番を `(x, y, data)` に統一した。
10
+ - `regression_plot` の `ols_res` をキーワード専用引数にした。
11
+ - `regression_plot` と `scatter_plot` の既定値を `text=False`、`text_col=None` に変更した。
12
+ `text=True` にする場合は `text_col` の指定が必要。
13
+
14
+ ### 追加
15
+
16
+ - `regression` に `robust`(HC3 標準誤差)、`alpha`(有意水準)、`stars`(有意性の星印)を追加。
17
+ - `regression` の `x` にリストを渡せるようにし、重回帰に対応した。
18
+ - `regression_plot` に `robust` を追加し、`regression` と揃えた。
19
+ - `regression_plot` に `ols_res` を追加。`regression` の結果を渡すと、再推定せずにその結果で作図する。
20
+
21
+ ### 修正
22
+
23
+ - `regression_plot` で `title=''` を渡すと回帰直線が描かれなかった問題を修正。
24
+ - `regression_plot` に `ols_res` を渡したとき、タイトルの変数名が `None` と表示される問題を修正。
25
+ 推定結果の endog / exog 名を使うようにした。
26
+ - 数値の列を `text_col` に指定すると `IndexError` になる問題を修正。
27
+ - エラーメッセージを全関数で【エラー】形式の日本語に統一した。
28
+
29
+ ### その他
30
+
31
+ - 依存に `statsmodels` を追加し、`scipy` への直接依存をなくした。
32
+ - テストを、表示される文字列ではなく戻り値の数値を検証する方式に変更した。
33
+
34
+ ## 0.1.0(2026-08-31)
35
+
36
+ - 初回リリース。`regression`、`regression_plot`、`scatter_plot`、`bar_plot`、`box_plot` を収録。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: py4project
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: 授業用回帰分析・散布図・バープロット・ボックスプロットのユーティリティ
5
5
  Project-URL: Homepage, https://github.com/Py4Project/py4project
6
6
  Project-URL: Repository, https://github.com/Py4Project/py4project
@@ -19,7 +19,7 @@ Requires-Dist: japanize-matplotlib-jlite
19
19
  Requires-Dist: matplotlib>=3.9
20
20
  Requires-Dist: numpy
21
21
  Requires-Dist: pandas
22
- Requires-Dist: scipy
22
+ Requires-Dist: statsmodels
23
23
  Description-Content-Type: text/markdown
24
24
 
25
25
  # py4project