# pytorch extension for [pandas-ml-utils][ghl1]
Adds a `PytorchModel` to the pandas ml utils suite. While a regular class extending `nn.Module` is sufficient,
there is also a special class `PytorchNN` which can be extended as well. Using this class has the following
advantages:
* allows to use L1, L2 regularization -> [example][ghl2]
* allows different forward path for training and prediction (useful i.e. for reparameterization trick) -> [example][ghl3]
* allows to implement auto-encoders easily by just providing the encode/decode functions
* added loss functions like `SoftDTW` (fit time series) loss or `HeteroscedasticityLoss` (fit Normal Distribution) -> [example][ghl3]
<br/><br/>
![Fitting Example][ghi1]
[ghl1]: https://github.com/KIC/pandas-ml-quant/tree/0.2.7/pandas-ml-utils-torch/../pandas-ml-utils
[ghl2]: https://github.com/KIC/pandas-ml-quant/tree/0.2.7/pandas-ml-utils-torch/./examples/regression_with_regularization.ipynb
[ghl3]: https://github.com/KIC/pandas-ml-quant/tree/0.2.7/pandas-ml-utils-torch/./examples/probabilistic_model.ipynb
[ghi1]: https://github.com/KIC/pandas-ml-quant/raw/0.2.7/pandas-ml-utils-torch/../.readme/videos/probabilistic-model-fit.gif
没有合适的资源?快使用搜索试试~ 我知道了~
pandas-ml-utils-torch-0.2.7.tar.gz
需积分: 1 0 下载量 129 浏览量
2024-03-07
12:44:46
上传
评论
收藏 46KB GZ 举报
温馨提示
共70个文件
py:32个
pyc:24个
txt:9个
Python库是一组预先编写的代码模块,旨在帮助开发者实现特定的编程任务,无需从零开始编写代码。这些库可以包括各种功能,如数学运算、文件操作、数据分析和网络编程等。Python社区提供了大量的第三方库,如NumPy、Pandas和Requests,极大地丰富了Python的应用领域,从数据科学到Web开发。Python库的丰富性是Python成为最受欢迎的编程语言之一的关键原因之一。这些库不仅为初学者提供了快速入门的途径,而且为经验丰富的开发者提供了强大的工具,以高效率、高质量地完成复杂任务。例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
资源推荐
资源详情
资源评论
收起资源包目录
pandas-ml-utils-torch-0.2.7.tar.gz (70个子文件)
pandas-ml-utils-torch-0.2.7
noxfile.py 2KB
setup.py 2KB
PKG-INFO 2KB
pandas_ml_utils_torch
utils.py 2KB
__init__.py 313B
loss
__init__.py 265B
simple_losses.py 2KB
soft_dtw.py 3KB
_loss_utils.py 374B
classificaion.py 2KB
__pycache__
classificaion.cpython-38.pyc 3KB
_loss_utils.cpython-38.pyc 543B
simple_losses.cpython-38.pyc 3KB
soft_dtw.cpython-38.pyc 4KB
classificaion.cpython-37.pyc 3KB
probabilistic.cpython-37.pyc 1KB
simple_losses.cpython-37.pyc 3KB
__init__.cpython-37.pyc 511B
probabilistic.cpython-38.pyc 2KB
soft_dtw.cpython-37.pyc 4KB
__init__.cpython-38.pyc 541B
probabilistic.py 2KB
distribution.py 2KB
layers.py 4KB
merging_cross_folds.py 1KB
pytorch_base.py 9KB
__pycache__
distribution.cpython-38.pyc 2KB
pytorch_model.cpython-37.pyc 6KB
layers.cpython-37.pyc 4KB
pytorch_base.cpython-38.pyc 10KB
pytorch_model.cpython-38.pyc 6KB
merging_cross_folds.cpython-38.pyc 1KB
utils.cpython-38.pyc 2KB
merging_cross_folds.cpython-37.pyc 799B
__init__.cpython-37.pyc 513B
utils.cpython-37.pyc 1KB
pytorch_base.cpython-37.pyc 8KB
layers.cpython-38.pyc 5KB
__init__.cpython-38.pyc 631B
pytorch_model.py 5KB
pandas_ml_utils_torch_test
test_multiple_feature_sets.py 2KB
__init__.py 0B
test_merge_folds.py 852B
test_utils.py 3KB
check_links.py 173B
test_pytochmodel_accuracy.py 3KB
test_distribution.py 266B
test_probabilistic_model.py 4KB
test_layer.py 2KB
test_save_and_load.py 4KB
test_pytorch_base.py 3KB
test_custom_loss.py 6KB
test_notebooks.py 350B
test_loss.py 5KB
test_pytorch_model.py 4KB
scratch.py 2KB
test_cross_folding.py 2KB
requirements.frozen.txt 39B
pandas_ml_utils_torch.egg-info
SOURCES.txt 3KB
top_level.txt 49B
PKG-INFO 2KB
requires.txt 189B
dependency_links.txt 1B
licence.txt 1KB
requirements.txt 19B
dev-requirements.txt 52B
MANIFEST.in 52B
setup.cfg 79B
Readme.md 1KB
dev-requirements.frozen.txt 94B
共 70 条
- 1
资源评论
程序员Chino的日记
- 粉丝: 2875
- 资源: 4万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功