mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
moving files
This commit is contained in:
parent
d7ab4d315d
commit
c8da839afe
38 changed files with 27 additions and 1022 deletions
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# @Time : 2023/11/17 10:24
|
||||
# @Author : lidanyang
|
||||
# @File : __init__.py
|
||||
# @Desc :
|
||||
|
|
@ -5,7 +5,7 @@ import numpy.testing as npt
|
|||
import pandas as pd
|
||||
import pytest
|
||||
|
||||
from metagpt.tools.functions.libs.data_preprocess import (
|
||||
from metagpt.tools.libs.data_preprocess import (
|
||||
FillMissingValue,
|
||||
LabelEncode,
|
||||
MaxAbsScale,
|
||||
|
|
@ -3,7 +3,7 @@ import pandas as pd
|
|||
import pytest
|
||||
from sklearn.datasets import fetch_california_housing, load_breast_cancer, load_iris
|
||||
|
||||
from metagpt.tools.functions.libs.feature_engineering import (
|
||||
from metagpt.tools.libs.feature_engineering import (
|
||||
CatCount,
|
||||
CatCross,
|
||||
ExtractTimeComps,
|
||||
|
|
@ -147,6 +147,7 @@ def test_general_selection(mock_dataset):
|
|||
assert "cat2" not in transformed.columns
|
||||
|
||||
|
||||
@pytest.mark.skip # skip because TreeBasedSelection needs lgb as dependency
|
||||
def test_tree_based_selection(mock_dataset):
|
||||
# regression
|
||||
data = load_sklearn_data("housing")
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
# @Desc :
|
||||
import pytest
|
||||
|
||||
from metagpt.tools.sd_engine import SDEngine
|
||||
from metagpt.tools.libs.sd_engine import SDEngine
|
||||
|
||||
|
||||
def test_sd_tools():
|
||||
|
|
@ -3,7 +3,7 @@ import json
|
|||
import yaml
|
||||
|
||||
from metagpt.logs import logger
|
||||
from metagpt.tools.functions.libs.udf import UDFS, UDFS_YAML, docstring_to_yaml
|
||||
from metagpt.tools.libs.udf import UDFS, UDFS_YAML, docstring_to_yaml
|
||||
|
||||
|
||||
def test_udfs():
|
||||
Loading…
Add table
Add a link
Reference in a new issue