torch_frame.datasets.FakeDataset
- class FakeDataset(num_rows: int, with_nan: bool = False, stypes: list[stype] = [<stype.categorical: 'categorical'>, <stype.numerical: 'numerical'>], create_split: bool = False, task_type: TaskType = TaskType.REGRESSION, col_to_text_embedder_cfg: dict[str, TextEmbedderConfig] | TextEmbedderConfig | None = None, col_to_text_tokenizer_cfg: dict[str, TextTokenizerConfig] | TextTokenizerConfig | None = None, col_to_image_embedder_cfg: dict[str, ImageEmbedderConfig] | ImageEmbedderConfig | None = None, tmp_path: str | None = None)[来源]
基础类:
Dataset用于测试目的的假数据集。