mlr3torch: 基于mlr3和torch的深度学习框架
mlr3torch: A Deep Learning Framework in R based on mlr3 and torch
AI总结:
本文介绍mlr3torch框架,基于mlr3生态系统构建,简化了神经网络的定义、训练和评估,支持表格数据和通用张量,提供预定义架构和图形化建模流程。
摘要:
深度学习(DL)已成为现代机器学习(ML)实践的基石。我们介绍了R包mlr3torch,这是一个可扩展的DL框架,基于mlr3生态系统。它基于torch包构建,简化了表格数据和通用张量(如图像)的神经网络定义、训练和评估,用于分类和回归。该包实现了预定义的架构,torch模型可以轻松转换为mlr3学习器。它还允许用户以图形方式定义神经网络。这种表示基于mlr3pipelines中定义的图语言,允许用户在单个图中定义整个建模流程,包括预处理、数据增强和网络架构。通过将其集成到mlr3生态系统中,该包允许方便的重采样、基准测试、预处理等。我们解释了该包的设计和功能,并展示了如何自定义和扩展它以解决新问题。此外,我们通过三个用例演示了该包的能力:超参数调优、微调和多模态数据的架构定义。最后,我们展示了一些运行时基准测试。
英文摘要:
Deep learning (DL) has become a cornerstone of modern machine learning (ML) praxis. We introduce the R package mlr3torch, which is an extensible DL framework for the mlr3 ecosystem. It is built upon the torch package, and simplifies the definition, training, and evaluation of neural networks for both tabular data and generic tensors (e.g., images) for classification and regression. The package implements predefined architectures, and torch models can easily be converted to mlr3 learners. It also allows users to define neural networks as graphs. This representation is based on the graph language defined in mlr3pipelines and allows users to define the entire modeling workflow, including preprocessing, data augmentation, and network architecture, in a single graph. Through its integration into the mlr3 ecosystem, the package allows for convenient resampling, benchmarking, preprocessing, and more. We explain the package's design and features and show how to customize and extend it to new problems. Furthermore, we demonstrate the package's capabilities using three use cases, namely hyperparameter tuning, fine-tuning, and defining architectures for multimodal data. Finally, we present some runtime benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。