sklearn套索会自动并行运行吗?

2024-05-23 17:50:50 发布

您现在位置:Python中文网/ 问答频道 /正文

我想用sklearn.linear_model.Lasso模块并行运行套索回归。在

我用于提交作业的bash脚本如下所示

#!/bin/bash
#SBATCH --partition=the_partition
#SBATCH --nodes=2
#SBATCH --ntasks=56
python lasso_script.py

lasso_script.py中的相关部分是

^{pr2}$

如果我用脚本提交作业,套索回归会自动并行运行吗?在


Tags: 模块py脚本bashmodelbin作业script