220 Star 945 Fork 693

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mindflow.data.ExistedDataConfig.rst 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
luojianing 提交于 2023-04-14 17:28 +08:00 . add ` for values in docs

mindflow.data.ExistedDataConfig

.. py:class:: mindflow.data.ExistedDataConfig(name, data_dir, columns_list, data_format="npy", constraint_type="Label", random_merge=True)

    设置ExistedDataset的参数。

    参数:
        - **name** (str) - 指定数据集的名称。
        - **data_dir** (Union[str, list, tuple]) - 已存在数据文件的路径。
        - **columns_list** (Union[str, list, tuple]) - 数据集的列名列表。
        - **data_format** (str, 可选) - 现有数据文件的格式,默认值: ``"npy"``。目前支持 ``"npy"`` 的格式。
        - **constraint_type** (str, 可选) - 指定创建的数据集的约束类型,默认值: ``"Label"``。
        - **random_merge** (bool, 可选) - 指定是否随机合并给定数据集,默认值: ``True``。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
r0.7

搜索帮助