bongsang
A collection of statistics and machine learning libraries developed by Bongsang Kim, including a linear regression class similar to R's lm function.
Installation
pip install bongsang
## Accessing Sample Datasets
The `bongsang.datasets` subpackage provides sample datasets for easy experimentation.
### Example:
```python
from bongsang.datasets import load_house
# Load the house dataset
df = load_house()
# Now you can use df with the LM class
from bongsang import lm
X = df[['size']]
y = df['price']
model = lm.LM(X, y)
model.fit()
model.summary()
model.plot()
==============================================================
Linear Regression Summary
X features: ['size']
y target: price
______________________________________________________________
Residuals:
Min 1Q Median 3Q Max
-49.388 -27.388 -6.388 29.577 64.333
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 98.24833 58.03348 1.693 0.1289
size 0.10977 0.03297 3.329 0.0104 *
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 41.33 on 8 degrees of freedom
Multiple R-squared: 0.5808, Adjusted R-squared: 0.5284
F-statistic: 11.08 on 1 and 8 DF, p-value: 0.01039
==============================================================
Metadata
Release files for bongsang 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bongsang-0.1.5.tar.gz | 5.3 kB | Without provenance | Details for bongsang-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bongsang-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for bongsang-0.1.5-py3-none-any.whl |
Total release size: 10.9 kB
Release files / bongsang-0.1.5.tar.gz
| Download URL | bongsang-0.1.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abcc07b31365feadb8979f5fdea8e545602ee464d13ac364298341fae3596bcf
|
|
BLAKE2b-256 checksum How to use checksums |
20e52703e5da894c086e85bc391d984f3fe222cb55c86544a654d8778029c039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / bongsang-0.1.5-py3-none-any.whl
| Download URL | bongsang-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d76ad18ed35affe2c5d6bd142e309dfc867a47ed50a441046fdf62a63a22e63
|
|
BLAKE2b-256 checksum How to use checksums |
abdf8fcfc2c7953b6c11042b1ff272d45e6bd3db41bc0e47c7c86838c57cdbc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Security for bongsang 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.