diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 3e5f0a0eaa..b16944d32f 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -11,10 +11,13 @@ jobs: name: Detect changes runs-on: ubuntu-latest outputs: + cpp_boosting: ${{ steps.filter.outputs.cpp_boosting }} + cpp_seco: ${{ steps.filter.outputs.cpp_seco }} cpp: ${{ steps.filter.outputs.cpp }} cpp_tests: ${{ steps.filter.outputs.cpp_tests }} - python: ${{ steps.filter.outputs.python }} python_tests: ${{ steps.filter.outputs.python_tests }} + tests_boosting: ${{ steps.filter.outputs.tests_boosting }} + tests_seco: ${{ steps.filter.outputs.tests_seco }} any: ${{ steps.filter.outputs.any }} steps: - name: Look up Git repository in cache @@ -38,34 +41,83 @@ jobs: - 'build_system/main.py' - 'build_system/core/**' - 'build_system/util/**' - - 'build_system/targets/paths.py' + - 'build_system/targets/*.py' - 'build_system/targets/compilation/*' - 'build_system/targets/testing/*' - cpp: &cpp + cpp_common: &cpp_common - *build_files - 'build_system/targets/compilation/cpp/*' + - 'cpp/**/meson.*' + - 'cpp/subprojects/common/include/**' + - 'cpp/subprojects/common/src/**' + cpp_boosting: &cpp_boosting + - *cpp_common + - 'cpp/subprojects/boosting/include/**' + - 'cpp/subprojects/boosting/src/**' + cpp_seco: &cpp_seco + - *cpp_common + - 'cpp/subprojects/seco/include/**' + - 'cpp/subprojects/seco/src/**' + cpp: + - *cpp_boosting + - *cpp_seco + cpp_tests_common: &cpp_tests_common + - *cpp_common - 'build_system/targets/testing/cpp/*' - - 'cpp/**/include/**' - - 'cpp/**/src/**' - - '**/*.pxd' - - '**/*.pyx' - - '**/meson.build' - cpp_tests: &cpp_tests - - *cpp - - 'cpp/**/test/**' - python: &python - - *build_files + - 'cpp/subprojects/common/test/**' + cpp_tests_boosting: &cpp_tests_boosting + - *cpp_tests_common + - *cpp_boosting + - 'cpp/subprojects/boosting/test/**' + cpp_tests_seco: &cpp_tests_seco + - *cpp_tests_common + - *cpp_seco + - 'cpp/subprojects/seco/test/**' + cpp_tests: + - *cpp_tests_boosting + - *cpp_tests_seco + python_tests_common: &python_tests_common + - *cpp_tests_common - 'build_system/targets/compilation/cython/*' - 'build_system/targets/testing/python/*' - - 'python/**/requirements.txt' - - 'python/**/mlrl/**' - python_tests: &python_tests - - *python - - *cpp_tests - - 'python/**/tests/**' + - 'python/**/meson.*' + - 'python/subprojects/common/pyproject.toml' + - 'python/subprojects/common/requirements.txt' + - 'python/subprojects/common/setup.py' + - 'python/subprojects/common/mlrl/**' + - 'python/subprojects/testbed/pyproject.toml' + - 'python/subprojects/testbed/requirements.txt' + - 'python/subprojects/testbed/setup.py' + - 'python/subprojects/testbed/mlrl/**' + - 'python/tests/mlrl/common/**' + python_tests_boosting: &python_tests_boosting + - *python_tests_common + - *cpp_tests_boosting + - 'python/subprojects/boosting/pyproject.toml' + - 'python/subprojects/boosting/requirements.txt' + - 'python/subprojects/boosting/setup.py' + - 'python/subprojects/boosting/mlrl/**' + - 'python/tests/mlrl/boosting/**' + python_tests_seco: &python_tests_seco + - *python_tests_common + - *cpp_tests_seco + - 'python/subprojects/seco/pyproject.toml' + - 'python/subprojects/seco/requirements.txt' + - 'python/subprojects/seco/setup.py' + - 'python/subprojects/seco/mlrl/**' + - 'python/tests/mlrl/seco/**' + python_tests: + - *python_tests_boosting + - *python_tests_seco + tests_boosting: &tests_boosting + - *cpp_tests_boosting + - *python_tests_boosting + tests_seco: &tests_seco + - *cpp_tests_seco + - *python_tests_seco any: - - *cpp_tests - - *python_tests + - *tests_boosting + - *tests_seco - name: Save Git repository to cache uses: actions/cache/save@v4 if: success() || failure() @@ -101,12 +153,18 @@ jobs: uses: hendrikmuhs/ccache-action@v1 with: key: ${{ runner.os }}-test-build-ccache + - name: Include subproject "boosting" + if: ${{ needs.changes.outputs.tests_boosting == 'true' }} + run: echo "INCLUDED_PROJECTS=$(echo "${INCLUDED_PROJECTS}boosting,")" >> $GITHUB_ENV + - name: Include subproject "seco" + if: ${{ needs.changes.outputs.tests_seco == 'true' }} + run: echo "INCLUDED_PROJECTS=$(echo "${INCLUDED_PROJECTS}seco,")" >> $GITHUB_ENV - name: Compile via GCC - if: ${{ needs.changes.outputs.cpp == 'true' }} - run: TEST_SUPPORT=enabled ./build compile_cpp + if: ${{ needs.changes.outputs.any == 'true' }} + run: SUBPROJECTS=$INCLUDED_PROJECTS TEST_SUPPORT=enabled ./build compile_cpp - name: Test C++ code if: ${{ needs.changes.outputs.cpp_tests == 'true' }} - run: ./build tests_cpp + run: SUBPROJECTS=$INCLUDED_PROJECTS ./build tests_cpp - name: Publish C++ test results if: ${{ needs.changes.outputs.cpp_tests == 'true' }} && (success() || failure()) uses: EnricoMi/publish-unit-test-result-action@v2 @@ -116,14 +174,14 @@ jobs: cpp/build/meson-logs/testlog.junit.xml - name: Test Python code if: ${{ needs.changes.outputs.python_tests == 'true' }} - run: ./build tests_python + run: SUBPROJECTS=$INCLUDED_PROJECTS ./build tests_python - name: Publish Python test results if: ${{ needs.changes.outputs.python_tests == 'true' }} && (success() || failure()) uses: EnricoMi/publish-unit-test-result-action@v2 with: check_name: Python Test Results files: | - python/build/test-results/*.xml + python/tests/build/test-results/*.xml macos_build: needs: changes if: ${{ needs.changes.outputs.cpp == 'true' }} @@ -151,8 +209,14 @@ jobs: uses: hendrikmuhs/ccache-action@v1 with: key: ${{ runner.os }}-test-build-ccache + - name: Include subproject "boosting" + if: ${{ needs.changes.outputs.cpp_boosting == 'true' }} + run: echo "INCLUDED_PROJECTS=$(echo "${INCLUDED_PROJECTS}boosting,")" >> $GITHUB_ENV + - name: Include subproject "seco" + if: ${{ needs.changes.outputs.cpp_seco == 'true' }} + run: echo "INCLUDED_PROJECTS=$(echo "${INCLUDED_PROJECTS}seco,")" >> $GITHUB_ENV - name: Compile via Clang - run: TEST_SUPPORT=disabled CPLUS_INCLUDE_PATH=/opt/homebrew/opt/libomp/include/:/opt/homebrew/opt/opencl-clhpp-headers/include/ + run: SUBPROJECTS=$INCLUDED_PROJECTS TEST_SUPPORT=disabled CPLUS_INCLUDE_PATH=/opt/homebrew/opt/libomp/include/:/opt/homebrew/opt/opencl-clhpp-headers/include/ LIBRARY_PATH=/opt/homebrew/opt/libomp/lib/ ./build compile windows_build: needs: changes @@ -186,8 +250,15 @@ jobs: token: ${{ github.token }} - name: Prepare sccache uses: mozilla-actions/sccache-action@v0.0.7 + - name: Include subproject "boosting" + if: ${{ needs.changes.outputs.cpp_boosting == 'true' }} + run: echo "INCLUDED_PROJECTS=$(echo "${env:INCLUDED_PROJECTS}boosting,")" >> $env:GITHUB_ENV + - name: Include subproject "seco" + if: ${{ needs.changes.outputs.cpp_seco == 'true' }} + run: echo "INCLUDED_PROJECTS=$(echo "${env:INCLUDED_PROJECTS}seco,")" >> $env:GITHUB_ENV - name: Compile via MSVC run: |- + $env:SUBPROJECTS = "$env:INCLUDED_PROJECTS" $env:TEST_SUPPORT = "disabled" $env:INCLUDE += ";$($pwd.Path)\vcpkg\packages\opencl_x64-windows\include" $env:LIB += ";$($pwd.Path)\vcpkg\packages\opencl_x64-windows\lib" diff --git a/.github/workflows/test_changelog.yml b/.github/workflows/test_changelog.yml index 92221b3b40..ed40606f77 100644 --- a/.github/workflows/test_changelog.yml +++ b/.github/workflows/test_changelog.yml @@ -36,7 +36,7 @@ jobs: - 'build_system/main.py' - 'build_system/core/**' - 'build_system/util/**' - - 'build_system/targets/paths.py' + - 'build_system/targets/*.py' - 'build_system/targets/versioning/*' bugfix: - *build_files diff --git a/.github/workflows/test_doc.yml b/.github/workflows/test_doc.yml index 509159edfd..b07247bc11 100644 --- a/.github/workflows/test_doc.yml +++ b/.github/workflows/test_doc.yml @@ -37,7 +37,7 @@ jobs: - 'build_system/main.py' - 'build_system/core/**' - 'build_system/util/**' - - 'build_system/targets/paths.py' + - 'build_system/targets/*.py' cpp: &cpp - *build_files - 'build_system/targets/documentation/cpp/*' @@ -45,7 +45,7 @@ jobs: python: &python - *build_files - 'build_system/targets/documentation/python/*' - - 'python/**/mlrl/**' + - 'python/subprojects/**/mlrl/**' doc: &doc - *build_files - 'build_system/targets/documentation/*' diff --git a/.github/workflows/test_format.yml b/.github/workflows/test_format.yml index 1360870ee3..9ac3e1e03d 100644 --- a/.github/workflows/test_format.yml +++ b/.github/workflows/test_format.yml @@ -36,7 +36,7 @@ jobs: - 'build_system/main.py' - 'build_system/core/**' - 'build_system/util/**' - - 'build_system/targets/paths.py' + - 'build_system/targets/*.py' cpp: - *build_files - 'build_system/targets/code_style/*' diff --git a/.github/workflows/test_publish.yml b/.github/workflows/test_publish.yml index 622edb2711..cef95936b0 100644 --- a/.github/workflows/test_publish.yml +++ b/.github/workflows/test_publish.yml @@ -39,7 +39,7 @@ jobs: - 'build_system/main.py' - 'build_system/core/**' - 'build_system/util/**' - - 'build_system/targets/paths.py' + - 'build_system/targets/*.py' - 'build_system/targets/packaging/*' - name: Read Python version uses: juliangruber/read-file-action@v1 diff --git a/build_system/targets/compilation/cpp/targets.py b/build_system/targets/compilation/cpp/targets.py index 3d0aee3898..ae78df7fab 100644 --- a/build_system/targets/compilation/cpp/targets.py +++ b/build_system/targets/compilation/cpp/targets.py @@ -14,11 +14,12 @@ from targets.compilation.build_options import BuildOptions, EnvBuildOption from targets.compilation.meson import MesonCompile, MesonConfigure, MesonInstall, MesonSetup from targets.compilation.modules import CompilationModule +from targets.modules import SubprojectModule MODULE_FILTER = CompilationModule.Filter(FileType.cpp()) BUILD_OPTIONS = BuildOptions() \ - .add(EnvBuildOption(name='subprojects')) \ + .add(EnvBuildOption(name=SubprojectModule.ENV_SUBPROJECTS.lower())) \ .add(EnvBuildOption(name='test_support', subpackage='common')) \ .add(EnvBuildOption(name='multi_threading_support', subpackage='common')) \ .add(EnvBuildOption(name='gpu_support', subpackage='common')) diff --git a/build_system/targets/compilation/cython/targets.py b/build_system/targets/compilation/cython/targets.py index d981b7a7c2..85aa037b81 100644 --- a/build_system/targets/compilation/cython/targets.py +++ b/build_system/targets/compilation/cython/targets.py @@ -14,11 +14,12 @@ from targets.compilation.build_options import BuildOptions, EnvBuildOption from targets.compilation.meson import MesonCompile, MesonConfigure, MesonInstall, MesonSetup from targets.compilation.modules import CompilationModule +from targets.modules import SubprojectModule MODULE_FILTER = CompilationModule.Filter(FileType.cython()) BUILD_OPTIONS = BuildOptions() \ - .add(EnvBuildOption(name='subprojects')) + .add(EnvBuildOption(name=SubprojectModule.ENV_SUBPROJECTS.lower())) class SetupCython(BuildTarget.Runnable): diff --git a/build_system/targets/dependencies/python/__init__.py b/build_system/targets/dependencies/python/__init__.py index b452eeeb9b..3aa8f2ef70 100644 --- a/build_system/targets/dependencies/python/__init__.py +++ b/build_system/targets/dependencies/python/__init__.py @@ -3,6 +3,8 @@ Defines targets and modules for installing Python dependencies that are required by the project. """ +from os import path + from core.build_unit import BuildUnit from core.targets import PhonyTarget, TargetBuilder @@ -29,14 +31,9 @@ root_directory=Project.BuildSystem.root_directory, requirements_file_search=Project.BuildSystem.file_search(), ), - PythonDependencyModule( - dependency_type=DependencyType.RUNTIME, - root_directory=Project.Python.root_directory, - requirements_file_search=Project.Python.file_search(), - ), - PythonDependencyModule( - dependency_type=DependencyType.BUILD_TIME, - root_directory=Project.Documentation.root_directory, - requirements_file_search=Project.Documentation.file_search(), - ), +] + [ + PythonDependencyModule(dependency_type=DependencyType.RUNTIME, + root_directory=subproject, + requirements_file_search=Project.Python.file_search()) + for subproject in Project.Python.find_subprojects() ] diff --git a/build_system/targets/dependencies/python/modules.py b/build_system/targets/dependencies/python/modules.py index f5bba96a2d..6893e44c12 100644 --- a/build_system/targets/dependencies/python/modules.py +++ b/build_system/targets/dependencies/python/modules.py @@ -4,11 +4,14 @@ Implements modules that provide access to Python requirements files. """ from enum import Enum +from os import environ, path from typing import List from core.modules import Module from util.files import FileSearch +from targets.modules import SubprojectModule + class DependencyType(Enum): """ @@ -18,7 +21,7 @@ class DependencyType(Enum): RUNTIME = 'runtime' -class PythonDependencyModule(Module): +class PythonDependencyModule(SubprojectModule): """ A module that provides access to Python requirements files. """ @@ -36,8 +39,11 @@ def __init__(self, *dependency_types: DependencyType): self.dependency_types = set(dependency_types) def matches(self, module: Module) -> bool: - return isinstance(module, PythonDependencyModule) and (not self.dependency_types - or module.dependency_type in self.dependency_types) + return isinstance(module, PythonDependencyModule) and ( + not self.dependency_types + or module.dependency_type in self.dependency_types) and SubprojectModule.Filter.from_env( + environ, always_match={SubprojectModule.SUBPROJECT_COMMON, SubprojectModule.SUBPROJECT_TESTBED + }).matches(module) def __init__(self, dependency_type: DependencyType, @@ -60,6 +66,10 @@ def find_requirements_files(self) -> List[str]: """ return self.requirements_file_search.filter_by_name('requirements.txt').list(self.root_directory) + @property + def subproject_name(self) -> str: + return path.basename(self.root_directory) + def __str__(self) -> str: return ('PythonDependencyModule {dependency_type="' + self.dependency_type.value + '", root_directory="' + self.root_directory + '"}') diff --git a/build_system/targets/documentation/cpp/__init__.py b/build_system/targets/documentation/cpp/__init__.py index 7003af1920..6754c1e722 100644 --- a/build_system/targets/documentation/cpp/__init__.py +++ b/build_system/targets/documentation/cpp/__init__.py @@ -28,11 +28,8 @@ MODULES = [ CppApidocModule( - root_directory=path.dirname(meson_file), - output_directory=path.join(Project.Documentation.apidoc_directory, 'cpp', - path.basename(path.dirname(meson_file))), - project_name=path.basename(path.dirname(meson_file)), + root_directory=subproject, + output_directory=path.join(Project.Documentation.apidoc_directory, 'cpp', path.basename(subproject)), include_directory_name='include', - ) for meson_file in Project.Cpp.file_search().filter_by_name('meson.build').list(Project.Cpp.root_directory) - if path.isdir(path.join(path.dirname(meson_file), 'include')) + ) for subproject in Project.Cpp.find_subprojects() if path.isdir(path.join(subproject, 'include')) ] diff --git a/build_system/targets/documentation/cpp/breathe_apidoc.py b/build_system/targets/documentation/cpp/breathe_apidoc.py index 7e54cd5a55..31752a46ba 100644 --- a/build_system/targets/documentation/cpp/breathe_apidoc.py +++ b/build_system/targets/documentation/cpp/breathe_apidoc.py @@ -21,7 +21,7 @@ def __init__(self, build_unit: BuildUnit, module: CppApidocModule): :param build_unit: The build unit from which the program should be run :param module: The module, the program should be applied to """ - super().__init__('breathe-apidoc', '--members', '--project', module.project_name, '-g', 'file', '-o', + super().__init__('breathe-apidoc', '--members', '--project', module.subproject_name, '-g', 'file', '-o', module.output_directory, path.join(module.output_directory, 'xml')) self.module = module self.print_arguments(True) diff --git a/build_system/targets/documentation/cpp/doxygen.py b/build_system/targets/documentation/cpp/doxygen.py index 769f5dfbe8..6100a0fc3b 100644 --- a/build_system/targets/documentation/cpp/doxygen.py +++ b/build_system/targets/documentation/cpp/doxygen.py @@ -32,10 +32,10 @@ class Doxygen(Program): @staticmethod def __create_environment(module: CppApidocModule) -> Dict: env = environ.copy() - set_env(env, 'DOXYGEN_PROJECT_NAME', 'libmlrl' + module.project_name) + set_env(env, 'DOXYGEN_PROJECT_NAME', 'libmlrl' + module.subproject_name) set_env(env, 'DOXYGEN_INPUT_DIR', module.include_directory) set_env(env, 'DOXYGEN_OUTPUT_DIR', module.output_directory) - set_env(env, 'DOXYGEN_PREDEFINED', 'MLRL' + module.project_name.upper() + '_API=') + set_env(env, 'DOXYGEN_PREDEFINED', 'MLRL' + module.subproject_name.upper() + '_API=') return env def __init__(self, build_unit: BuildUnit, module: CppApidocModule): diff --git a/build_system/targets/documentation/cpp/modules.py b/build_system/targets/documentation/cpp/modules.py index 69d0bb5b6b..5260a4a04b 100644 --- a/build_system/targets/documentation/cpp/modules.py +++ b/build_system/targets/documentation/cpp/modules.py @@ -3,13 +3,14 @@ Implements modules that provide access to C++ code for which an API documentation can be generated. """ -from os import path +from os import environ, path from typing import List from core.modules import Module from util.files import FileSearch, FileType from targets.documentation.modules import ApidocModule +from targets.modules import SubprojectModule class CppApidocModule(ApidocModule): @@ -17,24 +18,22 @@ class CppApidocModule(ApidocModule): A module that provides access to C++ code for which an API documentation can be generated. """ - class Filter(ApidocModule.Filter): + class Filter(Module.Filter): """ A filter that matches modules of type `CppApidocModule`. """ def matches(self, module: Module) -> bool: - return isinstance(module, CppApidocModule) + return isinstance(module, CppApidocModule) and SubprojectModule.Filter.from_env(environ).matches(module) def __init__(self, root_directory: str, output_directory: str, - project_name: str, include_directory_name: str, header_file_search: FileSearch = FileSearch().set_recursive(True)): """ :param root_directory: The path to the module's root directory :param output_directory: The path to the directory where the API documentation should be stored - :param project_name: The name of the C++ project to be documented :param include_directory_name: The name of the directory that contains the header files to be included in the API documentation :param header_file_search: The `FileSearch` that should be used to search for the header files to be @@ -42,7 +41,6 @@ def __init__(self, """ super().__init__(output_directory) self.root_directory = root_directory - self.project_name = project_name self.include_directory_name = include_directory_name self.header_file_search = header_file_search @@ -61,9 +59,13 @@ def find_header_files(self) -> List[str]: """ return self.header_file_search.filter_by_file_type(FileType.cpp()).list(self.include_directory) + @property + def subproject_name(self) -> str: + return path.basename(self.root_directory) + def create_reference(self) -> str: - return 'Library libmlrl' + self.project_name + ' <' + path.join(path.basename(self.output_directory), - 'filelist.rst') + '>' + return 'Library libmlrl' + self.subproject_name + ' <' + path.join(path.basename(self.output_directory), + 'filelist.rst') + '>' def __str__(self) -> str: return 'CppApidocModule {root_directory="' + self.root_directory + '"}' diff --git a/build_system/targets/documentation/modules.py b/build_system/targets/documentation/modules.py index 00c24d9ae0..6c69e7756d 100644 --- a/build_system/targets/documentation/modules.py +++ b/build_system/targets/documentation/modules.py @@ -9,18 +9,15 @@ from core.modules import Module from util.files import FileSearch +from targets.modules import SubprojectModule -class ApidocModule(Module, ABC): + +class ApidocModule(SubprojectModule, ABC): """ An abstract base class for all modules that provide access to source code for which an API documentation can be generated. """ - class Filter(Module.Filter, ABC): - """ - A filter that matches modules of type `ApidocModule`. - """ - def __init__(self, output_directory: str): """ :param output_directory: The path to the directory where the API documentation should be stored diff --git a/build_system/targets/documentation/python/__init__.py b/build_system/targets/documentation/python/__init__.py index 9b22d06152..fde5d3c914 100644 --- a/build_system/targets/documentation/python/__init__.py +++ b/build_system/targets/documentation/python/__init__.py @@ -27,10 +27,10 @@ .build() MODULES = [ - PythonApidocModule(root_directory=path.dirname(file), + PythonApidocModule(root_directory=subproject, output_directory=path.join(Project.Documentation.apidoc_directory, 'python', - path.basename(path.dirname(file))), + path.basename(subproject)), source_directory_name='mlrl', source_file_search=Project.Python.file_search()) - for file in Project.Python.file_search().filter_by_name('pyproject.toml').list(Project.Python.root_directory) + for subproject in Project.Python.find_subprojects() ] diff --git a/build_system/targets/documentation/python/modules.py b/build_system/targets/documentation/python/modules.py index 9c81fbbbe3..c9d668f2bb 100644 --- a/build_system/targets/documentation/python/modules.py +++ b/build_system/targets/documentation/python/modules.py @@ -3,13 +3,14 @@ Implements modules that provide access to Python code for which an API documentation can be generated. """ -from os import path +from os import environ, path from typing import List from core.modules import Module from util.files import FileSearch, FileType from targets.documentation.modules import ApidocModule +from targets.modules import SubprojectModule class PythonApidocModule(ApidocModule): @@ -17,13 +18,13 @@ class PythonApidocModule(ApidocModule): A module that provides access to Python code for which an API documentation can be generated. """ - class Filter(ApidocModule.Filter): + class Filter(Module.Filter): """ A filter that matches modules of type `PythonApidocModule`. """ def matches(self, module: Module) -> bool: - return isinstance(module, PythonApidocModule) + return isinstance(module, PythonApidocModule) and SubprojectModule.Filter.from_env(environ).matches(module) def __init__(self, root_directory: str, @@ -58,10 +59,13 @@ def find_source_files(self) -> List[str]: """ return self.source_file_search.filter_by_file_type(FileType.python()).list(self.source_directory) + @property + def subproject_name(self) -> str: + return path.basename(self.output_directory) + def create_reference(self) -> str: - project_name = path.basename(self.output_directory) return 'Package mlrl-' + path.basename(self.output_directory) + ' <' + path.join( - project_name, self.source_directory_name + '.' + project_name + '.rst') + '>' + self.subproject_name, self.source_directory_name + '.' + self.subproject_name + '.rst') + '>' def __str__(self) -> str: return 'PythonApidocModule {root_directory="' + self.root_directory + '"}' diff --git a/build_system/targets/documentation/targets.py b/build_system/targets/documentation/targets.py index 697fef9989..28c899373b 100644 --- a/build_system/targets/documentation/targets.py +++ b/build_system/targets/documentation/targets.py @@ -45,12 +45,6 @@ def __get_templates_and_modules(modules: List[ApidocModule]) -> Dict[str, List[A def __index_file(template: str) -> str: return path.join(path.dirname(template), 'index.md') - def __init__(self, module_filter: ApidocModule.Filter): - """ - :param module_filter: A filter that matches the modules, the target should be applied to - """ - super().__init__(module_filter) - def run_all(self, _: BuildUnit, modules: List[Module]): for template, modules_in_directory in self.__get_templates_and_modules(modules).items(): Log.info('Generating index file referencing API documentations from template "%s"...', template) diff --git a/build_system/targets/modules.py b/build_system/targets/modules.py new file mode 100644 index 0000000000..98c70f379f --- /dev/null +++ b/build_system/targets/modules.py @@ -0,0 +1,70 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) + +Provides classes that provide information about files and directories that belong to individual modules of the project +to be dealt with by the targets of the build system. +""" +from abc import ABC, abstractmethod +from typing import Dict, Optional, Set + +from core.modules import Module +from util.env import get_env_array + + +class SubprojectModule(Module, ABC): + """ + An abstract base class for all modules that correspond to one of several subprojects. + """ + + ENV_SUBPROJECTS = 'SUBPROJECTS' + + SUBPROJECT_COMMON = 'common' + + SUBPROJECT_TESTBED = 'testbed' + + class Filter(Module.Filter): + """ + An abstract base class for all classes that allow to filter modules by subprojects. + """ + + def __init__(self, subproject_names: Optional[Set[str]] = None): + """ + :param subproject_names: A set that contains the names of the subprojects to be matched or None, if no + restrictions should be imposed + """ + self.subproject_names = subproject_names + + @staticmethod + def from_env(env: Dict, always_match: Optional[Set[str]] = None) -> 'SubprojectModule.Filter': + """ + Creates and returns a `SubprojectModule.Filter` that filters modules by the subprojects given via the + environment variable `SubprojectModule.ENV_SUBPROJECTS`. + + :param env: The environment to be accessed + :param always_match: A set that contains the names of the subprojects that should always be matched by + the filter + :return: The `SubprojectModule.Filter` that has been created + """ + subproject_names = set(get_env_array(env, SubprojectModule.ENV_SUBPROJECTS)) + + if always_match: + subproject_names.update(always_match) + + return SubprojectModule.Filter(subproject_names) + + def matches(self, module: 'Module') -> bool: + """ + Returns whether the filter matches a given module or not. + + :param module: The module to be matched + :return: True, if the filter matches the given module, False otherwise + """ + return isinstance(module, SubprojectModule) and (not self.subproject_names + or module.subproject_name in self.subproject_names) + + @property + @abstractmethod + def subproject_name(self) -> str: + """ + The name of the subproject, the module corresponds to. + """ diff --git a/build_system/targets/packaging/__init__.py b/build_system/targets/packaging/__init__.py index 6443f61922..1d851cd381 100644 --- a/build_system/targets/packaging/__init__.py +++ b/build_system/targets/packaging/__init__.py @@ -28,7 +28,7 @@ MODULES = [ PythonPackageModule( - root_directory=path.dirname(file), + root_directory=subproject, wheel_directory_name=Project.Python.wheel_directory_name, - ) for file in Project.Python.file_search().filter_by_name('pyproject.toml').list(Project.Python.root_directory) + ) for subproject in Project.Python.find_subprojects() ] diff --git a/build_system/targets/packaging/modules.py b/build_system/targets/packaging/modules.py index e3015a098f..0b8b77de64 100644 --- a/build_system/targets/packaging/modules.py +++ b/build_system/targets/packaging/modules.py @@ -3,14 +3,16 @@ Implements modules that provide access to Python code that can be built as wheel packages. """ -from os import path +from os import environ, path from typing import List from core.modules import Module from util.files import FileSearch +from targets.modules import SubprojectModule -class PythonPackageModule(Module): + +class PythonPackageModule(SubprojectModule): """ A module that provides access to Python code that can be built as wheel packages. """ @@ -21,7 +23,9 @@ class Filter(Module.Filter): """ def matches(self, module: Module) -> bool: - return isinstance(module, PythonPackageModule) + return isinstance(module, PythonPackageModule) and SubprojectModule.Filter.from_env( + environ, always_match={SubprojectModule.SUBPROJECT_COMMON, SubprojectModule.SUBPROJECT_TESTBED + }).matches(module) def __init__(self, root_directory: str, wheel_directory_name: str): """ @@ -46,5 +50,9 @@ def find_wheels(self) -> List[str]: """ return FileSearch().filter_by_suffix('whl').list(self.wheel_directory) + @property + def subproject_name(self) -> str: + return path.basename(self.root_directory) + def __str__(self) -> str: return 'PythonPackageModule {root_directory="' + self.root_directory + '"}' diff --git a/build_system/targets/packaging/targets.py b/build_system/targets/packaging/targets.py index 6dc00513c9..5b681d04a0 100644 --- a/build_system/targets/packaging/targets.py +++ b/build_system/targets/packaging/targets.py @@ -34,7 +34,6 @@ def run(self, build_unit: BuildUnit, module: Module): def get_input_files(self, module: Module) -> List[str]: file_search = Project.Python.file_search() \ .set_symlinks(False) \ - .exclude_subdirectories_by_name(Project.Python.test_directory_name) \ .filter_by_file_type( FileType.python(), FileType.markdown(), diff --git a/build_system/targets/paths.py b/build_system/targets/paths.py index 4da0f9aa37..518f0363ef 100644 --- a/build_system/targets/paths.py +++ b/build_system/targets/paths.py @@ -4,6 +4,7 @@ Provides paths within the project that are important for the build system. """ from os import path +from typing import Set from core.build_unit import BuildUnit from util.files import FileSearch @@ -50,7 +51,6 @@ class Python: Attributes: root_directory: The path to the Python code's root directory build_directory_name: The name of the Python code's build directory - test_directory_name: The name fo the directory that contains tests wheel_directory_name: The name of the directory that contains wheel packages wheel_metadata_directory_suffix: The suffix of the directory that contains the metadata of wheel packages """ @@ -59,8 +59,6 @@ class Python: build_directory_name = 'build' - test_directory_name = 'tests' - wheel_directory_name = 'dist' wheel_metadata_directory_suffix = '.egg-info' @@ -79,6 +77,19 @@ def file_search() -> FileSearch: .exclude_subdirectories_by_name('__pycache__') \ .exclude_subdirectories_by_substrings(ends_with=Project.Python.wheel_metadata_directory_suffix) + @staticmethod + def find_subprojects() -> Set[str]: + """ + Finds and returns the paths to all Python subprojects. + + :return: A set that contains the paths to all subprojects that have been found + """ + return { + path.dirname(toml_file) + for toml_file in Project.Python.file_search().filter_by_name('pyproject.toml').list( + Project.Python.root_directory) + } + class Cpp: """ Provides paths within the project's C++ code. @@ -103,6 +114,19 @@ def file_search() -> FileSearch: .set_recursive(True) \ .exclude_subdirectories_by_name(Project.Cpp.build_directory_name) + @staticmethod + def find_subprojects() -> Set[str]: + """ + Finds and returns the paths to all C++ subprojects. + + :return: A set that contains the paths to all subprojects that have been found + """ + return { + path.dirname(meson_file) + for meson_file in Project.Cpp.file_search().filter_by_name('meson.build').list( + Project.Cpp.root_directory) + } + class Documentation: """ Provides paths within the project's documentation. diff --git a/build_system/targets/testing/python/__init__.py b/build_system/targets/testing/python/__init__.py index 1af719d689..c586693a76 100644 --- a/build_system/targets/testing/python/__init__.py +++ b/build_system/targets/testing/python/__init__.py @@ -3,8 +3,12 @@ Defines targets and modules for testing Python code. """ +from functools import reduce +from os import path + from core.build_unit import BuildUnit from core.targets import PhonyTarget, TargetBuilder +from util.files import FileType from targets.packaging import INSTALL_WHEELS from targets.paths import Project @@ -21,9 +25,16 @@ MODULES = [ PythonTestModule( - root_directory=Project.Python.root_directory, - build_directory_name=Project.Python.build_directory_name, - test_file_search=Project.Python.file_search() \ - .filter_subdirectories_by_name(Project.Python.test_directory_name), - ), + root_directory=test_directory, + result_directory=path.join(Project.Python.root_directory, 'tests', Project.Python.build_directory_name, + 'test-results'), + ) for test_directory in { + path.dirname(test_file) for test_file in reduce( + lambda aggr, suffix : aggr + Project.Python.file_search() \ + .filter_by_substrings(starts_with='test_', ends_with='.' + suffix) \ + .list(path.join(Project.Python.root_directory, 'tests')), + FileType.python().suffixes, + [], + ) + } ] diff --git a/build_system/targets/testing/python/modules.py b/build_system/targets/testing/python/modules.py index d3a55dc23e..e24fc8cc99 100644 --- a/build_system/targets/testing/python/modules.py +++ b/build_system/targets/testing/python/modules.py @@ -3,16 +3,15 @@ Implements modules that provide access to automated tests for Python code. """ -from os import path -from typing import List +from os import environ, path from core.modules import Module -from util.files import FileSearch, FileType +from targets.modules import SubprojectModule from targets.testing.modules import TestModule -class PythonTestModule(TestModule): +class PythonTestModule(TestModule, SubprojectModule): """ A module that provides access to automated tests for Python code. """ @@ -23,40 +22,19 @@ class Filter(Module.Filter): """ def matches(self, module: Module) -> bool: - return isinstance(module, PythonTestModule) + return isinstance(module, PythonTestModule) and SubprojectModule.Filter.from_env(environ).matches(module) - def __init__(self, - root_directory: str, - build_directory_name: str, - test_file_search: FileSearch = FileSearch().set_recursive(True)): + def __init__(self, root_directory: str, result_directory: str): """ - :param root_directory: The path to the module's root directory - :param build_directory_name: The name of the module's build directory - :param test_file_search: The `FilesSearch` that should be used to search for test files + :param root_directory: The path to the module's root directory + :param result_directory: The path to the directory, where test results should be stored """ self.root_directory = root_directory - self.build_directory_name = build_directory_name - self.test_file_search = test_file_search + self.result_directory = result_directory @property - def test_result_directory(self) -> str: - """ - The path of the directory where tests results should be stored. - """ - return path.join(self.root_directory, self.build_directory_name, 'test-results') - - def find_test_directories(self) -> List[str]: - """ - Finds and returns all directories that contain automated tests that belong to the module. - - :return: A list that contains the paths of the directories that have been found - """ - test_files = self.test_file_search \ - .exclude_subdirectories_by_name(self.build_directory_name) \ - .filter_by_substrings(starts_with='test_') \ - .filter_by_file_type(FileType.python()) \ - .list(self.root_directory) - return list({path.dirname(test_file) for test_file in test_files}) + def subproject_name(self) -> str: + return path.basename(self.root_directory) def __str__(self) -> str: return 'PythonTestModule {root_directory="' + self.root_directory + '"}' diff --git a/build_system/targets/testing/python/targets.py b/build_system/targets/testing/python/targets.py index 9290267ce4..54a1bac4e9 100644 --- a/build_system/targets/testing/python/targets.py +++ b/build_system/targets/testing/python/targets.py @@ -6,6 +6,7 @@ from core.build_unit import BuildUnit from core.modules import Module from core.targets import PhonyTarget +from util.log import Log from targets.testing.python.modules import PythonTestModule from targets.testing.python.unittest import UnitTest @@ -20,4 +21,5 @@ def __init__(self): super().__init__(PythonTestModule.Filter()) def run(self, build_unit: BuildUnit, module: Module): + Log.info('Running tests in directory "%s"...', module.root_directory) UnitTest(build_unit, module).run() diff --git a/build_system/targets/testing/python/unittest.py b/build_system/targets/testing/python/unittest.py index b506a5729a..784db2a1ec 100644 --- a/build_system/targets/testing/python/unittest.py +++ b/build_system/targets/testing/python/unittest.py @@ -6,10 +6,11 @@ from core.build_unit import BuildUnit from util.run import PythonModule +from targets.paths import Project from targets.testing.python.modules import PythonTestModule -class UnitTest: +class UnitTest(PythonModule): """ Allows to run the external program "unittest". """ @@ -19,19 +20,10 @@ def __init__(self, build_unit: BuildUnit, module: PythonTestModule): :param build_unit: The build unit from which the program should be run :param module: The module, the program should be applied to """ - self.build_unit = build_unit - self.module = module - - def run(self): - """ - Runs the program. - """ - for test_directory in self.module.find_test_directories(): - PythonModule('xmlrunner', 'discover', '--verbose', '--start-directory', test_directory, '--output', - self.module.test_result_directory) \ - .add_conditional_arguments(self.module.fail_fast, '--failfast') \ - .print_arguments(True) \ - .install_program(False) \ - .add_dependencies('unittest-xml-reporting') \ - .set_build_unit(self.build_unit) \ - .run() + super().__init__('xmlrunner', 'discover', '--verbose', '--start-directory', module.root_directory, + '--top-level-directory', Project.Python.root_directory, '--output', module.result_directory) + self.add_conditional_arguments(module.fail_fast, '--failfast') + self.print_arguments(True) + self.install_program(False) + self.add_dependencies('unittest-xml-reporting') + self.set_build_unit(build_unit) diff --git a/doc/developer_guide/coding_standards.md b/doc/developer_guide/coding_standards.md index 7197d1ae4b..59c8ed6ad8 100644 --- a/doc/developer_guide/coding_standards.md +++ b/doc/developer_guide/coding_standards.md @@ -53,6 +53,29 @@ This will result in all tests being run and their results being reported. If the If you want to execute the tests for the C++ or Python code independently, you can use the build target `tests_cpp` or `tests_python` instead of `tests`. ``` +`````{note} +It is also possible to only run the tests for certain subprojects (see {ref}`project-structure`) by providing their names as a comma-separated list via the environment variable `SUBPROJECTS`: + +````{tab} Linux + ```text + SUBPROJECTS=boosting,seco ./build tests + ``` +```` + +````{tab} macOS + ```text + SUBPROJECTS=boosting,seco ./build tests + ``` +```` + +````{tab} Windows + ```text + $env:SUBPROJECTS = "boosting,seco" + build.bat tests + ``` +```` +````` + ```{warning} Tests for the C++ code are only executed if the project has been compiled with testing support enabled. As described in the section {ref}`build-options`, testing support is enabled by default if the [GoogleTest](https://github.com/google/googletest) framework is available on the system. ``` diff --git a/python/tests/mlrl/__init__.py b/python/tests/mlrl/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python/tests/mlrl/boosting/__init__.py b/python/tests/mlrl/boosting/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python/tests/mlrl/boosting/cmd_builder.py b/python/tests/mlrl/boosting/cmd_builder.py new file mode 100644 index 0000000000..d33aefc014 --- /dev/null +++ b/python/tests/mlrl/boosting/cmd_builder.py @@ -0,0 +1,80 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" + +LOSS_SQUARED_ERROR_DECOMPOSABLE = 'squared-error-decomposable' + +LOSS_SQUARED_ERROR_NON_DECOMPOSABLE = 'squared-error-non-decomposable' + +HEAD_TYPE_SINGLE = 'single' + +HEAD_TYPE_COMPLETE = 'complete' + +HEAD_TYPE_PARTIAL_FIXED = 'partial-fixed' + +HEAD_TYPE_PARTIAL_DYNAMIC = 'partial-dynamic' + +GLOBAL_PRUNING_PRE = 'pre-pruning' + +GLOBAL_PRUNING_POST = 'post-pruning' + + +class BoomerCmdBuilderMixin: + """ + A mixin for builders that allow to configure a command for running the BOOMER algorithm. + """ + + def loss(self, loss: str): + """ + Configures the algorithm to use a specific loss function. + + :param loss: The name of the loss function that should be used + :return: The builder itself + """ + self.args.append('--loss') + self.args.append(loss) + return self + + def default_rule(self, default_rule: bool = True): + """ + Configures whether the algorithm should induce a default rule or not. + + :param default_rule: True, if a default rule should be induced, False otherwise + :return: The builder itself + """ + self.args.append('--default-rule') + self.args.append(str(default_rule).lower()) + return self + + def head_type(self, head_type: str = HEAD_TYPE_SINGLE): + """ + Configures the algorithm to use a specific type of rule heads. + + :param head_type: The type of rule heads to be used + :return: The builder itself + """ + self.args.append('--head-type') + self.args.append(head_type) + return self + + def sparse_statistic_format(self, sparse: bool = True): + """ + Configures whether sparse data structures should be used to store the statistics or not. + + :param sparse: True, if sparse data structures should be used to store the statistics, False otherwise + :return: The builder itself + """ + self.args.append('--statistic-format') + self.args.append('sparse' if sparse else 'dense') + return self + + def global_pruning(self, global_pruning: str = GLOBAL_PRUNING_POST): + """ + Configures the algorithm to use a specific method for pruning entire rules. + + :param global_pruning: The name of the method that should be used for pruning entire rules + :return: The builder itself + """ + self.args.append('--global-pruning') + self.args.append(global_pruning) + return self diff --git a/python/tests/mlrl/boosting/cmd_builder_classification.py b/python/tests/mlrl/boosting/cmd_builder_classification.py new file mode 100644 index 0000000000..4d11a1cdfa --- /dev/null +++ b/python/tests/mlrl/boosting/cmd_builder_classification.py @@ -0,0 +1,108 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +from os import path + +from ..common.cmd_builder import DATASET_EMOTIONS, DIR_OUT, CmdBuilder +from ..common.cmd_builder_classification import ClassificationCmdBuilder +from .cmd_builder import BoomerCmdBuilderMixin + +LOSS_LOGISTIC_DECOMPOSABLE = 'logistic-decomposable' + +LOSS_LOGISTIC_NON_DECOMPOSABLE = 'logistic-non-decomposable' + +LOSS_SQUARED_HINGE_DECOMPOSABLE = 'squared-hinge-decomposable' + +LOSS_SQUARED_HINGE_NON_DECOMPOSABLE = 'squared-hinge-non-decomposable' + +LABEL_BINNING_NO = 'none' + +LABEL_BINNING_EQUAL_WIDTH = 'equal-width' + +PROBABILITY_CALIBRATOR_ISOTONIC = 'isotonic' + +BINARY_PREDICTOR_AUTO = 'auto' + +BINARY_PREDICTOR_OUTPUT_WISE = 'output-wise' + +BINARY_PREDICTOR_OUTPUT_WISE_BASED_ON_PROBABILITIES = BINARY_PREDICTOR_OUTPUT_WISE + '{based_on_probabilities=true}' + +BINARY_PREDICTOR_EXAMPLE_WISE = 'example-wise' + +BINARY_PREDICTOR_EXAMPLE_WISE_BASED_ON_PROBABILITIES = BINARY_PREDICTOR_EXAMPLE_WISE + '{based_on_probabilities=true}' + +BINARY_PREDICTOR_GFM = 'gfm' + +PROBABILITY_PREDICTOR_AUTO = 'auto' + +PROBABILITY_PREDICTOR_OUTPUT_WISE = 'output-wise' + +PROBABILITY_PREDICTOR_MARGINALIZED = 'marginalized' + + +class BoomerClassifierCmdBuilder(ClassificationCmdBuilder, BoomerCmdBuilderMixin): + """ + A builder that allows to configure a command for running the BOOMER algorithm for classification problems. + """ + + def __init__(self, callback: CmdBuilder.AssertionCallback, dataset: str = DATASET_EMOTIONS): + super().__init__(callback, + expected_output_dir=path.join(DIR_OUT, 'boomer-classifier'), + model_file_name='boomer', + runnable_module_name='mlrl.boosting', + dataset=dataset) + + def marginal_probability_calibration(self, probability_calibrator: str = PROBABILITY_CALIBRATOR_ISOTONIC): + """ + Configures the algorithm to fit a model for the calibration of marginal probabilities. + + :param probability_calibrator: The name of the method that should be used to fit a calibration model + :return: The builder itself + """ + self.args.append('--marginal-probability-calibration') + self.args.append(probability_calibrator) + return self + + def joint_probability_calibration(self, probability_calibrator: str = PROBABILITY_CALIBRATOR_ISOTONIC): + """ + Configures the algorithm to fit a model for the calibration of joint probabilities. + + :param probability_calibrator: The name of the method that should be used to fit a calibration model + :return: The builder itself + """ + self.args.append('--joint-probability-calibration') + self.args.append(probability_calibrator) + return self + + def binary_predictor(self, binary_predictor: str = BINARY_PREDICTOR_AUTO): + """ + Configures the algorithm to use a specific method for predicting binary labels. + + :param binary_predictor: The name of the method that should be used for predicting binary labels + :return: The builder itself + """ + self.args.append('--binary-predictor') + self.args.append(binary_predictor) + return self + + def probability_predictor(self, probability_predictor: str = PROBABILITY_PREDICTOR_AUTO): + """ + Configures the algorithm to use a specific method for predicting probabilities. + + :param probability_predictor: The name of the method that should be used for predicting probabilities + :return: The builder itself + """ + self.args.append('--probability-predictor') + self.args.append(probability_predictor) + return self + + def label_binning(self, label_binning: str = LABEL_BINNING_EQUAL_WIDTH): + """ + Configures the algorithm to use a specific method for the assignment of labels to bins. + + :param label_binning: The name of the method to be used + :return: The builder itself + """ + self.args.append('--label-binning') + self.args.append(label_binning) + return self diff --git a/python/tests/mlrl/boosting/cmd_builder_regression.py b/python/tests/mlrl/boosting/cmd_builder_regression.py new file mode 100644 index 0000000000..f44886a695 --- /dev/null +++ b/python/tests/mlrl/boosting/cmd_builder_regression.py @@ -0,0 +1,21 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +from os import path + +from ..common.cmd_builder import DATASET_ATP7D, DIR_OUT, CmdBuilder +from ..common.cmd_builder_regression import RegressionCmdBuilder +from .cmd_builder import BoomerCmdBuilderMixin + + +class BoomerRegressorCmdBuilder(RegressionCmdBuilder, BoomerCmdBuilderMixin): + """ + A builder that allows to configure a command for running the BOOMER algorithm for regression problems. + """ + + def __init__(self, callback: CmdBuilder.AssertionCallback, dataset: str = DATASET_ATP7D): + super().__init__(callback, + expected_output_dir=path.join(DIR_OUT, 'boomer-regressor'), + model_file_name='boomer', + runnable_module_name='mlrl.boosting', + dataset=dataset) diff --git a/python/subprojects/testbed/tests/test_boomer.py b/python/tests/mlrl/boosting/integration_tests.py similarity index 52% rename from python/subprojects/testbed/tests/test_boomer.py rename to python/tests/mlrl/boosting/integration_tests.py index 7274d654e3..ca38090a8f 100644 --- a/python/subprojects/testbed/tests/test_boomer.py +++ b/python/tests/mlrl/boosting/integration_tests.py @@ -1,84 +1,10 @@ """ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ -from test_common import HOLDOUT_NO, HOLDOUT_RANDOM, skip_test_on_ci - -LOSS_SQUARED_ERROR_DECOMPOSABLE = 'squared-error-decomposable' - -LOSS_SQUARED_ERROR_NON_DECOMPOSABLE = 'squared-error-non-decomposable' - -HEAD_TYPE_SINGLE = 'single' - -HEAD_TYPE_COMPLETE = 'complete' - -HEAD_TYPE_PARTIAL_FIXED = 'partial-fixed' - -HEAD_TYPE_PARTIAL_DYNAMIC = 'partial-dynamic' - -GLOBAL_PRUNING_PRE = 'pre-pruning' - -GLOBAL_PRUNING_POST = 'post-pruning' - - -class BoomerCmdBuilderMixin: - """ - A mixin for builders that allow to configure a command for running the BOOMER algorithm. - """ - - def loss(self, loss: str): - """ - Configures the algorithm to use a specific loss function. - - :param loss: The name of the loss function that should be used - :return: The builder itself - """ - self.args.append('--loss') - self.args.append(loss) - return self - - def default_rule(self, default_rule: bool = True): - """ - Configures whether the algorithm should induce a default rule or not. - - :param default_rule: True, if a default rule should be induced, False otherwise - :return: The builder itself - """ - self.args.append('--default-rule') - self.args.append(str(default_rule).lower()) - return self - - def head_type(self, head_type: str = HEAD_TYPE_SINGLE): - """ - Configures the algorithm to use a specific type of rule heads. - - :param head_type: The type of rule heads to be used - :return: The builder itself - """ - self.args.append('--head-type') - self.args.append(head_type) - return self - - def sparse_statistic_format(self, sparse: bool = True): - """ - Configures whether sparse data structures should be used to store the statistics or not. - - :param sparse: True, if sparse data structures should be used to store the statistics, False otherwise - :return: The builder itself - """ - self.args.append('--statistic-format') - self.args.append('sparse' if sparse else 'dense') - return self - - def global_pruning(self, global_pruning: str = GLOBAL_PRUNING_POST): - """ - Configures the algorithm to use a specific method for pruning entire rules. - - :param global_pruning: The name of the method that should be used for pruning entire rules - :return: The builder itself - """ - self.args.append('--global-pruning') - self.args.append(global_pruning) - return self +from ..common.cmd_builder import HOLDOUT_NO, HOLDOUT_RANDOM +from ..common.decorators import skip_test_on_ci +from .cmd_builder import GLOBAL_PRUNING_POST, GLOBAL_PRUNING_PRE, LOSS_SQUARED_ERROR_DECOMPOSABLE, \ + LOSS_SQUARED_ERROR_NON_DECOMPOSABLE class BoomerIntegrationTestsMixin: diff --git a/python/subprojects/testbed/tests/test_boomer_classifier.py b/python/tests/mlrl/boosting/test_classifier.py similarity index 86% rename from python/subprojects/testbed/tests/test_boomer_classifier.py rename to python/tests/mlrl/boosting/test_classifier.py index 93d2533658..f383424a4e 100644 --- a/python/subprojects/testbed/tests/test_boomer_classifier.py +++ b/python/tests/mlrl/boosting/test_classifier.py @@ -1,114 +1,22 @@ """ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ -from os import path from typing import Any -from test_boomer import GLOBAL_PRUNING_POST, GLOBAL_PRUNING_PRE, HEAD_TYPE_COMPLETE, HEAD_TYPE_PARTIAL_DYNAMIC, \ - HEAD_TYPE_PARTIAL_FIXED, HEAD_TYPE_SINGLE, BoomerCmdBuilderMixin, BoomerIntegrationTestsMixin -from test_common import DATASET_EMOTIONS, DIR_OUT, CmdBuilder, skip_test_on_ci -from test_common_classification import HOLDOUT_STRATIFIED_EXAMPLE_WISE, HOLDOUT_STRATIFIED_OUTPUT_WISE, \ - PREDICTION_TYPE_PROBABILITIES, PREDICTION_TYPE_SCORES, ClassificationCmdBuilder, ClassificationIntegrationTests - -LOSS_LOGISTIC_DECOMPOSABLE = 'logistic-decomposable' - -LOSS_LOGISTIC_NON_DECOMPOSABLE = 'logistic-non-decomposable' - -LOSS_SQUARED_HINGE_DECOMPOSABLE = 'squared-hinge-decomposable' - -LOSS_SQUARED_HINGE_NON_DECOMPOSABLE = 'squared-hinge-non-decomposable' - -LABEL_BINNING_NO = 'none' - -LABEL_BINNING_EQUAL_WIDTH = 'equal-width' - -PROBABILITY_CALIBRATOR_ISOTONIC = 'isotonic' - -BINARY_PREDICTOR_AUTO = 'auto' - -BINARY_PREDICTOR_OUTPUT_WISE = 'output-wise' - -BINARY_PREDICTOR_OUTPUT_WISE_BASED_ON_PROBABILITIES = BINARY_PREDICTOR_OUTPUT_WISE + '{based_on_probabilities=true}' - -BINARY_PREDICTOR_EXAMPLE_WISE = 'example-wise' - -BINARY_PREDICTOR_EXAMPLE_WISE_BASED_ON_PROBABILITIES = BINARY_PREDICTOR_EXAMPLE_WISE + '{based_on_probabilities=true}' - -BINARY_PREDICTOR_GFM = 'gfm' - -PROBABILITY_PREDICTOR_AUTO = 'auto' - -PROBABILITY_PREDICTOR_OUTPUT_WISE = 'output-wise' - -PROBABILITY_PREDICTOR_MARGINALIZED = 'marginalized' - - -class BoomerClassifierCmdBuilder(ClassificationCmdBuilder, BoomerCmdBuilderMixin): - """ - A builder that allows to configure a command for running the BOOMER algorithm for classification problems. - """ - - def __init__(self, callback: CmdBuilder.AssertionCallback, dataset: str = DATASET_EMOTIONS): - super().__init__(callback, - expected_output_dir=path.join(DIR_OUT, 'boomer-classifier'), - model_file_name='boomer', - runnable_module_name='mlrl.boosting', - dataset=dataset) - - def marginal_probability_calibration(self, probability_calibrator: str = PROBABILITY_CALIBRATOR_ISOTONIC): - """ - Configures the algorithm to fit a model for the calibration of marginal probabilities. - - :param probability_calibrator: The name of the method that should be used to fit a calibration model - :return: The builder itself - """ - self.args.append('--marginal-probability-calibration') - self.args.append(probability_calibrator) - return self - - def joint_probability_calibration(self, probability_calibrator: str = PROBABILITY_CALIBRATOR_ISOTONIC): - """ - Configures the algorithm to fit a model for the calibration of joint probabilities. - - :param probability_calibrator: The name of the method that should be used to fit a calibration model - :return: The builder itself - """ - self.args.append('--joint-probability-calibration') - self.args.append(probability_calibrator) - return self - - def binary_predictor(self, binary_predictor: str = BINARY_PREDICTOR_AUTO): - """ - Configures the algorithm to use a specific method for predicting binary labels. - - :param binary_predictor: The name of the method that should be used for predicting binary labels - :return: The builder itself - """ - self.args.append('--binary-predictor') - self.args.append(binary_predictor) - return self - - def probability_predictor(self, probability_predictor: str = PROBABILITY_PREDICTOR_AUTO): - """ - Configures the algorithm to use a specific method for predicting probabilities. - - :param probability_predictor: The name of the method that should be used for predicting probabilities - :return: The builder itself - """ - self.args.append('--probability-predictor') - self.args.append(probability_predictor) - return self - - def label_binning(self, label_binning: str = LABEL_BINNING_EQUAL_WIDTH): - """ - Configures the algorithm to use a specific method for the assignment of labels to bins. - - :param label_binning: The name of the method to be used - :return: The builder itself - """ - self.args.append('--label-binning') - self.args.append(label_binning) - return self +from ..common.cmd_builder import DATASET_EMOTIONS +from ..common.cmd_builder_classification import HOLDOUT_STRATIFIED_EXAMPLE_WISE, HOLDOUT_STRATIFIED_OUTPUT_WISE, \ + PREDICTION_TYPE_PROBABILITIES, PREDICTION_TYPE_SCORES +from ..common.decorators import skip_test_on_ci +from ..common.integration_tests_classification import ClassificationIntegrationTests +from .cmd_builder import GLOBAL_PRUNING_POST, GLOBAL_PRUNING_PRE, HEAD_TYPE_COMPLETE, HEAD_TYPE_PARTIAL_DYNAMIC, \ + HEAD_TYPE_PARTIAL_FIXED, HEAD_TYPE_SINGLE +from .cmd_builder_classification import BINARY_PREDICTOR_EXAMPLE_WISE, \ + BINARY_PREDICTOR_EXAMPLE_WISE_BASED_ON_PROBABILITIES, BINARY_PREDICTOR_GFM, BINARY_PREDICTOR_OUTPUT_WISE, \ + BINARY_PREDICTOR_OUTPUT_WISE_BASED_ON_PROBABILITIES, LABEL_BINNING_EQUAL_WIDTH, LABEL_BINNING_NO, \ + LOSS_LOGISTIC_DECOMPOSABLE, LOSS_LOGISTIC_NON_DECOMPOSABLE, LOSS_SQUARED_HINGE_DECOMPOSABLE, \ + LOSS_SQUARED_HINGE_NON_DECOMPOSABLE, PROBABILITY_PREDICTOR_MARGINALIZED, PROBABILITY_PREDICTOR_OUTPUT_WISE, \ + BoomerClassifierCmdBuilder +from .integration_tests import BoomerIntegrationTestsMixin class BoomerClassifierIntegrationTests(ClassificationIntegrationTests, BoomerIntegrationTestsMixin): @@ -116,6 +24,7 @@ class BoomerClassifierIntegrationTests(ClassificationIntegrationTests, BoomerInt Defines a series of integration tests for the BOOMER algorithm for classification problems. """ + # pylint: disable=invalid-name def __init__(self, methodName='runTest'): super().__init__(methodName=methodName) diff --git a/python/subprojects/testbed/tests/test_boomer_regressor.py b/python/tests/mlrl/boosting/test_regressor.py similarity index 82% rename from python/subprojects/testbed/tests/test_boomer_regressor.py rename to python/tests/mlrl/boosting/test_regressor.py index c886348bdb..e80f243927 100644 --- a/python/subprojects/testbed/tests/test_boomer_regressor.py +++ b/python/tests/mlrl/boosting/test_regressor.py @@ -1,27 +1,15 @@ """ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ -from os import path from typing import Any -from test_boomer import HEAD_TYPE_COMPLETE, HEAD_TYPE_PARTIAL_DYNAMIC, HEAD_TYPE_PARTIAL_FIXED, HEAD_TYPE_SINGLE, \ - LOSS_SQUARED_ERROR_DECOMPOSABLE, LOSS_SQUARED_ERROR_NON_DECOMPOSABLE, BoomerCmdBuilderMixin, \ - BoomerIntegrationTestsMixin -from test_common import DATASET_ATP7D, DIR_OUT, CmdBuilder, skip_test_on_ci -from test_common_regression import RegressionCmdBuilder, RegressionIntegrationTests - - -class BoomerRegressorCmdBuilder(RegressionCmdBuilder, BoomerCmdBuilderMixin): - """ - A builder that allows to configure a command for running the BOOMER algorithm for regression problems. - """ - - def __init__(self, callback: CmdBuilder.AssertionCallback, dataset: str = DATASET_ATP7D): - super().__init__(callback, - expected_output_dir=path.join(DIR_OUT, 'boomer-regressor'), - model_file_name='boomer', - runnable_module_name='mlrl.boosting', - dataset=dataset) +from ..common.cmd_builder import DATASET_ATP7D +from ..common.decorators import skip_test_on_ci +from ..common.integration_tests_regression import RegressionIntegrationTests +from .cmd_builder import HEAD_TYPE_COMPLETE, HEAD_TYPE_PARTIAL_DYNAMIC, HEAD_TYPE_PARTIAL_FIXED, HEAD_TYPE_SINGLE, \ + LOSS_SQUARED_ERROR_DECOMPOSABLE, LOSS_SQUARED_ERROR_NON_DECOMPOSABLE +from .cmd_builder_regression import BoomerRegressorCmdBuilder +from .integration_tests import BoomerIntegrationTestsMixin class BoomerRegressorIntegrationTests(RegressionIntegrationTests, BoomerIntegrationTestsMixin): @@ -29,6 +17,7 @@ class BoomerRegressorIntegrationTests(RegressionIntegrationTests, BoomerIntegrat Defines a series of integration tests for the BOOMER algorithm for regression problems. """ + # pylint: disable=invalid-name def __init__(self, methodName='runTest'): super().__init__(methodName=methodName) diff --git a/python/tests/mlrl/common/__init__.py b/python/tests/mlrl/common/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python/tests/mlrl/common/cmd_builder.py b/python/tests/mlrl/common/cmd_builder.py new file mode 100644 index 0000000000..b77d5ed26a --- /dev/null +++ b/python/tests/mlrl/common/cmd_builder.py @@ -0,0 +1,795 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +import re +import shutil +import subprocess + +from abc import ABC, abstractmethod +from functools import reduce +from os import makedirs, path +from typing import List, Optional + +from mlrl.testbed.io import ENCODING_UTF8 + +OVERWRITE_EXPECTED_OUTPUT_FILES = False + +DIR_RES = path.join('python', 'tests', 'res') + +DIR_DATA = path.join(DIR_RES, 'data') + +DIR_IN = path.join(DIR_RES, 'in') + +DIR_OUT = path.join(DIR_RES, 'out') + +DIR_RESULTS = path.join(path.join(DIR_RES, 'tmp'), 'results') + +DIR_MODELS = path.join(path.join(DIR_RES, 'tmp'), 'models') + +DATASET_EMOTIONS = 'emotions' + +DATASET_EMOTIONS_NOMINAL = 'emotions-nominal' + +DATASET_EMOTIONS_ORDINAL = 'emotions-ordinal' + +DATASET_ENRON = 'enron' + +DATASET_LANGLOG = 'langlog' + +DATASET_BREAST_CANCER = 'breast-cancer' + +DATASET_MEKA = 'meka' + +DATASET_ATP7D = 'atp7d' + +DATASET_ATP7D_NUMERICAL_SPARSE = 'atp7d-numerical-sparse' + +DATASET_ATP7D_NOMINAL = 'atp7d-nominal' + +DATASET_ATP7D_BINARY = 'atp7d-binary' + +DATASET_ATP7D_ORDINAL = 'atp7d-ordinal' + +DATASET_ATP7D_MEKA = 'atp7d-meka' + +DATASET_HOUSING = 'housing' + +RULE_PRUNING_NO = 'none' + +RULE_PRUNING_IREP = 'irep' + +RULE_INDUCTION_TOP_DOWN_GREEDY = 'top-down-greedy' + +RULE_INDUCTION_TOP_DOWN_BEAM_SEARCH = 'top-down-beam-search' + +INSTANCE_SAMPLING_NO = 'none' + +INSTANCE_SAMPLING_WITH_REPLACEMENT = 'with-replacement' + +INSTANCE_SAMPLING_WITHOUT_REPLACEMENT = 'without-replacement' + +FEATURE_SAMPLING_NO = 'none' + +FEATURE_SAMPLING_WITHOUT_REPLACEMENT = 'without-replacement' + +OUTPUT_SAMPLING_NO = 'none' + +OUTPUT_SAMPLING_WITHOUT_REPLACEMENT = 'without-replacement' + +OUTPUT_SAMPLING_ROUND_ROBIN = 'round-robin' + +HOLDOUT_NO = 'none' + +HOLDOUT_RANDOM = 'random' + +FEATURE_BINNING_EQUAL_WIDTH = 'equal-width' + +FEATURE_BINNING_EQUAL_FREQUENCY = 'equal-frequency' + + +class CmdBuilder: + """ + A builder that allows to configure a command for running a rule learner. + """ + + class AssertionCallback(ABC): + """ + Must be implemented by classes that should be notified about test failures. + """ + + @abstractmethod + def on_assertion_failure(self, message: str): + """ + Must be implemented by subclasses in order to be notified about test failures. + + :param message: A message that indicates why a test has failed + """ + + def __init__(self, + callback: AssertionCallback, + expected_output_dir: str, + model_file_name: str, + runnable_module_name: str, + runnable_class_name: Optional[str] = None, + data_dir: str = DIR_DATA, + dataset: str = DATASET_EMOTIONS): + """ + :param callback: The callback that should be notified about test failures + :param expected_output_dir: The path of the directory that contains the file with the expected output + :param model_file_name: The name of files storing models that have been saved to disk (without suffix) + :param runnable_module_name: The fully qualified name of the runnable to be invoked by the 'testbed' program + :param runnable_class_name: The class name of the runnable to be invoked by the 'testbed' program + :param data_dir: The path of the directory that stores the dataset files + :param dataset: The name of the dataset + """ + self.callback = callback + self.expected_output_dir = expected_output_dir + self.model_file_name = model_file_name + self.output_dir = None + self.parameter_dir = None + self.model_dir = None + self.num_folds = 0 + self.current_fold = 0 + self.training_data_evaluated = False + self.separate_train_test_sets = True + self.evaluation_stored = True + self.parameters_stored = False + self.predictions_stored = False + self.prediction_characteristics_stored = False + self.data_characteristics_stored = False + self.model_characteristics_stored = False + self.rules_stored = False + self.tmp_dirs = [] + self.args = self.__create_args(runnable_module_name=runnable_module_name, + runnable_class_name=runnable_class_name, + data_dir=data_dir, + dataset=dataset) + + @staticmethod + def __create_args(runnable_module_name: str, runnable_class_name: Optional[str], data_dir: str, dataset: str): + args = ['testbed', runnable_module_name] + + if runnable_class_name: + args.extend(['-r', runnable_class_name]) + + args.extend(['--log-level', 'DEBUG', '--data-dir', data_dir, '--dataset', dataset]) + return args + + @staticmethod + def __format_cmd(args: List[str]): + return reduce(lambda txt, arg: txt + (' ' + arg if len(txt) > 0 else arg), args, '') + + def __run_cmd(self): + """ + Runs the command that has been configured via the builder. + + :return: The output of the command + """ + out = subprocess.run(self.args, capture_output=True, text=True, check=False) + + if out.returncode != 0: + self.callback.on_assertion_failure('Command "' + self.__format_cmd(self.args) + + '" terminated with non-zero exit code\n\n' + str(out.stderr)) + + return out + + @staticmethod + def __replace_durations_with_placeholders(line: str) -> str: + regex_duration = '(\\d+ (day(s)*|hour(s)*|minute(s)*|second(s)*|millisecond(s)*))' + return re.sub(regex_duration + '((, )' + regex_duration + ')*' + '(( and )' + regex_duration + ')?', + '', line) + + def __overwrite_output_file(self, stdout, expected_output_file): + with open(expected_output_file, 'w', encoding=ENCODING_UTF8) as file: + for line in stdout: + line = self.__replace_durations_with_placeholders(line) + line = line + '\n' + file.write(line) + + def __assert_output_files_are_equal(self, stdout, expected_output_file): + with open(expected_output_file, 'r', encoding=ENCODING_UTF8) as file: + for i, expected_line in enumerate(file): + expected_line = expected_line.strip('\n') + line = stdout[i] + line = line.strip('\n') + line = self.__replace_durations_with_placeholders(line) + + if expected_line != line: + self.callback.on_assertion_failure('Output of command "' + self.__format_cmd(self.args) + + '" differs at line ' + str(i + 1) + ': Should be "' + + expected_line + '", but is "' + line + '"') + + def __remove_tmp_dirs(self): + """ + Removes the temporary directories that have been used by a command. + """ + for tmp_dir in self.tmp_dirs: + shutil.rmtree(tmp_dir, ignore_errors=True) + + def __assert_model_files_exist(self): + """ + Asserts that the model files, which should be created by a command, exist. + """ + self._assert_files_exist(self.model_dir, self.model_file_name, 'model') + + def __assert_evaluation_files_exist(self): + """ + Asserts that the evaluation files, which should be created by a command, exist. + """ + if self.evaluation_stored: + prefix = 'evaluation' + suffix = 'csv' + training_data = not self.separate_train_test_sets + self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=training_data), suffix) + + if self.training_data_evaluated: + self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=True), suffix) + + def __assert_parameter_files_exist(self): + """ + Asserts that the parameter files, which should be created by a command, exist. + """ + if self.parameters_stored: + self._assert_files_exist(self.parameter_dir, 'parameters', 'csv') + + def __assert_prediction_files_exist(self): + """ + Asserts that the prediction files, which should be created by a command, exist. + """ + if self.predictions_stored: + prefix = 'predictions' + suffix = 'arff' + training_data = not self.separate_train_test_sets + self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=training_data), suffix) + + if self.training_data_evaluated: + self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=True), suffix) + + def __assert_prediction_characteristic_files_exist(self): + """ + Asserts that the prediction characteristic files, which should be created by a command, exist. + """ + if self.prediction_characteristics_stored: + prefix = 'prediction_characteristics' + suffix = 'csv' + training_data = not self.separate_train_test_sets + self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=training_data), suffix) + + if self.training_data_evaluated: + self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=True), suffix) + + def __assert_data_characteristic_files_exist(self): + """ + Asserts that the data characteristic files, which should be created by a command, exist. + """ + if self.data_characteristics_stored: + self._assert_output_files_exist('data_characteristics', 'csv') + + def __assert_model_characteristic_files_exist(self): + """ + Asserts that the model characteristic files, which should be created by a command, exist. + """ + if self.model_characteristics_stored: + self._assert_output_files_exist('model_characteristics', 'csv') + + def __assert_rule_files_exist(self): + """ + Asserts that the rule files, which should be created by a command, exist. + """ + if self.rules_stored: + self._assert_output_files_exist('rules', 'txt') + + @staticmethod + def _get_output_file_name(prefix: str, training_data: bool = False): + """ + Returns the name of an output file (without suffix). + + :param prefix: The prefix of the file name + :param training_data: True, if the output file corresponds to the training data, False otherwise + :return: The name of the output file + """ + return prefix + '_' + ('training' if training_data else 'test') + + @staticmethod + def __get_file_name(name: str, suffix: str, fold: Optional[int] = None): + """ + Returns the name of an output file. + + :param name: The name of the file + :param suffix: The suffix of the file + :param fold: The fold, the file corresponds to or None, if it does not correspond to a specific fold + :return: The name of the output file + """ + if fold is not None: + return name + '_fold-' + str(fold) + '.' + suffix + return name + '_overall.' + suffix + + def __assert_file_exists(self, directory: str, file_name: str): + """ + Asserts that a specific file exists. + + :param directory: The path of the directory where the file should be located + :param file_name: The name of the file + """ + file = path.join(directory, file_name) + + if not path.isfile(file): + self.callback.on_assertion_failure('Command "' + self.__format_cmd(self.args) + + '" is expected to create file ' + str(file) + + ', but it does not exist') + + def _assert_files_exist(self, directory: str, file_name: str, suffix: str): + """ + Asserts that the files, which should be created by a command, exist. + + :param directory: The directory where the files should be located + :param file_name: The name of the files + :param suffix: The suffix of the files + """ + if directory is not None: + if self.num_folds > 0: + current_fold = self.current_fold + + if current_fold > 0: + self.__assert_file_exists(directory, self.__get_file_name(file_name, suffix, current_fold)) + else: + for i in range(self.num_folds): + self.__assert_file_exists(directory, self.__get_file_name(file_name, suffix, i + 1)) + else: + self.__assert_file_exists(directory, self.__get_file_name(file_name, suffix)) + + def _assert_output_files_exist(self, file_name: str, suffix: str): + """ + Asserts that output files, which should be created by a command, exist. + """ + self._assert_files_exist(self.output_dir, file_name, suffix) + + def _validate_output_files(self): + """ + May be overridden by subclasses in order to check if certain output files have been created. + """ + self.__assert_model_files_exist() + self.__assert_evaluation_files_exist() + self.__assert_parameter_files_exist() + self.__assert_prediction_files_exist() + self.__assert_prediction_characteristic_files_exist() + self.__assert_data_characteristic_files_exist() + self.__assert_model_characteristic_files_exist() + self.__assert_rule_files_exist() + + def run_cmd(self, expected_output_file_name: str = None): + """ + Runs a command that has been configured via the builder. + + :param expected_output_file_name: The name of the text file that contains the expected output of the command + """ + for tmp_dir in self.tmp_dirs: + makedirs(tmp_dir, exist_ok=True) + + out = self.__run_cmd() + + if self.model_dir is not None: + out = self.__run_cmd() + + if expected_output_file_name is not None: + stdout = str(out.stdout).splitlines() + expected_output_dir = self.expected_output_dir + + if OVERWRITE_EXPECTED_OUTPUT_FILES: + makedirs(expected_output_dir, exist_ok=True) + + expected_output_file = path.join(expected_output_dir, expected_output_file_name + '.txt') + + if OVERWRITE_EXPECTED_OUTPUT_FILES: + self.__overwrite_output_file(stdout, expected_output_file) + else: + self.__assert_output_files_are_equal(stdout, expected_output_file) + + if not OVERWRITE_EXPECTED_OUTPUT_FILES: + self._validate_output_files() + + self.__remove_tmp_dirs() + + def set_output_dir(self, output_dir: Optional[str] = DIR_RESULTS): + """ + Configures the rule learner to store output files in a given directory. + + :param output_dir: The path of the directory where output files should be stored + :return: The builder itself + """ + self.output_dir = output_dir + + if output_dir is not None: + self.args.append('--output-dir') + self.args.append(output_dir) + self.tmp_dirs.append(output_dir) + return self + + def set_model_dir(self, model_dir: Optional[str] = DIR_MODELS): + """ + Configures the rule learner to store models in a given directory or load them, if available. + + :param model_dir: The path of the directory where models should be stored + :return: The builder itself + """ + self.model_dir = model_dir + + if model_dir is not None: + self.args.append('--model-dir') + self.args.append(model_dir) + self.tmp_dirs.append(model_dir) + return self + + def set_parameter_dir(self, parameter_dir: Optional[str] = DIR_IN): + """ + Configures the rule learner to load parameter settings from a given directory, if available. + + :param parameter_dir: The path of the directory, where parameter settings are stored + :return: The builder itself + """ + self.parameter_dir = parameter_dir + + if parameter_dir is not None: + self.args.append('--parameter-dir') + self.args.append(parameter_dir) + return self + + def no_data_split(self): + """ + Configures the rule learner to not use separate training and test data. + + :return: The builder itself + """ + self.num_folds = 0 + self.current_fold = 0 + self.separate_train_test_sets = False + self.args.append('--data-split') + self.args.append('none') + return self + + def cross_validation(self, num_folds: int = 10, current_fold: int = 0): + """ + Configures the rule learner to use a cross validation. + + :param num_folds: The total number of folds + :param current_fold: The fold to be run or 0, if all folds should be run + :return: The builder itself + """ + self.num_folds = num_folds + self.current_fold = current_fold + self.separate_train_test_sets = True + self.args.append('--data-split') + self.args.append('cross-validation{num_folds=' + str(num_folds) + ',current_fold=' + str(current_fold) + '}') + return self + + def sparse_feature_value(self, sparse_feature_value: float = 0.0): + """ + Configures the value that should be used for sparse elements in the feature matrix. + + :param sparse_feature_value: The value that should be used for sparse elements in the feature matrix + :return: The builder itself + """ + self.args.append('--sparse-feature-value') + self.args.append(str(sparse_feature_value)) + return self + + def evaluate_training_data(self, evaluate_training_data: bool = True): + """ + Configures whether the rule learner should be evaluated on the training data or not. + + :param evaluate_training_data: True, if the rule learner should be evaluated on the training data, False + otherwise + :return: The builder itself + """ + self.training_data_evaluated = evaluate_training_data + self.args.append('--evaluate-training-data') + self.args.append(str(evaluate_training_data).lower()) + return self + + def incremental_evaluation(self, incremental_evaluation: bool = True, step_size: int = 50): + """ + Configures whether the model that is learned by the rule learner should be evaluated repeatedly, using only a + subset of the rules with increasing size. + + :param incremental_evaluation: True, if the rule learner should be evaluated incrementally, False otherwise + :param step_size: The number of additional rules to be evaluated at each repetition + :return: The builder itself + """ + self.args.append('--incremental-evaluation') + value = str(incremental_evaluation).lower() + + if incremental_evaluation: + value += '{step_size=' + str(step_size) + '}' + + self.args.append(value) + return self + + def print_evaluation(self, print_evaluation: bool = True): + """ + Configures whether the evaluation results should be printed on the console or not. + + :param print_evaluation: True, if the evaluation results should be printed, False otherwise + :return: The builder self + """ + self.args.append('--print-evaluation') + self.args.append(str(print_evaluation).lower()) + return self + + def store_evaluation(self, store_evaluation: bool = True): + """ + Configures whether the evaluation results should be written into output files or not. + + :param store_evaluation: True, if the evaluation results should be written into output files or not + :return: The builder itself + """ + self.evaluation_stored = store_evaluation + self.args.append('--store-evaluation') + self.args.append(str(store_evaluation).lower()) + return self + + def print_parameters(self, print_parameters: bool = True): + """ + Configures whether the parameters should be printed on the console or not. + + :param print_parameters: True, if the parameters should be printed, False otherwise + :return: The builder itself + """ + self.args.append('--print-parameters') + self.args.append(str(print_parameters).lower()) + return self + + def store_parameters(self, store_parameters: bool = True): + """ + Configures whether the parameters should be written into output files or not. + + :param store_parameters: True, if the parameters should be written into output files, False otherwise + :return: The builder itself + """ + self.parameters_stored = store_parameters + self.args.append('--store-parameters') + self.args.append(str(store_parameters).lower()) + return self + + def print_predictions(self, print_predictions: bool = True): + """ + Configures whether the predictions should be printed on the console or not. + + :param print_predictions: True, if the predictions should be printed, False otherwise + :return: The builder itself + """ + self.args.append('--print-predictions') + self.args.append(str(print_predictions).lower()) + return self + + def store_predictions(self, store_predictions: bool = True): + """ + Configures whether the predictions should be written into output files or not. + + :param store_predictions: True, if the predictions should be written into output files, False otherwise + :return: The builder itself + """ + self.predictions_stored = store_predictions + self.args.append('--store-predictions') + self.args.append(str(store_predictions).lower()) + return self + + def print_prediction_characteristics(self, print_prediction_characteristics: bool = True): + """ + Configures whether the characteristics of predictions should be printed on the console or not. + + :param print_prediction_characteristics: True, if the characteristics of predictions should be printed, False + otherwise + :return: The builder itself + """ + self.args.append('--print-prediction-characteristics') + self.args.append(str(print_prediction_characteristics).lower()) + return self + + def store_prediction_characteristics(self, store_prediction_characteristics: bool = True): + """ + Configures whether the characteristics of predictions should be written into output files or not. + + :param store_prediction_characteristics: True, if the characteristics of predictions should be written into + output files, False otherwise + :return: The builder itself + """ + self.prediction_characteristics_stored = store_prediction_characteristics + self.args.append('--store-prediction-characteristics') + self.args.append(str(store_prediction_characteristics).lower()) + return self + + def print_data_characteristics(self, print_data_characteristics: bool = True): + """ + Configures whether the characteristics of datasets should be printed on the console or not. + + :param print_data_characteristics: True, if the characteristics of datasets should be printed, False otherwise + :return: The builder itself + """ + self.args.append('--print-data-characteristics') + self.args.append(str(print_data_characteristics).lower()) + return self + + def store_data_characteristics(self, store_data_characteristics: bool = True): + """ + Configures whether the characteristics of datasets should be written into output files or not. + + :param store_data_characteristics: True, if the characteristics of datasets should be written into output + files, False otherwise + :return: The builder itself + """ + self.data_characteristics_stored = store_data_characteristics + self.args.append('--store-data-characteristics') + self.args.append(str(store_data_characteristics).lower()) + return self + + def print_model_characteristics(self, print_model_characteristics: bool = True): + """ + Configures whether the characteristics of models should be printed on the console or not. + + :param print_model_characteristics: True, if the characteristics of models should be printed, False otherwise + :return: The builder itself + """ + self.args.append('--print-model-characteristics') + self.args.append(str(print_model_characteristics).lower()) + return self + + def store_model_characteristics(self, store_model_characteristics: bool = True): + """ + Configures whether the characteristics of models should be written into output files or not. + + :param store_model_characteristics: True, if the characteristics of models should be written into output files, + False otherwise + :return: The builder itself + """ + self.model_characteristics_stored = store_model_characteristics + self.args.append('--store-model-characteristics') + self.args.append(str(store_model_characteristics).lower()) + return self + + def print_rules(self, print_rules: bool = True): + """ + Configures whether textual representations of the rules in a model should be printed on the console or not. + + :param print_rules: True, if textual representations of rules should be printed, False otherwise + :return: The builder itself + """ + self.args.append('--print-rules') + self.args.append(str(print_rules).lower()) + return self + + def store_rules(self, store_rules: bool = True): + """ + Configures whether textual representations of the rules in a model should be written into output files or not. + + :param store_rules: True, if textual representations of rules should be written into output files, False + otherwise + :return: The builder itself + """ + self.rules_stored = store_rules + self.args.append('--store-rules') + self.args.append(str(store_rules).lower()) + return self + + def sparse_feature_format(self, sparse: bool = True): + """ + Configures whether sparse data structures should be used to represent the feature values of training examples or + not. + + :param sparse: True, if sparse data structures should be used to represent the feature values of training + examples, False otherwise + :return: The builder itself + """ + self.args.append('--feature-format') + self.args.append('sparse' if sparse else 'dense') + return self + + def sparse_output_format(self, sparse: bool = True): + """ + Configures whether sparse data structures should be used to represent the labels of training examples or not. + + :param sparse: True, if sparse data structures should be used to represent the labels of training examples, + False otherwise + :return: The builder itself + """ + self.args.append('--output-format') + self.args.append('sparse' if sparse else 'dense') + return self + + def sparse_prediction_format(self, sparse: bool = True): + """ + Configures whether sparse data structures should be used to represent predictions or not. + + :param sparse: True, if sparse data structures should be used to represent predictions, False otherwise + :return: The builder itself + """ + self.args.append('--prediction-format') + self.args.append('sparse' if sparse else 'dense') + return self + + def instance_sampling(self, instance_sampling: str = INSTANCE_SAMPLING_WITHOUT_REPLACEMENT): + """ + Configures the rule learner to sample from the available training examples. + + :param instance_sampling: The name of the sampling method that should be used + :return: The builder itself + """ + self.args.append('--instance-sampling') + self.args.append(instance_sampling) + return self + + def feature_sampling(self, feature_sampling: str = FEATURE_SAMPLING_WITHOUT_REPLACEMENT): + """ + Configures the rule learner to sample from the available features. + + :param feature_sampling: The name of the sampling method that should be used + :return: The builder itself + """ + self.args.append('--feature-sampling') + self.args.append(feature_sampling) + return self + + def output_sampling(self, output_sampling: str = OUTPUT_SAMPLING_WITHOUT_REPLACEMENT): + """ + Configures the rule learner to sample from the available outputs. + + :param output_sampling: The name of the sampling method that should be used + :return: The builder itself + """ + self.args.append('--output-sampling') + self.args.append(output_sampling) + return self + + def rule_pruning(self, rule_pruning: str = RULE_PRUNING_IREP): + """ + Configures the rule learner to use a specific method for pruning individual rules. + + :param rule_pruning: The name of the pruning method that should be used + :return: The builder itself + """ + self.args.append('--rule-pruning') + self.args.append(rule_pruning) + return self + + def rule_induction(self, rule_induction=RULE_INDUCTION_TOP_DOWN_GREEDY): + """ + Configures the rule learner to use a specific algorithm for the induction of individual rules. + + :param rule_induction: The name of the algorithm that should be used + :return: The builder itself + """ + self.args.append('--rule-induction') + self.args.append(rule_induction) + return self + + def sequential_post_optimization(self, sequential_post_optimization: bool = True): + """ + Configures whether the algorithm should use sequential post-optimization or not. + + :param sequential_post_optimization: True, if sequential post-optimization should be used, False otherwise + :return: The builder itself + """ + self.args.append('--sequential-post-optimization') + self.args.append(str(sequential_post_optimization).lower()) + return self + + def holdout(self, holdout: str = HOLDOUT_RANDOM): + """ + Configures the algorithm to use a holdout set. + + :param holdout: The name of the sampling method that should be used to create the holdout set + :return: The builder itself + """ + self.args.append('--holdout') + self.args.append(holdout) + return self + + def feature_binning(self, feature_binning: str = FEATURE_BINNING_EQUAL_WIDTH): + """ + Configures the algorithm to use a specific method for feature binning. + + :param feature_binning: The name of the method that should be used for feature binning + :return: The builder itself + """ + self.args.append('--feature-binning') + self.args.append(feature_binning) + return self diff --git a/python/subprojects/testbed/tests/test_common_classification.py b/python/tests/mlrl/common/cmd_builder_classification.py similarity index 65% rename from python/subprojects/testbed/tests/test_common_classification.py rename to python/tests/mlrl/common/cmd_builder_classification.py index 135d27a8f3..a1ddac7eba 100644 --- a/python/subprojects/testbed/tests/test_common_classification.py +++ b/python/tests/mlrl/common/cmd_builder_classification.py @@ -1,12 +1,9 @@ """ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ -from abc import ABC from typing import Optional -from unittest import SkipTest -from test_common import DATASET_BREAST_CANCER, DATASET_EMOTIONS, DATASET_EMOTIONS_NOMINAL, DATASET_EMOTIONS_ORDINAL, \ - DATASET_ENRON, DATASET_LANGLOG, DIR_DATA, CmdBuilder, IntegrationTests +from .cmd_builder import DATASET_EMOTIONS, DIR_DATA, CmdBuilder PREDICTION_TYPE_BINARY = 'binary' @@ -169,92 +166,3 @@ def prediction_type(self, prediction_type: str = PREDICTION_TYPE_BINARY): self.args.append('--prediction-type') self.args.append(prediction_type) return self - - -class ClassificationIntegrationTests(IntegrationTests, ABC): - """ - Defines a series of integration tests for any type of rule learning algorithm that can be applied to classification - problems. - """ - - def __init__(self, - dataset_default: str = DATASET_EMOTIONS, - dataset_numerical_sparse: str = DATASET_LANGLOG, - dataset_binary: str = DATASET_ENRON, - dataset_nominal: str = DATASET_EMOTIONS_NOMINAL, - dataset_ordinal: str = DATASET_EMOTIONS_ORDINAL, - dataset_single_output: str = DATASET_BREAST_CANCER, - methodName='runTest'): - super().__init__(dataset_default=dataset_default, - dataset_numerical_sparse=dataset_numerical_sparse, - dataset_binary=dataset_binary, - dataset_nominal=dataset_nominal, - dataset_ordinal=dataset_ordinal, - dataset_single_output=dataset_single_output, - methodName=methodName) - - @classmethod - def setUpClass(cls): - if cls is ClassificationIntegrationTests: - raise SkipTest(cls.__name__ + ' is an abstract base class') - - super().setUpClass() - - def test_label_vectors_train_test(self): - """ - Tests the functionality to store the unique label vectors contained in the data used for training by the rule - learning algorithm when using a split of the dataset into training and test data. - """ - builder = self._create_cmd_builder(dataset=self.dataset_default) \ - .print_evaluation(False) \ - .store_evaluation(False) \ - .set_output_dir() \ - .print_label_vectors() \ - .store_label_vectors() - builder.run_cmd('label-vectors_train-test') - - def test_label_vectors_cross_validation(self): - """ - Tests the functionality to store the unique label vectors contained in the data used for training by the rule - learning algorithm when using a cross validation. - """ - builder = self._create_cmd_builder(dataset=self.dataset_default) \ - .cross_validation() \ - .print_evaluation(False) \ - .store_evaluation(False) \ - .set_output_dir() \ - .print_label_vectors() \ - .store_label_vectors() - builder.run_cmd('label-vectors_cross-validation') - - def test_label_vectors_single_fold(self): - """ - Tests the functionality to store the unique label vectors contained in the data used for training by the rule - learning algorithm when using a single fold of a cross validation. - """ - builder = self._create_cmd_builder(dataset=self.dataset_default) \ - .cross_validation(current_fold=1) \ - .print_evaluation(False) \ - .store_evaluation(False) \ - .set_output_dir() \ - .print_label_vectors() \ - .store_label_vectors() - builder.run_cmd('label-vectors_single-fold') - - def test_instance_sampling_stratified_output_wise(self): - """ - Tests the rule learning algorithm when using a method to sample from the available training examples using - label-wise stratification. - """ - builder = self._create_cmd_builder(dataset=self.dataset_default) \ - .instance_sampling(INSTANCE_SAMPLING_STRATIFIED_OUTPUT_WISE) - builder.run_cmd('instance-sampling-stratified-output-wise') - - def test_instance_sampling_stratified_example_wise(self): - """ - Tests the rule learning algorithm when using a method to sample from the available training examples using - example-wise stratification. - """ - builder = self._create_cmd_builder(dataset=self.dataset_default) \ - .instance_sampling(INSTANCE_SAMPLING_STRATIFIED_EXAMPLE_WISE) - builder.run_cmd('instance-sampling-stratified-example-wise') diff --git a/python/tests/mlrl/common/cmd_builder_regression.py b/python/tests/mlrl/common/cmd_builder_regression.py new file mode 100644 index 0000000000..b58ce023db --- /dev/null +++ b/python/tests/mlrl/common/cmd_builder_regression.py @@ -0,0 +1,30 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +from typing import Optional + +from .cmd_builder import DATASET_ATP7D, DIR_DATA, CmdBuilder + + +class RegressionCmdBuilder(CmdBuilder): + """ + A builder that allows to configure a command for applying a rule learning algorithm to a regression problem. + """ + + def __init__(self, + callback: CmdBuilder.AssertionCallback, + expected_output_dir: str, + model_file_name: str, + runnable_module_name: str, + runnable_class_name: Optional[str] = None, + data_dir: str = DIR_DATA, + dataset: str = DATASET_ATP7D): + super().__init__(callback=callback, + expected_output_dir=expected_output_dir, + model_file_name=model_file_name, + runnable_module_name=runnable_module_name, + runnable_class_name=runnable_class_name, + data_dir=data_dir, + dataset=dataset) + self.args.append('--problem-type') + self.args.append('regression') diff --git a/python/tests/mlrl/common/decorators.py b/python/tests/mlrl/common/decorators.py new file mode 100644 index 0000000000..e84089e30c --- /dev/null +++ b/python/tests/mlrl/common/decorators.py @@ -0,0 +1,19 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +from os import getenv +from unittest import SkipTest + + +def skip_test_on_ci(decorated_function): + """ + A decorator that disables all annotated test case if run on a continuous integration system. + """ + + def wrapper(*args, **kwargs): + if getenv('GITHUB_ACTIONS') == 'true': + raise SkipTest('Temporarily disabled when run on CI') + + decorated_function(*args, **kwargs) + + return wrapper diff --git a/python/subprojects/testbed/tests/test_common.py b/python/tests/mlrl/common/integration_tests.py similarity index 52% rename from python/subprojects/testbed/tests/test_common.py rename to python/tests/mlrl/common/integration_tests.py index b987f8d736..3d53323e7b 100644 --- a/python/subprojects/testbed/tests/test_common.py +++ b/python/tests/mlrl/common/integration_tests.py @@ -1,815 +1,17 @@ """ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ -import os -import re -import shutil -import subprocess - -from abc import ABC, abstractmethod -from functools import reduce -from os import makedirs, path +from abc import ABC from sys import platform -from typing import Any, List, Optional +from typing import Any from unittest import SkipTest, TestCase -from mlrl.testbed.io import ENCODING_UTF8 - -OVERWRITE_EXPECTED_OUTPUT_FILES = False - -DIR_RES = 'python/subprojects/testbed/tests/res' - -DIR_DATA = path.join(DIR_RES, 'data') - -DIR_IN = path.join(DIR_RES, 'in') - -DIR_OUT = path.join(DIR_RES, 'out') - -DIR_RESULTS = path.join(path.join(DIR_RES, 'tmp'), 'results') - -DIR_MODELS = path.join(path.join(DIR_RES, 'tmp'), 'models') - -DATASET_EMOTIONS = 'emotions' - -DATASET_EMOTIONS_NOMINAL = 'emotions-nominal' - -DATASET_EMOTIONS_ORDINAL = 'emotions-ordinal' - -DATASET_ENRON = 'enron' - -DATASET_LANGLOG = 'langlog' - -DATASET_BREAST_CANCER = 'breast-cancer' - -DATASET_MEKA = 'meka' - -DATASET_ATP7D = 'atp7d' - -DATASET_ATP7D_NUMERICAL_SPARSE = 'atp7d-numerical-sparse' - -DATASET_ATP7D_NOMINAL = 'atp7d-nominal' - -DATASET_ATP7D_BINARY = 'atp7d-binary' - -DATASET_ATP7D_ORDINAL = 'atp7d-ordinal' - -DATASET_ATP7D_MEKA = 'atp7d-meka' - -DATASET_HOUSING = 'housing' - -RULE_PRUNING_NO = 'none' - -RULE_PRUNING_IREP = 'irep' - -RULE_INDUCTION_TOP_DOWN_GREEDY = 'top-down-greedy' - -RULE_INDUCTION_TOP_DOWN_BEAM_SEARCH = 'top-down-beam-search' - -INSTANCE_SAMPLING_NO = 'none' - -INSTANCE_SAMPLING_WITH_REPLACEMENT = 'with-replacement' - -INSTANCE_SAMPLING_WITHOUT_REPLACEMENT = 'without-replacement' - -FEATURE_SAMPLING_NO = 'none' - -FEATURE_SAMPLING_WITHOUT_REPLACEMENT = 'without-replacement' - -OUTPUT_SAMPLING_NO = 'none' - -OUTPUT_SAMPLING_WITHOUT_REPLACEMENT = 'without-replacement' - -OUTPUT_SAMPLING_ROUND_ROBIN = 'round-robin' - -HOLDOUT_NO = 'none' - -HOLDOUT_RANDOM = 'random' - -FEATURE_BINNING_EQUAL_WIDTH = 'equal-width' - -FEATURE_BINNING_EQUAL_FREQUENCY = 'equal-frequency' - - -def skip_test_on_ci(decorated_function): - """ - A decorator that disables all annotated test case if run on a continuous integration system. - """ - - def wrapper(*args, **kwargs): - if os.getenv('GITHUB_ACTIONS') == 'true': - raise SkipTest('Temporarily disabled when run on CI') - - decorated_function(*args, **kwargs) - - return wrapper - - -class CmdBuilder: - """ - A builder that allows to configure a command for running a rule learner. - """ - - class AssertionCallback(ABC): - """ - Must be implemented by classes that should be notified about test failures. - """ - - @abstractmethod - def on_assertion_failure(self, message: str): - """ - Must be implemented by subclasses in order to be notified about test failures. - - :param message: A message that indicates why a test has failed - """ - - def __init__(self, - callback: AssertionCallback, - expected_output_dir: str, - model_file_name: str, - runnable_module_name: str, - runnable_class_name: Optional[str] = None, - data_dir: str = DIR_DATA, - dataset: str = DATASET_EMOTIONS): - """ - :param callback: The callback that should be notified about test failures - :param expected_output_dir: The path of the directory that contains the file with the expected output - :param model_file_name: The name of files storing models that have been saved to disk (without suffix) - :param runnable_module_name: The fully qualified name of the runnable to be invoked by the 'testbed' program - :param runnable_class_name: The class name of the runnable to be invoked by the 'testbed' program - :param data_dir: The path of the directory that stores the dataset files - :param dataset: The name of the dataset - """ - self.callback = callback - self.expected_output_dir = expected_output_dir - self.model_file_name = model_file_name - self.output_dir = None - self.parameter_dir = None - self.model_dir = None - self.num_folds = 0 - self.current_fold = 0 - self.training_data_evaluated = False - self.separate_train_test_sets = True - self.evaluation_stored = True - self.parameters_stored = False - self.predictions_stored = False - self.prediction_characteristics_stored = False - self.data_characteristics_stored = False - self.model_characteristics_stored = False - self.rules_stored = False - self.tmp_dirs = [] - self.args = self.__create_args(runnable_module_name=runnable_module_name, - runnable_class_name=runnable_class_name, - data_dir=data_dir, - dataset=dataset) - - @staticmethod - def __create_args(runnable_module_name: str, runnable_class_name: Optional[str], data_dir: str, dataset: str): - args = ['testbed', runnable_module_name] - - if runnable_class_name: - args.extend(['-r', runnable_class_name]) - - args.extend(['--log-level', 'DEBUG', '--data-dir', data_dir, '--dataset', dataset]) - return args - - @staticmethod - def __format_cmd(args: List[str]): - return reduce(lambda txt, arg: txt + (' ' + arg if len(txt) > 0 else arg), args, '') - - def __run_cmd(self): - """ - Runs the command that has been configured via the builder. - - :return: The output of the command - """ - out = subprocess.run(self.args, capture_output=True, text=True, check=False) - - if out.returncode != 0: - self.callback.on_assertion_failure('Command "' + self.__format_cmd(self.args) - + '" terminated with non-zero exit code\n\n' + str(out.stderr)) - - return out - - @staticmethod - def __replace_durations_with_placeholders(line: str) -> str: - regex_duration = '(\\d+ (day(s)*|hour(s)*|minute(s)*|second(s)*|millisecond(s)*))' - return re.sub(regex_duration + '((, )' + regex_duration + ')*' + '(( and )' + regex_duration + ')?', - '', line) - - def __overwrite_output_file(self, stdout, expected_output_file): - with open(expected_output_file, 'w', encoding=ENCODING_UTF8) as file: - for line in stdout: - line = self.__replace_durations_with_placeholders(line) - line = line + '\n' - file.write(line) - - def __assert_output_files_are_equal(self, stdout, expected_output_file): - with open(expected_output_file, 'r', encoding=ENCODING_UTF8) as file: - for i, expected_line in enumerate(file): - expected_line = expected_line.strip('\n') - line = stdout[i] - line = line.strip('\n') - line = self.__replace_durations_with_placeholders(line) - - if expected_line != line: - self.callback.on_assertion_failure('Output of command "' + self.__format_cmd(self.args) - + '" differs at line ' + str(i + 1) + ': Should be "' - + expected_line + '", but is "' + line + '"') - - def __remove_tmp_dirs(self): - """ - Removes the temporary directories that have been used by a command. - """ - for tmp_dir in self.tmp_dirs: - shutil.rmtree(tmp_dir, ignore_errors=True) - - def __assert_model_files_exist(self): - """ - Asserts that the model files, which should be created by a command, exist. - """ - self._assert_files_exist(self.model_dir, self.model_file_name, 'model') - - def __assert_evaluation_files_exist(self): - """ - Asserts that the evaluation files, which should be created by a command, exist. - """ - if self.evaluation_stored: - prefix = 'evaluation' - suffix = 'csv' - training_data = not self.separate_train_test_sets - self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=training_data), suffix) - - if self.training_data_evaluated: - self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=True), suffix) - - def __assert_parameter_files_exist(self): - """ - Asserts that the parameter files, which should be created by a command, exist. - """ - if self.parameters_stored: - self._assert_files_exist(self.parameter_dir, 'parameters', 'csv') - - def __assert_prediction_files_exist(self): - """ - Asserts that the prediction files, which should be created by a command, exist. - """ - if self.predictions_stored: - prefix = 'predictions' - suffix = 'arff' - training_data = not self.separate_train_test_sets - self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=training_data), suffix) - - if self.training_data_evaluated: - self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=True), suffix) - - def __assert_prediction_characteristic_files_exist(self): - """ - Asserts that the prediction characteristic files, which should be created by a command, exist. - """ - if self.prediction_characteristics_stored: - prefix = 'prediction_characteristics' - suffix = 'csv' - training_data = not self.separate_train_test_sets - self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=training_data), suffix) - - if self.training_data_evaluated: - self._assert_output_files_exist(self._get_output_file_name(prefix, training_data=True), suffix) - - def __assert_data_characteristic_files_exist(self): - """ - Asserts that the data characteristic files, which should be created by a command, exist. - """ - if self.data_characteristics_stored: - self._assert_output_files_exist('data_characteristics', 'csv') - - def __assert_model_characteristic_files_exist(self): - """ - Asserts that the model characteristic files, which should be created by a command, exist. - """ - if self.model_characteristics_stored: - self._assert_output_files_exist('model_characteristics', 'csv') - - def __assert_rule_files_exist(self): - """ - Asserts that the rule files, which should be created by a command, exist. - """ - if self.rules_stored: - self._assert_output_files_exist('rules', 'txt') - - @staticmethod - def _get_output_file_name(prefix: str, training_data: bool = False): - """ - Returns the name of an output file (without suffix). - - :param prefix: The prefix of the file name - :param training_data: True, if the output file corresponds to the training data, False otherwise - :return: The name of the output file - """ - return prefix + '_' + ('training' if training_data else 'test') - - @staticmethod - def __get_file_name(name: str, suffix: str, fold: Optional[int] = None): - """ - Returns the name of an output file. - - :param name: The name of the file - :param suffix: The suffix of the file - :param fold: The fold, the file corresponds to or None, if it does not correspond to a specific fold - :return: The name of the output file - """ - if fold is not None: - return name + '_fold-' + str(fold) + '.' + suffix - return name + '_overall.' + suffix - - def __assert_file_exists(self, directory: str, file_name: str): - """ - Asserts that a specific file exists. - - :param directory: The path of the directory where the file should be located - :param file_name: The name of the file - """ - file = path.join(directory, file_name) - - if not path.isfile(file): - self.callback.on_assertion_failure('Command "' + self.__format_cmd(self.args) - + '" is expected to create file ' + str(file) - + ', but it does not exist') - - def _assert_files_exist(self, directory: str, file_name: str, suffix: str): - """ - Asserts that the files, which should be created by a command, exist. - - :param directory: The directory where the files should be located - :param file_name: The name of the files - :param suffix: The suffix of the files - """ - if directory is not None: - if self.num_folds > 0: - current_fold = self.current_fold - - if current_fold > 0: - self.__assert_file_exists(directory, self.__get_file_name(file_name, suffix, current_fold)) - else: - for i in range(self.num_folds): - self.__assert_file_exists(directory, self.__get_file_name(file_name, suffix, i + 1)) - else: - self.__assert_file_exists(directory, self.__get_file_name(file_name, suffix)) - - def _assert_output_files_exist(self, file_name: str, suffix: str): - """ - Asserts that output files, which should be created by a command, exist. - """ - self._assert_files_exist(self.output_dir, file_name, suffix) - - def _validate_output_files(self): - """ - May be overridden by subclasses in order to check if certain output files have been created. - """ - self.__assert_model_files_exist() - self.__assert_evaluation_files_exist() - self.__assert_parameter_files_exist() - self.__assert_prediction_files_exist() - self.__assert_prediction_characteristic_files_exist() - self.__assert_data_characteristic_files_exist() - self.__assert_model_characteristic_files_exist() - self.__assert_rule_files_exist() - - def run_cmd(self, expected_output_file_name: str = None): - """ - Runs a command that has been configured via the builder. - - :param expected_output_file_name: The name of the text file that contains the expected output of the command - """ - for tmp_dir in self.tmp_dirs: - makedirs(tmp_dir, exist_ok=True) - - out = self.__run_cmd() - - if self.model_dir is not None: - out = self.__run_cmd() - - if expected_output_file_name is not None: - stdout = str(out.stdout).splitlines() - expected_output_dir = self.expected_output_dir - - if OVERWRITE_EXPECTED_OUTPUT_FILES: - makedirs(expected_output_dir, exist_ok=True) - - expected_output_file = path.join(expected_output_dir, expected_output_file_name + '.txt') - - if OVERWRITE_EXPECTED_OUTPUT_FILES: - self.__overwrite_output_file(stdout, expected_output_file) - else: - self.__assert_output_files_are_equal(stdout, expected_output_file) - - if not OVERWRITE_EXPECTED_OUTPUT_FILES: - self._validate_output_files() - - self.__remove_tmp_dirs() - - def set_output_dir(self, output_dir: Optional[str] = DIR_RESULTS): - """ - Configures the rule learner to store output files in a given directory. - - :param output_dir: The path of the directory where output files should be stored - :return: The builder itself - """ - self.output_dir = output_dir - - if output_dir is not None: - self.args.append('--output-dir') - self.args.append(output_dir) - self.tmp_dirs.append(output_dir) - return self - - def set_model_dir(self, model_dir: Optional[str] = DIR_MODELS): - """ - Configures the rule learner to store models in a given directory or load them, if available. - - :param model_dir: The path of the directory where models should be stored - :return: The builder itself - """ - self.model_dir = model_dir - - if model_dir is not None: - self.args.append('--model-dir') - self.args.append(model_dir) - self.tmp_dirs.append(model_dir) - return self - - def set_parameter_dir(self, parameter_dir: Optional[str] = DIR_IN): - """ - Configures the rule learner to load parameter settings from a given directory, if available. - - :param parameter_dir: The path of the directory, where parameter settings are stored - :return: The builder itself - """ - self.parameter_dir = parameter_dir - - if parameter_dir is not None: - self.args.append('--parameter-dir') - self.args.append(parameter_dir) - return self - - def no_data_split(self): - """ - Configures the rule learner to not use separate training and test data. - - :return: The builder itself - """ - self.num_folds = 0 - self.current_fold = 0 - self.separate_train_test_sets = False - self.args.append('--data-split') - self.args.append('none') - return self - - def cross_validation(self, num_folds: int = 10, current_fold: int = 0): - """ - Configures the rule learner to use a cross validation. - - :param num_folds: The total number of folds - :param current_fold: The fold to be run or 0, if all folds should be run - :return: The builder itself - """ - self.num_folds = num_folds - self.current_fold = current_fold - self.separate_train_test_sets = True - self.args.append('--data-split') - self.args.append('cross-validation{num_folds=' + str(num_folds) + ',current_fold=' + str(current_fold) + '}') - return self - - def sparse_feature_value(self, sparse_feature_value: float = 0.0): - """ - Configures the value that should be used for sparse elements in the feature matrix. - - :param sparse_feature_value: The value that should be used for sparse elements in the feature matrix - :return: The builder itself - """ - self.args.append('--sparse-feature-value') - self.args.append(str(sparse_feature_value)) - return self - - def evaluate_training_data(self, evaluate_training_data: bool = True): - """ - Configures whether the rule learner should be evaluated on the training data or not. - - :param evaluate_training_data: True, if the rule learner should be evaluated on the training data, False - otherwise - :return: The builder itself - """ - self.training_data_evaluated = evaluate_training_data - self.args.append('--evaluate-training-data') - self.args.append(str(evaluate_training_data).lower()) - return self - - def incremental_evaluation(self, incremental_evaluation: bool = True, step_size: int = 50): - """ - Configures whether the model that is learned by the rule learner should be evaluated repeatedly, using only a - subset of the rules with increasing size. - - :param incremental_evaluation: True, if the rule learner should be evaluated incrementally, False otherwise - :param step_size: The number of additional rules to be evaluated at each repetition - :return: The builder itself - """ - self.args.append('--incremental-evaluation') - value = str(incremental_evaluation).lower() - - if incremental_evaluation: - value += '{step_size=' + str(step_size) + '}' - - self.args.append(value) - return self - - def print_evaluation(self, print_evaluation: bool = True): - """ - Configures whether the evaluation results should be printed on the console or not. - - :param print_evaluation: True, if the evaluation results should be printed, False otherwise - :return: The builder self - """ - self.args.append('--print-evaluation') - self.args.append(str(print_evaluation).lower()) - return self - - def store_evaluation(self, store_evaluation: bool = True): - """ - Configures whether the evaluation results should be written into output files or not. - - :param store_evaluation: True, if the evaluation results should be written into output files or not - :return: The builder itself - """ - self.evaluation_stored = store_evaluation - self.args.append('--store-evaluation') - self.args.append(str(store_evaluation).lower()) - return self - - def print_parameters(self, print_parameters: bool = True): - """ - Configures whether the parameters should be printed on the console or not. - - :param print_parameters: True, if the parameters should be printed, False otherwise - :return: The builder itself - """ - self.args.append('--print-parameters') - self.args.append(str(print_parameters).lower()) - return self - - def store_parameters(self, store_parameters: bool = True): - """ - Configures whether the parameters should be written into output files or not. - - :param store_parameters: True, if the parameters should be written into output files, False otherwise - :return: The builder itself - """ - self.parameters_stored = store_parameters - self.args.append('--store-parameters') - self.args.append(str(store_parameters).lower()) - return self - - def print_predictions(self, print_predictions: bool = True): - """ - Configures whether the predictions should be printed on the console or not. - - :param print_predictions: True, if the predictions should be printed, False otherwise - :return: The builder itself - """ - self.args.append('--print-predictions') - self.args.append(str(print_predictions).lower()) - return self - - def store_predictions(self, store_predictions: bool = True): - """ - Configures whether the predictions should be written into output files or not. - - :param store_predictions: True, if the predictions should be written into output files, False otherwise - :return: The builder itself - """ - self.predictions_stored = store_predictions - self.args.append('--store-predictions') - self.args.append(str(store_predictions).lower()) - return self - - def print_prediction_characteristics(self, print_prediction_characteristics: bool = True): - """ - Configures whether the characteristics of predictions should be printed on the console or not. - - :param print_prediction_characteristics: True, if the characteristics of predictions should be printed, False - otherwise - :return: The builder itself - """ - self.args.append('--print-prediction-characteristics') - self.args.append(str(print_prediction_characteristics).lower()) - return self - - def store_prediction_characteristics(self, store_prediction_characteristics: bool = True): - """ - Configures whether the characteristics of predictions should be written into output files or not. - - :param store_prediction_characteristics: True, if the characteristics of predictions should be written into - output files, False otherwise - :return: The builder itself - """ - self.prediction_characteristics_stored = store_prediction_characteristics - self.args.append('--store-prediction-characteristics') - self.args.append(str(store_prediction_characteristics).lower()) - return self - - def print_data_characteristics(self, print_data_characteristics: bool = True): - """ - Configures whether the characteristics of datasets should be printed on the console or not. - - :param print_data_characteristics: True, if the characteristics of datasets should be printed, False otherwise - :return: The builder itself - """ - self.args.append('--print-data-characteristics') - self.args.append(str(print_data_characteristics).lower()) - return self - - def store_data_characteristics(self, store_data_characteristics: bool = True): - """ - Configures whether the characteristics of datasets should be written into output files or not. - - :param store_data_characteristics: True, if the characteristics of datasets should be written into output - files, False otherwise - :return: The builder itself - """ - self.data_characteristics_stored = store_data_characteristics - self.args.append('--store-data-characteristics') - self.args.append(str(store_data_characteristics).lower()) - return self - - def print_model_characteristics(self, print_model_characteristics: bool = True): - """ - Configures whether the characteristics of models should be printed on the console or not. - - :param print_model_characteristics: True, if the characteristics of models should be printed, False otherwise - :return: The builder itself - """ - self.args.append('--print-model-characteristics') - self.args.append(str(print_model_characteristics).lower()) - return self - - def store_model_characteristics(self, store_model_characteristics: bool = True): - """ - Configures whether the characteristics of models should be written into output files or not. - - :param store_model_characteristics: True, if the characteristics of models should be written into output files, - False otherwise - :return: The builder itself - """ - self.model_characteristics_stored = store_model_characteristics - self.args.append('--store-model-characteristics') - self.args.append(str(store_model_characteristics).lower()) - return self - - def print_rules(self, print_rules: bool = True): - """ - Configures whether textual representations of the rules in a model should be printed on the console or not. - - :param print_rules: True, if textual representations of rules should be printed, False otherwise - :return: The builder itself - """ - self.args.append('--print-rules') - self.args.append(str(print_rules).lower()) - return self - - def store_rules(self, store_rules: bool = True): - """ - Configures whether textual representations of the rules in a model should be written into output files or not. - - :param store_rules: True, if textual representations of rules should be written into output files, False - otherwise - :return: The builder itself - """ - self.rules_stored = store_rules - self.args.append('--store-rules') - self.args.append(str(store_rules).lower()) - return self - - def sparse_feature_format(self, sparse: bool = True): - """ - Configures whether sparse data structures should be used to represent the feature values of training examples or - not. - - :param sparse: True, if sparse data structures should be used to represent the feature values of training - examples, False otherwise - :return: The builder itself - """ - self.args.append('--feature-format') - self.args.append('sparse' if sparse else 'dense') - return self - - def sparse_output_format(self, sparse: bool = True): - """ - Configures whether sparse data structures should be used to represent the labels of training examples or not. - - :param sparse: True, if sparse data structures should be used to represent the labels of training examples, - False otherwise - :return: The builder itself - """ - self.args.append('--output-format') - self.args.append('sparse' if sparse else 'dense') - return self - - def sparse_prediction_format(self, sparse: bool = True): - """ - Configures whether sparse data structures should be used to represent predictions or not. - - :param sparse: True, if sparse data structures should be used to represent predictions, False otherwise - :return: The builder itself - """ - self.args.append('--prediction-format') - self.args.append('sparse' if sparse else 'dense') - return self - - def instance_sampling(self, instance_sampling: str = INSTANCE_SAMPLING_WITHOUT_REPLACEMENT): - """ - Configures the rule learner to sample from the available training examples. - - :param instance_sampling: The name of the sampling method that should be used - :return: The builder itself - """ - self.args.append('--instance-sampling') - self.args.append(instance_sampling) - return self - - def feature_sampling(self, feature_sampling: str = FEATURE_SAMPLING_WITHOUT_REPLACEMENT): - """ - Configures the rule learner to sample from the available features. - - :param feature_sampling: The name of the sampling method that should be used - :return: The builder itself - """ - self.args.append('--feature-sampling') - self.args.append(feature_sampling) - return self - - def output_sampling(self, output_sampling: str = OUTPUT_SAMPLING_WITHOUT_REPLACEMENT): - """ - Configures the rule learner to sample from the available outputs. - - :param output_sampling: The name of the sampling method that should be used - :return: The builder itself - """ - self.args.append('--output-sampling') - self.args.append(output_sampling) - return self - - def rule_pruning(self, rule_pruning: str = RULE_PRUNING_IREP): - """ - Configures the rule learner to use a specific method for pruning individual rules. - - :param rule_pruning: The name of the pruning method that should be used - :return: The builder itself - """ - self.args.append('--rule-pruning') - self.args.append(rule_pruning) - return self - - def rule_induction(self, rule_induction=RULE_INDUCTION_TOP_DOWN_GREEDY): - """ - Configures the rule learner to use a specific algorithm for the induction of individual rules. - - :param rule_induction: The name of the algorithm that should be used - :return: The builder itself - """ - self.args.append('--rule-induction') - self.args.append(rule_induction) - return self - - def sequential_post_optimization(self, sequential_post_optimization: bool = True): - """ - Configures whether the algorithm should use sequential post-optimization or not. - - :param sequential_post_optimization: True, if sequential post-optimization should be used, False otherwise - :return: The builder itself - """ - self.args.append('--sequential-post-optimization') - self.args.append(str(sequential_post_optimization).lower()) - return self - - def holdout(self, holdout: str = HOLDOUT_RANDOM): - """ - Configures the algorithm to use a holdout set. - - :param holdout: The name of the sampling method that should be used to create the holdout set - :return: The builder itself - """ - self.args.append('--holdout') - self.args.append(holdout) - return self - - def feature_binning(self, feature_binning: str = FEATURE_BINNING_EQUAL_WIDTH): - """ - Configures the algorithm to use a specific method for feature binning. - - :param feature_binning: The name of the method that should be used for feature binning - :return: The builder itself - """ - self.args.append('--feature-binning') - self.args.append(feature_binning) - return self +from .cmd_builder import DATASET_BREAST_CANCER, DATASET_EMOTIONS, DATASET_EMOTIONS_NOMINAL, DATASET_EMOTIONS_ORDINAL, \ + DATASET_ENRON, DATASET_LANGLOG, DATASET_MEKA, FEATURE_BINNING_EQUAL_FREQUENCY, FEATURE_BINNING_EQUAL_WIDTH, \ + FEATURE_SAMPLING_NO, FEATURE_SAMPLING_WITHOUT_REPLACEMENT, INSTANCE_SAMPLING_NO, \ + INSTANCE_SAMPLING_WITH_REPLACEMENT, INSTANCE_SAMPLING_WITHOUT_REPLACEMENT, OUTPUT_SAMPLING_NO, \ + OUTPUT_SAMPLING_ROUND_ROBIN, OUTPUT_SAMPLING_WITHOUT_REPLACEMENT, RULE_INDUCTION_TOP_DOWN_BEAM_SEARCH, \ + RULE_PRUNING_IREP, RULE_PRUNING_NO, CmdBuilder class IntegrationTests(TestCase, CmdBuilder.AssertionCallback, ABC): @@ -856,6 +58,9 @@ def _create_cmd_builder(self, dataset: str = DATASET_EMOTIONS) -> Any: @classmethod def setUpClass(cls): + """ + Sets up the test class. + """ if cls is IntegrationTests: raise SkipTest(cls.__name__ + ' is an abstract base class') if not platform.startswith('linux'): @@ -864,6 +69,9 @@ def setUpClass(cls): super().setUpClass() def on_assertion_failure(self, message: str): + """ + See `CmdBuilder.AssertionCallback.on_assertion_failure`. + """ self.fail(message) def test_single_output(self): diff --git a/python/tests/mlrl/common/integration_tests_classification.py b/python/tests/mlrl/common/integration_tests_classification.py new file mode 100644 index 0000000000..00e112c136 --- /dev/null +++ b/python/tests/mlrl/common/integration_tests_classification.py @@ -0,0 +1,104 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +from abc import ABC +from unittest import SkipTest + +from .cmd_builder import DATASET_BREAST_CANCER, DATASET_EMOTIONS, DATASET_EMOTIONS_NOMINAL, DATASET_EMOTIONS_ORDINAL, \ + DATASET_ENRON, DATASET_LANGLOG +from .cmd_builder_classification import INSTANCE_SAMPLING_STRATIFIED_EXAMPLE_WISE, \ + INSTANCE_SAMPLING_STRATIFIED_OUTPUT_WISE +from .integration_tests import IntegrationTests + + +class ClassificationIntegrationTests(IntegrationTests, ABC): + """ + Defines a series of integration tests for any type of rule learning algorithm that can be applied to classification + problems. + """ + + # pylint: disable=invalid-name + def __init__(self, + dataset_default: str = DATASET_EMOTIONS, + dataset_numerical_sparse: str = DATASET_LANGLOG, + dataset_binary: str = DATASET_ENRON, + dataset_nominal: str = DATASET_EMOTIONS_NOMINAL, + dataset_ordinal: str = DATASET_EMOTIONS_ORDINAL, + dataset_single_output: str = DATASET_BREAST_CANCER, + methodName='runTest'): + super().__init__(dataset_default=dataset_default, + dataset_numerical_sparse=dataset_numerical_sparse, + dataset_binary=dataset_binary, + dataset_nominal=dataset_nominal, + dataset_ordinal=dataset_ordinal, + dataset_single_output=dataset_single_output, + methodName=methodName) + + @classmethod + def setUpClass(cls): + """ + Sets up the test class. + """ + if cls is ClassificationIntegrationTests: + raise SkipTest(cls.__name__ + ' is an abstract base class') + + super().setUpClass() + + def test_label_vectors_train_test(self): + """ + Tests the functionality to store the unique label vectors contained in the data used for training by the rule + learning algorithm when using a split of the dataset into training and test data. + """ + builder = self._create_cmd_builder(dataset=self.dataset_default) \ + .print_evaluation(False) \ + .store_evaluation(False) \ + .set_output_dir() \ + .print_label_vectors() \ + .store_label_vectors() + builder.run_cmd('label-vectors_train-test') + + def test_label_vectors_cross_validation(self): + """ + Tests the functionality to store the unique label vectors contained in the data used for training by the rule + learning algorithm when using a cross validation. + """ + builder = self._create_cmd_builder(dataset=self.dataset_default) \ + .cross_validation() \ + .print_evaluation(False) \ + .store_evaluation(False) \ + .set_output_dir() \ + .print_label_vectors() \ + .store_label_vectors() + builder.run_cmd('label-vectors_cross-validation') + + def test_label_vectors_single_fold(self): + """ + Tests the functionality to store the unique label vectors contained in the data used for training by the rule + learning algorithm when using a single fold of a cross validation. + """ + builder = self._create_cmd_builder(dataset=self.dataset_default) \ + .cross_validation(current_fold=1) \ + .print_evaluation(False) \ + .store_evaluation(False) \ + .set_output_dir() \ + .print_label_vectors() \ + .store_label_vectors() + builder.run_cmd('label-vectors_single-fold') + + def test_instance_sampling_stratified_output_wise(self): + """ + Tests the rule learning algorithm when using a method to sample from the available training examples using + label-wise stratification. + """ + builder = self._create_cmd_builder(dataset=self.dataset_default) \ + .instance_sampling(INSTANCE_SAMPLING_STRATIFIED_OUTPUT_WISE) + builder.run_cmd('instance-sampling-stratified-output-wise') + + def test_instance_sampling_stratified_example_wise(self): + """ + Tests the rule learning algorithm when using a method to sample from the available training examples using + example-wise stratification. + """ + builder = self._create_cmd_builder(dataset=self.dataset_default) \ + .instance_sampling(INSTANCE_SAMPLING_STRATIFIED_EXAMPLE_WISE) + builder.run_cmd('instance-sampling-stratified-example-wise') diff --git a/python/subprojects/testbed/tests/test_common_regression.py b/python/tests/mlrl/common/integration_tests_regression.py similarity index 61% rename from python/subprojects/testbed/tests/test_common_regression.py rename to python/tests/mlrl/common/integration_tests_regression.py index 6135f46857..94e2d76ef3 100644 --- a/python/subprojects/testbed/tests/test_common_regression.py +++ b/python/tests/mlrl/common/integration_tests_regression.py @@ -2,35 +2,11 @@ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ from abc import ABC -from typing import Optional from unittest import SkipTest -from test_common import DATASET_ATP7D, DATASET_ATP7D_BINARY, DATASET_ATP7D_MEKA, DATASET_ATP7D_NOMINAL, \ - DATASET_ATP7D_NUMERICAL_SPARSE, DATASET_ATP7D_ORDINAL, DATASET_HOUSING, DIR_DATA, CmdBuilder, IntegrationTests - - -class RegressionCmdBuilder(CmdBuilder): - """ - A builder that allows to configure a command for applying a rule learning algorithm to a regression problem. - """ - - def __init__(self, - callback: CmdBuilder.AssertionCallback, - expected_output_dir: str, - model_file_name: str, - runnable_module_name: str, - runnable_class_name: Optional[str] = None, - data_dir: str = DIR_DATA, - dataset: str = DATASET_ATP7D): - super().__init__(callback=callback, - expected_output_dir=expected_output_dir, - model_file_name=model_file_name, - runnable_module_name=runnable_module_name, - runnable_class_name=runnable_class_name, - data_dir=data_dir, - dataset=dataset) - self.args.append('--problem-type') - self.args.append('regression') +from .cmd_builder import DATASET_ATP7D, DATASET_ATP7D_BINARY, DATASET_ATP7D_MEKA, DATASET_ATP7D_NOMINAL, \ + DATASET_ATP7D_NUMERICAL_SPARSE, DATASET_ATP7D_ORDINAL, DATASET_HOUSING +from .integration_tests import IntegrationTests class RegressionIntegrationTests(IntegrationTests, ABC): @@ -39,6 +15,7 @@ class RegressionIntegrationTests(IntegrationTests, ABC): problems. """ + # pylint: disable=invalid-name def __init__(self, dataset_default: str = DATASET_ATP7D, dataset_numerical_sparse: str = DATASET_ATP7D_NUMERICAL_SPARSE, @@ -59,6 +36,9 @@ def __init__(self, @classmethod def setUpClass(cls): + """ + Sets up the test class. + """ if cls is RegressionIntegrationTests: raise SkipTest(cls.__name__ + ' is an abstract base class') diff --git a/python/tests/mlrl/seco/__init__.py b/python/tests/mlrl/seco/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/python/tests/mlrl/seco/cmd_builder.py b/python/tests/mlrl/seco/cmd_builder.py new file mode 100644 index 0000000000..749c076f67 --- /dev/null +++ b/python/tests/mlrl/seco/cmd_builder.py @@ -0,0 +1,89 @@ +""" +Author: Michael Rapp (michael.rapp.ml@gmail.com) +""" +from os import path + +from ..common.cmd_builder import DATASET_EMOTIONS, DIR_OUT, CmdBuilder +from ..common.cmd_builder_classification import ClassificationCmdBuilder + +HEURISTIC_ACCURACY = 'accuracy' + +HEURISTIC_PRECISION = 'precision' + +HEURISTIC_LAPLACE = 'laplace' + +HEURISTIC_RECALL = 'recall' + +HEURISTIC_WRA = 'weighted-relative-accuracy' + +HEURISTIC_F_MEASURE = 'f-measure' + +HEURISTIC_M_ESTIMATE = 'm-estimate' + +HEAD_TYPE_SINGLE = 'single' + +HEAD_TYPE_PARTIAL = 'partial' + +LIFT_FUNCTION_NO = 'none' + +LIFT_FUNCTION_PEAK = 'peak' + +LIFT_FUNCTION_KLN = 'kln' + + +class SeCoClassifierCmdBuilder(ClassificationCmdBuilder): + """ + A builder that allows to configure a command for running the separate-and-conquer (SeCo) algorithm. + """ + + def __init__(self, callback: CmdBuilder.AssertionCallback, dataset: str = DATASET_EMOTIONS): + super().__init__(callback, + expected_output_dir=path.join(DIR_OUT, 'seco-classifier'), + model_file_name='seco', + runnable_module_name='mlrl.seco', + dataset=dataset) + + def heuristic(self, heuristic: str = HEURISTIC_F_MEASURE): + """ + Configures the algorithm to use a specific heuristic for learning rules. + + :param heuristic: The name of the heuristic that should be used for learning rules + :return: The builder itself + """ + self.args.append('--heuristic') + self.args.append(heuristic) + return self + + def pruning_heuristic(self, heuristic: str = HEURISTIC_ACCURACY): + """ + Configures the algorithm to use a specific heuristic for pruning rules. + + :param heuristic: The name of the heuristic that should be used for pruning rules + :return: The builder itself + """ + self.args.append('--pruning-heuristic') + self.args.append(heuristic) + return self + + def head_type(self, head_type: str = HEAD_TYPE_SINGLE): + """ + Configures the algorithm to use a specific type of rule heads. + + :param head_type: The type of rule heads to be used + :return: The builder itself + """ + self.args.append('--head-type') + self.args.append(head_type) + return self + + def lift_function(self, lift_function: str = LIFT_FUNCTION_PEAK): + """ + Configures the algorithm to use a specific lift function for the induction of rules with partial heads. + + :param lift_function: The name of the lift function that should be used for the induction of rules with + partial heads + :return: The builder itself + """ + self.args.append('--lift-function') + self.args.append(lift_function) + return self diff --git a/python/subprojects/testbed/tests/test_seco_classifier.py b/python/tests/mlrl/seco/test_classifier.py similarity index 69% rename from python/subprojects/testbed/tests/test_seco_classifier.py rename to python/tests/mlrl/seco/test_classifier.py index 0099c8b3d7..8ef19faa16 100644 --- a/python/subprojects/testbed/tests/test_seco_classifier.py +++ b/python/tests/mlrl/seco/test_classifier.py @@ -1,93 +1,13 @@ """ Author: Michael Rapp (michael.rapp.ml@gmail.com) """ -from os import path from typing import Any -from test_common import DATASET_EMOTIONS, DIR_OUT, RULE_PRUNING_IREP, CmdBuilder -from test_common_classification import ClassificationCmdBuilder, ClassificationIntegrationTests - -HEURISTIC_ACCURACY = 'accuracy' - -HEURISTIC_PRECISION = 'precision' - -HEURISTIC_LAPLACE = 'laplace' - -HEURISTIC_RECALL = 'recall' - -HEURISTIC_WRA = 'weighted-relative-accuracy' - -HEURISTIC_F_MEASURE = 'f-measure' - -HEURISTIC_M_ESTIMATE = 'm-estimate' - -HEAD_TYPE_SINGLE = 'single' - -HEAD_TYPE_PARTIAL = 'partial' - -LIFT_FUNCTION_NO = 'none' - -LIFT_FUNCTION_PEAK = 'peak' - -LIFT_FUNCTION_KLN = 'kln' - - -class SeCoClassifierCmdBuilder(ClassificationCmdBuilder): - """ - A builder that allows to configure a command for running the separate-and-conquer (SeCo) algorithm. - """ - - def __init__(self, callback: CmdBuilder.AssertionCallback, dataset: str = DATASET_EMOTIONS): - super().__init__(callback, - expected_output_dir=path.join(DIR_OUT, 'seco-classifier'), - model_file_name='seco', - runnable_module_name='mlrl.seco', - dataset=dataset) - - def heuristic(self, heuristic: str = HEURISTIC_F_MEASURE): - """ - Configures the algorithm to use a specific heuristic for learning rules. - - :param heuristic: The name of the heuristic that should be used for learning rules - :return: The builder itself - """ - self.args.append('--heuristic') - self.args.append(heuristic) - return self - - def pruning_heuristic(self, heuristic: str = HEURISTIC_ACCURACY): - """ - Configures the algorithm to use a specific heuristic for pruning rules. - - :param heuristic: The name of the heuristic that should be used for pruning rules - :return: The builder itself - """ - self.args.append('--pruning-heuristic') - self.args.append(heuristic) - return self - - def head_type(self, head_type: str = HEAD_TYPE_SINGLE): - """ - Configures the algorithm to use a specific type of rule heads. - - :param head_type: The type of rule heads to be used - :return: The builder itself - """ - self.args.append('--head-type') - self.args.append(head_type) - return self - - def lift_function(self, lift_function: str = LIFT_FUNCTION_PEAK): - """ - Configures the algorithm to use a specific lift function for the induction of rules with partial heads. - - :param lift_function: The name of the lift function that should be used for the induction of rules with - partial heads - :return: The builder itself - """ - self.args.append('--lift-function') - self.args.append(lift_function) - return self +from ..common.cmd_builder import DATASET_EMOTIONS, RULE_PRUNING_IREP +from ..common.integration_tests_classification import ClassificationIntegrationTests +from .cmd_builder import HEAD_TYPE_PARTIAL, HEAD_TYPE_SINGLE, HEURISTIC_ACCURACY, HEURISTIC_F_MEASURE, \ + HEURISTIC_LAPLACE, HEURISTIC_M_ESTIMATE, HEURISTIC_PRECISION, HEURISTIC_RECALL, HEURISTIC_WRA, LIFT_FUNCTION_KLN, \ + LIFT_FUNCTION_NO, LIFT_FUNCTION_PEAK, SeCoClassifierCmdBuilder class SeCoClassifierIntegrationTests(ClassificationIntegrationTests): @@ -95,6 +15,7 @@ class SeCoClassifierIntegrationTests(ClassificationIntegrationTests): Defines a series of integration tests for the separate-and-conquer (SeCo) algorithm for classification problems. """ + # pylint: disable=invalid-name def __init__(self, methodName='runTest'): super().__init__(methodName=methodName) diff --git a/python/subprojects/testbed/tests/res/data/atp7d-binary.arff b/python/tests/res/data/atp7d-binary.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-binary.arff rename to python/tests/res/data/atp7d-binary.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-binary.xml b/python/tests/res/data/atp7d-binary.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-binary.xml rename to python/tests/res/data/atp7d-binary.xml diff --git a/python/subprojects/testbed/tests/res/data/atp7d-meka.arff b/python/tests/res/data/atp7d-meka.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-meka.arff rename to python/tests/res/data/atp7d-meka.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-nominal.arff b/python/tests/res/data/atp7d-nominal.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-nominal.arff rename to python/tests/res/data/atp7d-nominal.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-nominal.xml b/python/tests/res/data/atp7d-nominal.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-nominal.xml rename to python/tests/res/data/atp7d-nominal.xml diff --git a/python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.arff b/python/tests/res/data/atp7d-numerical-sparse.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.arff rename to python/tests/res/data/atp7d-numerical-sparse.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.xml b/python/tests/res/data/atp7d-numerical-sparse.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.xml rename to python/tests/res/data/atp7d-numerical-sparse.xml diff --git a/python/subprojects/testbed/tests/res/data/atp7d-ordinal.arff b/python/tests/res/data/atp7d-ordinal.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-ordinal.arff rename to python/tests/res/data/atp7d-ordinal.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-ordinal.xml b/python/tests/res/data/atp7d-ordinal.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-ordinal.xml rename to python/tests/res/data/atp7d-ordinal.xml diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined.xml b/python/tests/res/data/atp7d-predefined.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined.xml rename to python/tests/res/data/atp7d-predefined.xml diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-1.arff b/python/tests/res/data/atp7d-predefined_fold-1.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-1.arff rename to python/tests/res/data/atp7d-predefined_fold-1.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-10.arff b/python/tests/res/data/atp7d-predefined_fold-10.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-10.arff rename to python/tests/res/data/atp7d-predefined_fold-10.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-2.arff b/python/tests/res/data/atp7d-predefined_fold-2.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-2.arff rename to python/tests/res/data/atp7d-predefined_fold-2.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-3.arff b/python/tests/res/data/atp7d-predefined_fold-3.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-3.arff rename to python/tests/res/data/atp7d-predefined_fold-3.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-4.arff b/python/tests/res/data/atp7d-predefined_fold-4.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-4.arff rename to python/tests/res/data/atp7d-predefined_fold-4.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-5.arff b/python/tests/res/data/atp7d-predefined_fold-5.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-5.arff rename to python/tests/res/data/atp7d-predefined_fold-5.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-6.arff b/python/tests/res/data/atp7d-predefined_fold-6.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-6.arff rename to python/tests/res/data/atp7d-predefined_fold-6.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-7.arff b/python/tests/res/data/atp7d-predefined_fold-7.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-7.arff rename to python/tests/res/data/atp7d-predefined_fold-7.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-8.arff b/python/tests/res/data/atp7d-predefined_fold-8.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-8.arff rename to python/tests/res/data/atp7d-predefined_fold-8.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-9.arff b/python/tests/res/data/atp7d-predefined_fold-9.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-9.arff rename to python/tests/res/data/atp7d-predefined_fold-9.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_test.arff b/python/tests/res/data/atp7d-predefined_test.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_test.arff rename to python/tests/res/data/atp7d-predefined_test.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d-predefined_training.arff b/python/tests/res/data/atp7d-predefined_training.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d-predefined_training.arff rename to python/tests/res/data/atp7d-predefined_training.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d.arff b/python/tests/res/data/atp7d.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d.arff rename to python/tests/res/data/atp7d.arff diff --git a/python/subprojects/testbed/tests/res/data/atp7d.xml b/python/tests/res/data/atp7d.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/atp7d.xml rename to python/tests/res/data/atp7d.xml diff --git a/python/subprojects/testbed/tests/res/data/breast-cancer.arff b/python/tests/res/data/breast-cancer.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/breast-cancer.arff rename to python/tests/res/data/breast-cancer.arff diff --git a/python/subprojects/testbed/tests/res/data/breast-cancer.xml b/python/tests/res/data/breast-cancer.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/breast-cancer.xml rename to python/tests/res/data/breast-cancer.xml diff --git a/python/subprojects/testbed/tests/res/data/emotions-nominal.arff b/python/tests/res/data/emotions-nominal.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-nominal.arff rename to python/tests/res/data/emotions-nominal.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-nominal.xml b/python/tests/res/data/emotions-nominal.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-nominal.xml rename to python/tests/res/data/emotions-nominal.xml diff --git a/python/subprojects/testbed/tests/res/data/emotions-ordinal.arff b/python/tests/res/data/emotions-ordinal.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-ordinal.arff rename to python/tests/res/data/emotions-ordinal.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-ordinal.xml b/python/tests/res/data/emotions-ordinal.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-ordinal.xml rename to python/tests/res/data/emotions-ordinal.xml diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined.xml b/python/tests/res/data/emotions-predefined.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined.xml rename to python/tests/res/data/emotions-predefined.xml diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-1.arff b/python/tests/res/data/emotions-predefined_fold-1.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-1.arff rename to python/tests/res/data/emotions-predefined_fold-1.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-10.arff b/python/tests/res/data/emotions-predefined_fold-10.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-10.arff rename to python/tests/res/data/emotions-predefined_fold-10.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-2.arff b/python/tests/res/data/emotions-predefined_fold-2.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-2.arff rename to python/tests/res/data/emotions-predefined_fold-2.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-3.arff b/python/tests/res/data/emotions-predefined_fold-3.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-3.arff rename to python/tests/res/data/emotions-predefined_fold-3.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-4.arff b/python/tests/res/data/emotions-predefined_fold-4.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-4.arff rename to python/tests/res/data/emotions-predefined_fold-4.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-5.arff b/python/tests/res/data/emotions-predefined_fold-5.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-5.arff rename to python/tests/res/data/emotions-predefined_fold-5.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-6.arff b/python/tests/res/data/emotions-predefined_fold-6.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-6.arff rename to python/tests/res/data/emotions-predefined_fold-6.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-7.arff b/python/tests/res/data/emotions-predefined_fold-7.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-7.arff rename to python/tests/res/data/emotions-predefined_fold-7.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-8.arff b/python/tests/res/data/emotions-predefined_fold-8.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-8.arff rename to python/tests/res/data/emotions-predefined_fold-8.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_fold-9.arff b/python/tests/res/data/emotions-predefined_fold-9.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_fold-9.arff rename to python/tests/res/data/emotions-predefined_fold-9.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_test.arff b/python/tests/res/data/emotions-predefined_test.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_test.arff rename to python/tests/res/data/emotions-predefined_test.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions-predefined_training.arff b/python/tests/res/data/emotions-predefined_training.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions-predefined_training.arff rename to python/tests/res/data/emotions-predefined_training.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions.arff b/python/tests/res/data/emotions.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions.arff rename to python/tests/res/data/emotions.arff diff --git a/python/subprojects/testbed/tests/res/data/emotions.xml b/python/tests/res/data/emotions.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/emotions.xml rename to python/tests/res/data/emotions.xml diff --git a/python/subprojects/testbed/tests/res/data/enron.arff b/python/tests/res/data/enron.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/enron.arff rename to python/tests/res/data/enron.arff diff --git a/python/subprojects/testbed/tests/res/data/enron.xml b/python/tests/res/data/enron.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/enron.xml rename to python/tests/res/data/enron.xml diff --git a/python/subprojects/testbed/tests/res/data/housing.arff b/python/tests/res/data/housing.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/housing.arff rename to python/tests/res/data/housing.arff diff --git a/python/subprojects/testbed/tests/res/data/housing.xml b/python/tests/res/data/housing.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/housing.xml rename to python/tests/res/data/housing.xml diff --git a/python/subprojects/testbed/tests/res/data/langlog.arff b/python/tests/res/data/langlog.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/langlog.arff rename to python/tests/res/data/langlog.arff diff --git a/python/subprojects/testbed/tests/res/data/langlog.xml b/python/tests/res/data/langlog.xml similarity index 100% rename from python/subprojects/testbed/tests/res/data/langlog.xml rename to python/tests/res/data/langlog.xml diff --git a/python/subprojects/testbed/tests/res/data/meka.arff b/python/tests/res/data/meka.arff similarity index 100% rename from python/subprojects/testbed/tests/res/data/meka.arff rename to python/tests/res/data/meka.arff diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-1.csv b/python/tests/res/in/parameters_fold-1.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-1.csv rename to python/tests/res/in/parameters_fold-1.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-10.csv b/python/tests/res/in/parameters_fold-10.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-10.csv rename to python/tests/res/in/parameters_fold-10.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-2.csv b/python/tests/res/in/parameters_fold-2.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-2.csv rename to python/tests/res/in/parameters_fold-2.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-3.csv b/python/tests/res/in/parameters_fold-3.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-3.csv rename to python/tests/res/in/parameters_fold-3.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-4.csv b/python/tests/res/in/parameters_fold-4.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-4.csv rename to python/tests/res/in/parameters_fold-4.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-5.csv b/python/tests/res/in/parameters_fold-5.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-5.csv rename to python/tests/res/in/parameters_fold-5.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-6.csv b/python/tests/res/in/parameters_fold-6.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-6.csv rename to python/tests/res/in/parameters_fold-6.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-7.csv b/python/tests/res/in/parameters_fold-7.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-7.csv rename to python/tests/res/in/parameters_fold-7.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-8.csv b/python/tests/res/in/parameters_fold-8.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-8.csv rename to python/tests/res/in/parameters_fold-8.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_fold-9.csv b/python/tests/res/in/parameters_fold-9.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_fold-9.csv rename to python/tests/res/in/parameters_fold-9.csv diff --git a/python/subprojects/testbed/tests/res/in/parameters_overall.csv b/python/tests/res/in/parameters_overall.csv similarity index 100% rename from python/subprojects/testbed/tests/res/in/parameters_overall.csv rename to python/tests/res/in/parameters_overall.csv diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/binary-features-dense.txt b/python/tests/res/out/boomer-classifier/binary-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/binary-features-dense.txt rename to python/tests/res/out/boomer-classifier/binary-features-dense.txt index 4fccef8155..a31d9d58fa 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/binary-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/binary-features-sparse.txt b/python/tests/res/out/boomer-classifier/binary-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/binary-features-sparse.txt rename to python/tests/res/out/boomer-classifier/binary-features-sparse.txt index 903a1acbf1..a90860501f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/binary-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_cross-validation.txt b/python/tests/res/out/boomer-classifier/data-characteristics_cross-validation.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_cross-validation.txt rename to python/tests/res/out/boomer-classifier/data-characteristics_cross-validation.txt index 50a8196bf5..18d61a09a9 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/data-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Data characteristics (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_single-fold.txt b/python/tests/res/out/boomer-classifier/data-characteristics_single-fold.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_single-fold.txt rename to python/tests/res/out/boomer-classifier/data-characteristics_single-fold.txt index 7415dcd763..b66a184f08 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/data-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Data characteristics (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_train-test.txt b/python/tests/res/out/boomer-classifier/data-characteristics_train-test.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_train-test.txt rename to python/tests/res/out/boomer-classifier/data-characteristics_train-test.txt index 0782b07520..2faa9bbc8b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/data-characteristics_train-test.txt +++ b/python/tests/res/out/boomer-classifier/data-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Data characteristics: Examples 397 diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-complete-heads.txt b/python/tests/res/out/boomer-classifier/decomposable-complete-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-complete-heads.txt rename to python/tests/res/out/boomer-classifier/decomposable-complete-heads.txt index 15a38f5081..5e2f06cc1e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-complete-heads.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-complete-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-complete-heads_equal-width-label-binning.txt b/python/tests/res/out/boomer-classifier/decomposable-complete-heads_equal-width-label-binning.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-complete-heads_equal-width-label-binning.txt rename to python/tests/res/out/boomer-classifier/decomposable-complete-heads_equal-width-label-binning.txt index 222ac44e05..ac5405c372 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-complete-heads_equal-width-label-binning.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-complete-heads_equal-width-label-binning.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads.txt b/python/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads.txt rename to python/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads.txt index 73489c4d18..f19896c07a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads_equal-width-label-binning.txt b/python/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads_equal-width-label-binning.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads_equal-width-label-binning.txt rename to python/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads_equal-width-label-binning.txt index f11b86a2c1..ff0b1a40d0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads_equal-width-label-binning.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-partial-dynamic-heads_equal-width-label-binning.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads.txt b/python/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads.txt rename to python/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads.txt index 5c215d9541..45b639efe2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads_equal-width-label-binning.txt b/python/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads_equal-width-label-binning.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads_equal-width-label-binning.txt rename to python/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads_equal-width-label-binning.txt index 7070e6f433..906c53d81d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads_equal-width-label-binning.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-partial-fixed-heads_equal-width-label-binning.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-single-output-heads.txt b/python/tests/res/out/boomer-classifier/decomposable-single-output-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-single-output-heads.txt rename to python/tests/res/out/boomer-classifier/decomposable-single-output-heads.txt index 0edf720e06..7006aed8dc 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/decomposable-single-output-heads.txt +++ b/python/tests/res/out/boomer-classifier/decomposable-single-output-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_cross-validation-predefined.txt b/python/tests/res/out/boomer-classifier/evaluation_cross-validation-predefined.txt similarity index 89% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_cross-validation-predefined.txt rename to python/tests/res/out/boomer-classifier/evaluation_cross-validation-predefined.txt index 7e680a5280..dfde2b476f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_cross-validation-predefined.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_cross-validation-predefined.txt @@ -1,16 +1,16 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-predefined.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-1.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-2.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-3.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-4.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-5.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-6.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-7.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-8.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-9.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-10.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-predefined.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-1.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-2.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-3.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-4.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-5.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-6.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-7.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-8.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-9.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-10.arff"... INFO Fold 1 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_cross-validation.txt b/python/tests/res/out/boomer-classifier/evaluation_cross-validation.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_cross-validation.txt rename to python/tests/res/out/boomer-classifier/evaluation_cross-validation.txt index bbf016efc8..ac7491c53a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_incremental.txt b/python/tests/res/out/boomer-classifier/evaluation_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_incremental.txt rename to python/tests/res/out/boomer-classifier/evaluation_incremental.txt index 6e1b82176b..b174784786 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_incremental.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_no-data-split.txt b/python/tests/res/out/boomer-classifier/evaluation_no-data-split.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_no-data-split.txt rename to python/tests/res/out/boomer-classifier/evaluation_no-data-split.txt index 6a8d0d6685..77992d466b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_no-data-split.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_no-data-split.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... WARNING Not using separate training and test sets. The model will be evaluated on the training data... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 593 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_single-fold.txt b/python/tests/res/out/boomer-classifier/evaluation_single-fold.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_single-fold.txt rename to python/tests/res/out/boomer-classifier/evaluation_single-fold.txt index e4ca9b9314..42c42b3028 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_train-test-predefined.txt b/python/tests/res/out/boomer-classifier/evaluation_train-test-predefined.txt similarity index 77% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_train-test-predefined.txt rename to python/tests/res/out/boomer-classifier/evaluation_train-test-predefined.txt index 1d08b5b83c..91a965a2a5 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_train-test-predefined.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_train-test-predefined.txt @@ -1,8 +1,8 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-predefined.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_training.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_test.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-predefined.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_training.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_test.arff"... INFO Fitting model to 391 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_train-test.txt b/python/tests/res/out/boomer-classifier/evaluation_train-test.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_train-test.txt rename to python/tests/res/out/boomer-classifier/evaluation_train-test.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_train-test.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_training-data.txt b/python/tests/res/out/boomer-classifier/evaluation_training-data.txt similarity index 90% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_training-data.txt rename to python/tests/res/out/boomer-classifier/evaluation_training-data.txt index b140853dac..f7339d6bbf 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/evaluation_training-data.txt +++ b/python/tests/res/out/boomer-classifier/evaluation_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-dense.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-dense.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-dense.txt index 4fccef8155..a31d9d58fa 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-sparse.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-sparse.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-sparse.txt index 903a1acbf1..a90860501f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-dense.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-dense.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-dense.txt index dc2438ec35..d0a2651d06 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt index 7e62f0ce0f..49273c326c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-dense.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-dense.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-dense.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-dense.txt index db28d57fd0..0aa78379cb 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt index 1b8fad9635..f6b3f1d0e7 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-dense.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-dense.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-dense.txt index 4fccef8155..a31d9d58fa 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-sparse.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-sparse.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-sparse.txt index 903a1acbf1..a90860501f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-dense.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-dense.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-dense.txt index dc2438ec35..d0a2651d06 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-sparse.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-sparse.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-sparse.txt index 7e62f0ce0f..49273c326c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-dense.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-dense.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-dense.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-dense.txt index 4d7d87735e..3c96381b8f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-sparse.txt b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-sparse.txt rename to python/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-sparse.txt index ca57866ace..5d9aa1caa0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/feature-binning-equal-width_numerical-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-sampling-no.txt b/python/tests/res/out/boomer-classifier/feature-sampling-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-sampling-no.txt rename to python/tests/res/out/boomer-classifier/feature-sampling-no.txt index 6a008add16..a8028c01a2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-sampling-no.txt +++ b/python/tests/res/out/boomer-classifier/feature-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-sampling-without-replacement.txt b/python/tests/res/out/boomer-classifier/feature-sampling-without-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/feature-sampling-without-replacement.txt rename to python/tests/res/out/boomer-classifier/feature-sampling-without-replacement.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/feature-sampling-without-replacement.txt +++ b/python/tests/res/out/boomer-classifier/feature-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-no.txt b/python/tests/res/out/boomer-classifier/instance-sampling-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-no.txt rename to python/tests/res/out/boomer-classifier/instance-sampling-no.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-no.txt +++ b/python/tests/res/out/boomer-classifier/instance-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-stratified-example-wise.txt b/python/tests/res/out/boomer-classifier/instance-sampling-stratified-example-wise.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-stratified-example-wise.txt rename to python/tests/res/out/boomer-classifier/instance-sampling-stratified-example-wise.txt index 7a83fffa6c..3858db7f70 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-stratified-example-wise.txt +++ b/python/tests/res/out/boomer-classifier/instance-sampling-stratified-example-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-stratified-output-wise.txt b/python/tests/res/out/boomer-classifier/instance-sampling-stratified-output-wise.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-stratified-output-wise.txt rename to python/tests/res/out/boomer-classifier/instance-sampling-stratified-output-wise.txt index a2013a87af..5ee5c6f6bd 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-stratified-output-wise.txt +++ b/python/tests/res/out/boomer-classifier/instance-sampling-stratified-output-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-with-replacement.txt b/python/tests/res/out/boomer-classifier/instance-sampling-with-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-with-replacement.txt rename to python/tests/res/out/boomer-classifier/instance-sampling-with-replacement.txt index 68b7de2ca5..98d87579ca 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-with-replacement.txt +++ b/python/tests/res/out/boomer-classifier/instance-sampling-with-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-without-replacement.txt b/python/tests/res/out/boomer-classifier/instance-sampling-without-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-without-replacement.txt rename to python/tests/res/out/boomer-classifier/instance-sampling-without-replacement.txt index 0e5d9d4b9d..999c06155e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/instance-sampling-without-replacement.txt +++ b/python/tests/res/out/boomer-classifier/instance-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_cross-validation.txt b/python/tests/res/out/boomer-classifier/label-vectors_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_cross-validation.txt rename to python/tests/res/out/boomer-classifier/label-vectors_cross-validation.txt index 1326f42d33..277258c312 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/label-vectors_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_single-fold.txt b/python/tests/res/out/boomer-classifier/label-vectors_single-fold.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_single-fold.txt rename to python/tests/res/out/boomer-classifier/label-vectors_single-fold.txt index bc3472e89b..02ec34a93f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/label-vectors_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_train-test.txt b/python/tests/res/out/boomer-classifier/label-vectors_train-test.txt similarity index 91% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_train-test.txt rename to python/tests/res/out/boomer-classifier/label-vectors_train-test.txt index ad8559f555..c27928e0b4 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/label-vectors_train-test.txt +++ b/python/tests/res/out/boomer-classifier/label-vectors_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-logistic-decomposable.txt b/python/tests/res/out/boomer-classifier/loss-logistic-decomposable.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/loss-logistic-decomposable.txt rename to python/tests/res/out/boomer-classifier/loss-logistic-decomposable.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-logistic-decomposable.txt +++ b/python/tests/res/out/boomer-classifier/loss-logistic-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-logistic-non-decomposable.txt b/python/tests/res/out/boomer-classifier/loss-logistic-non-decomposable.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/loss-logistic-non-decomposable.txt rename to python/tests/res/out/boomer-classifier/loss-logistic-non-decomposable.txt index ccec8b6ac4..4771ffe147 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-logistic-non-decomposable.txt +++ b/python/tests/res/out/boomer-classifier/loss-logistic-non-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-error-decomposable.txt b/python/tests/res/out/boomer-classifier/loss-squared-error-decomposable.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-error-decomposable.txt rename to python/tests/res/out/boomer-classifier/loss-squared-error-decomposable.txt index c9386bbad9..b1c0a5b5fe 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-error-decomposable.txt +++ b/python/tests/res/out/boomer-classifier/loss-squared-error-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-error-non-decomposable.txt b/python/tests/res/out/boomer-classifier/loss-squared-error-non-decomposable.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-error-non-decomposable.txt rename to python/tests/res/out/boomer-classifier/loss-squared-error-non-decomposable.txt index 5fff32da84..e9b21785d5 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-error-non-decomposable.txt +++ b/python/tests/res/out/boomer-classifier/loss-squared-error-non-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-hinge-decomposable.txt b/python/tests/res/out/boomer-classifier/loss-squared-hinge-decomposable.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-hinge-decomposable.txt rename to python/tests/res/out/boomer-classifier/loss-squared-hinge-decomposable.txt index 6aa210cd14..1bbd1e7215 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-hinge-decomposable.txt +++ b/python/tests/res/out/boomer-classifier/loss-squared-hinge-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-hinge-non-decomposable.txt b/python/tests/res/out/boomer-classifier/loss-squared-hinge-non-decomposable.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-hinge-non-decomposable.txt rename to python/tests/res/out/boomer-classifier/loss-squared-hinge-non-decomposable.txt index de24858f03..09e2e01d3b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/loss-squared-hinge-non-decomposable.txt +++ b/python/tests/res/out/boomer-classifier/loss-squared-hinge-non-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/meka-format.txt b/python/tests/res/out/boomer-classifier/meka-format.txt similarity index 55% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/meka-format.txt rename to python/tests/res/out/boomer-classifier/meka-format.txt index ac0cb1980c..1c01e31f43 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/meka-format.txt +++ b/python/tests/res/out/boomer-classifier/meka-format.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Mulan XML file "python/subprojects/testbed/tests/res/data/meka.xml" does not exist. If possible, information about the data set's outputs is parsed from the ARFF file's @relation declaration as intended by the MEKA data set format... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/meka.arff"... +DEBUG Mulan XML file "python/tests/res/data/meka.xml" does not exist. If possible, information about the data set's outputs is parsed from the ARFF file's @relation declaration as intended by the MEKA data set format... +DEBUG Loading data set from file "python/tests/res/data/meka.arff"... INFO Fitting model to 9 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_cross-validation.txt b/python/tests/res/out/boomer-classifier/model-characteristics_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_cross-validation.txt rename to python/tests/res/out/boomer-classifier/model-characteristics_cross-validation.txt index d824eaebd6..c250a68829 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/model-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_single-fold.txt b/python/tests/res/out/boomer-classifier/model-characteristics_single-fold.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_single-fold.txt rename to python/tests/res/out/boomer-classifier/model-characteristics_single-fold.txt index 3493eac198..3e19fb3ecd 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/model-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_train-test.txt b/python/tests/res/out/boomer-classifier/model-characteristics_train-test.txt similarity index 95% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_train-test.txt rename to python/tests/res/out/boomer-classifier/model-characteristics_train-test.txt index 233fcc672f..6f9fc2373a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-characteristics_train-test.txt +++ b/python/tests/res/out/boomer-classifier/model-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_cross-validation.txt b/python/tests/res/out/boomer-classifier/model-persistence_cross-validation.txt similarity index 78% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_cross-validation.txt rename to python/tests/res/out/boomer-classifier/model-persistence_cross-validation.txt index c9c817aef6..9008812f4d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/model-persistence_cross-validation.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-1.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-1.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -29,8 +29,8 @@ Subset 0/1 Loss 68.33 Subset Accuracy 31.67 INFO Fold 2 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-2.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-2.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-2.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-2.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -55,8 +55,8 @@ Subset 0/1 Loss 65 Subset Accuracy 35 INFO Fold 3 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-3.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-3.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-3.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-3.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -81,8 +81,8 @@ Subset 0/1 Loss 68.33 Subset Accuracy 31.67 INFO Fold 4 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-4.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-4.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-4.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-4.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -107,8 +107,8 @@ Subset 0/1 Loss 67.8 Subset Accuracy 32.2 INFO Fold 5 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-5.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-5.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-5.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-5.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -133,8 +133,8 @@ Subset 0/1 Loss 64.41 Subset Accuracy 35.59 INFO Fold 6 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-6.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-6.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-6.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-6.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -159,8 +159,8 @@ Subset 0/1 Loss 64.41 Subset Accuracy 35.59 INFO Fold 7 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-7.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-7.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-7.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-7.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -185,8 +185,8 @@ Subset 0/1 Loss 66.1 Subset Accuracy 33.9 INFO Fold 8 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-8.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-8.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-8.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-8.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -211,8 +211,8 @@ Subset 0/1 Loss 62.71 Subset Accuracy 37.29 INFO Fold 9 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-9.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-9.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-9.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-9.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -237,8 +237,8 @@ Subset 0/1 Loss 77.97 Subset Accuracy 22.03 INFO Fold 10 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-10.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-10.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-10.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-10.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_single-fold.txt b/python/tests/res/out/boomer-classifier/model-persistence_single-fold.txt similarity index 69% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_single-fold.txt rename to python/tests/res/out/boomer-classifier/model-persistence_single-fold.txt index a87d39dd50..5b671706e8 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/model-persistence_single-fold.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-1.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-1.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_train-test.txt b/python/tests/res/out/boomer-classifier/model-persistence_train-test.txt similarity index 68% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_train-test.txt rename to python/tests/res/out/boomer-classifier/model-persistence_train-test.txt index f0a0f3db34..b1a4dcf7de 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/model-persistence_train-test.txt +++ b/python/tests/res/out/boomer-classifier/model-persistence_train-test.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/no-default-rule.txt b/python/tests/res/out/boomer-classifier/no-default-rule.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/no-default-rule.txt rename to python/tests/res/out/boomer-classifier/no-default-rule.txt index 4d3159c5d7..df2d7e8aaa 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/no-default-rule.txt +++ b/python/tests/res/out/boomer-classifier/no-default-rule.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/nominal-features-dense.txt b/python/tests/res/out/boomer-classifier/nominal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/nominal-features-dense.txt rename to python/tests/res/out/boomer-classifier/nominal-features-dense.txt index dc2438ec35..d0a2651d06 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/nominal-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/nominal-features-sparse.txt b/python/tests/res/out/boomer-classifier/nominal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/nominal-features-sparse.txt rename to python/tests/res/out/boomer-classifier/nominal-features-sparse.txt index 7e62f0ce0f..49273c326c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/nominal-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-complete-heads.txt b/python/tests/res/out/boomer-classifier/non-decomposable-complete-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-complete-heads.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-complete-heads.txt index 705d24b9a3..e77ee5138c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-complete-heads.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-complete-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-complete-heads_equal-width-label-binning.txt b/python/tests/res/out/boomer-classifier/non-decomposable-complete-heads_equal-width-label-binning.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-complete-heads_equal-width-label-binning.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-complete-heads_equal-width-label-binning.txt index 01cc325717..872d49abb0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-complete-heads_equal-width-label-binning.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-complete-heads_equal-width-label-binning.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads.txt b/python/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads.txt index c7ef6ab0c9..6b72a3857f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads_equal-width-label-binning.txt b/python/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads_equal-width-label-binning.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads_equal-width-label-binning.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads_equal-width-label-binning.txt index 98c43a70f5..fca799d561 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads_equal-width-label-binning.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-partial-dynamic-heads_equal-width-label-binning.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads.txt b/python/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads.txt index 6b7f67c0da..c21bbd979e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads_equal-width-label-binning.txt b/python/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads_equal-width-label-binning.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads_equal-width-label-binning.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads_equal-width-label-binning.txt index 24caf65398..1589fd9ec5 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads_equal-width-label-binning.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-partial-fixed-heads_equal-width-label-binning.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-single-output-heads.txt b/python/tests/res/out/boomer-classifier/non-decomposable-single-output-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-single-output-heads.txt rename to python/tests/res/out/boomer-classifier/non-decomposable-single-output-heads.txt index bba0d198ea..61c03c6a6a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/non-decomposable-single-output-heads.txt +++ b/python/tests/res/out/boomer-classifier/non-decomposable-single-output-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/numeric-features-dense.txt b/python/tests/res/out/boomer-classifier/numeric-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/numeric-features-dense.txt rename to python/tests/res/out/boomer-classifier/numeric-features-dense.txt index 5deb1099ae..4146f4e886 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/numeric-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/numeric-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/numeric-features-sparse.txt b/python/tests/res/out/boomer-classifier/numeric-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/numeric-features-sparse.txt rename to python/tests/res/out/boomer-classifier/numeric-features-sparse.txt index 3f0ea1564c..c90cbfd05b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/numeric-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/numeric-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/ordinal-features-dense.txt b/python/tests/res/out/boomer-classifier/ordinal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/ordinal-features-dense.txt rename to python/tests/res/out/boomer-classifier/ordinal-features-dense.txt index 58f5b1ea05..804bb668f6 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/ordinal-features-dense.txt +++ b/python/tests/res/out/boomer-classifier/ordinal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-ordinal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-ordinal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/ordinal-features-sparse.txt b/python/tests/res/out/boomer-classifier/ordinal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/ordinal-features-sparse.txt rename to python/tests/res/out/boomer-classifier/ordinal-features-sparse.txt index 7ea186adf4..c0798b52bd 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/ordinal-features-sparse.txt +++ b/python/tests/res/out/boomer-classifier/ordinal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-ordinal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-ordinal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-format-dense.txt b/python/tests/res/out/boomer-classifier/output-format-dense.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/output-format-dense.txt rename to python/tests/res/out/boomer-classifier/output-format-dense.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-format-dense.txt +++ b/python/tests/res/out/boomer-classifier/output-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-format-sparse.txt b/python/tests/res/out/boomer-classifier/output-format-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/output-format-sparse.txt rename to python/tests/res/out/boomer-classifier/output-format-sparse.txt index 27d4fee65d..f647ee233a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-format-sparse.txt +++ b/python/tests/res/out/boomer-classifier/output-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-no.txt b/python/tests/res/out/boomer-classifier/output-sampling-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-no.txt rename to python/tests/res/out/boomer-classifier/output-sampling-no.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-no.txt +++ b/python/tests/res/out/boomer-classifier/output-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-round-robin.txt b/python/tests/res/out/boomer-classifier/output-sampling-round-robin.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-round-robin.txt rename to python/tests/res/out/boomer-classifier/output-sampling-round-robin.txt index e6b1dd8f88..42efe5a6f4 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-round-robin.txt +++ b/python/tests/res/out/boomer-classifier/output-sampling-round-robin.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-without-replacement.txt b/python/tests/res/out/boomer-classifier/output-sampling-without-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-without-replacement.txt rename to python/tests/res/out/boomer-classifier/output-sampling-without-replacement.txt index 58add3406a..4038ba55ad 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/output-sampling-without-replacement.txt +++ b/python/tests/res/out/boomer-classifier/output-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_cross-validation.txt b/python/tests/res/out/boomer-classifier/parameters_cross-validation.txt similarity index 95% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_cross-validation.txt rename to python/tests/res/out/boomer-classifier/parameters_cross-validation.txt index c8cc73821b..62a9c12e70 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/parameters_cross-validation.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-1.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-1.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 1): @@ -39,8 +39,8 @@ INFO Model characteristics (Fold 1): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 2 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-2.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-2.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-2.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-2.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 2): @@ -75,8 +75,8 @@ INFO Model characteristics (Fold 2): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 3 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-3.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-3.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-3.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-3.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 3): @@ -111,8 +111,8 @@ INFO Model characteristics (Fold 3): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 4 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-4.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-4.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-4.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-4.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 4): @@ -147,8 +147,8 @@ INFO Model characteristics (Fold 4): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 5 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-5.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-5.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-5.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-5.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 5): @@ -183,8 +183,8 @@ INFO Model characteristics (Fold 5): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 6 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-6.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-6.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-6.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-6.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 6): @@ -219,8 +219,8 @@ INFO Model characteristics (Fold 6): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 7 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-7.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-7.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-7.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-7.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 7): @@ -255,8 +255,8 @@ INFO Model characteristics (Fold 7): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 8 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-8.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-8.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-8.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-8.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 8): @@ -291,8 +291,8 @@ INFO Model characteristics (Fold 8): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 9 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-9.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-9.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-9.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-9.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 9): @@ -327,8 +327,8 @@ INFO Model characteristics (Fold 9): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 10 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-10.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-10.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-10.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-10.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 10): diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_single-fold.txt b/python/tests/res/out/boomer-classifier/parameters_single-fold.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_single-fold.txt rename to python/tests/res/out/boomer-classifier/parameters_single-fold.txt index d366bd7d9d..5f0516350c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/parameters_single-fold.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-1.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-1.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_train-test.txt b/python/tests/res/out/boomer-classifier/parameters_train-test.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_train-test.txt rename to python/tests/res/out/boomer-classifier/parameters_train-test.txt index c737563e09..8f84633b53 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/parameters_train-test.txt +++ b/python/tests/res/out/boomer-classifier/parameters_train-test.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_overall.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_overall.csv" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading parameters from file "python/tests/res/in/parameters_overall.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_overall.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters: diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_no-holdout.txt b/python/tests/res/out/boomer-classifier/post-pruning_no-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_no-holdout.txt rename to python/tests/res/out/boomer-classifier/post-pruning_no-holdout.txt index 15a38f5081..5e2f06cc1e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_no-holdout.txt +++ b/python/tests/res/out/boomer-classifier/post-pruning_no-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_random-holdout.txt b/python/tests/res/out/boomer-classifier/post-pruning_random-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_random-holdout.txt rename to python/tests/res/out/boomer-classifier/post-pruning_random-holdout.txt index 0faf891aca..c8618a959d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_random-holdout.txt +++ b/python/tests/res/out/boomer-classifier/post-pruning_random-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_stratified-example-wise-holdout.txt b/python/tests/res/out/boomer-classifier/post-pruning_stratified-example-wise-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_stratified-example-wise-holdout.txt rename to python/tests/res/out/boomer-classifier/post-pruning_stratified-example-wise-holdout.txt index 6c890290ae..6fc35f7603 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_stratified-example-wise-holdout.txt +++ b/python/tests/res/out/boomer-classifier/post-pruning_stratified-example-wise-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_stratified-output-wise-holdout.txt b/python/tests/res/out/boomer-classifier/post-pruning_stratified-output-wise-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_stratified-output-wise-holdout.txt rename to python/tests/res/out/boomer-classifier/post-pruning_stratified-output-wise-holdout.txt index 15c3e74bda..c5788396b0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/post-pruning_stratified-output-wise-holdout.txt +++ b/python/tests/res/out/boomer-classifier/post-pruning_stratified-output-wise-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_no-holdout.txt b/python/tests/res/out/boomer-classifier/pre-pruning_no-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_no-holdout.txt rename to python/tests/res/out/boomer-classifier/pre-pruning_no-holdout.txt index 15a38f5081..5e2f06cc1e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_no-holdout.txt +++ b/python/tests/res/out/boomer-classifier/pre-pruning_no-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_random-holdout.txt b/python/tests/res/out/boomer-classifier/pre-pruning_random-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_random-holdout.txt rename to python/tests/res/out/boomer-classifier/pre-pruning_random-holdout.txt index 0faf891aca..c8618a959d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_random-holdout.txt +++ b/python/tests/res/out/boomer-classifier/pre-pruning_random-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_stratified-example-wise-holdout.txt b/python/tests/res/out/boomer-classifier/pre-pruning_stratified-example-wise-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_stratified-example-wise-holdout.txt rename to python/tests/res/out/boomer-classifier/pre-pruning_stratified-example-wise-holdout.txt index e70ff14ad6..dd32d690b0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_stratified-example-wise-holdout.txt +++ b/python/tests/res/out/boomer-classifier/pre-pruning_stratified-example-wise-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_stratified-output-wise-holdout.txt b/python/tests/res/out/boomer-classifier/pre-pruning_stratified-output-wise-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_stratified-output-wise-holdout.txt rename to python/tests/res/out/boomer-classifier/pre-pruning_stratified-output-wise-holdout.txt index 15c3e74bda..c5788396b0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/pre-pruning_stratified-output-wise-holdout.txt +++ b/python/tests/res/out/boomer-classifier/pre-pruning_stratified-output-wise-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_cross-validation.txt b/python/tests/res/out/boomer-classifier/prediction-characteristics_cross-validation.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_cross-validation.txt rename to python/tests/res/out/boomer-classifier/prediction-characteristics_cross-validation.txt index f1d4ce6d8b..eda8a5c0bc 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/prediction-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_single-fold.txt b/python/tests/res/out/boomer-classifier/prediction-characteristics_single-fold.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_single-fold.txt rename to python/tests/res/out/boomer-classifier/prediction-characteristics_single-fold.txt index 159f886f3f..3ed07792f4 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/prediction-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_train-test.txt b/python/tests/res/out/boomer-classifier/prediction-characteristics_train-test.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_train-test.txt rename to python/tests/res/out/boomer-classifier/prediction-characteristics_train-test.txt index 59e63881b8..25b959b44d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_train-test.txt +++ b/python/tests/res/out/boomer-classifier/prediction-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_training-data.txt b/python/tests/res/out/boomer-classifier/prediction-characteristics_training-data.txt similarity index 87% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_training-data.txt rename to python/tests/res/out/boomer-classifier/prediction-characteristics_training-data.txt index 96c8f7908d..1f6b5d9727 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-characteristics_training-data.txt +++ b/python/tests/res/out/boomer-classifier/prediction-characteristics_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-format-dense.txt b/python/tests/res/out/boomer-classifier/prediction-format-dense.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-format-dense.txt rename to python/tests/res/out/boomer-classifier/prediction-format-dense.txt index 9e0d3a17a3..bcac3a4268 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-format-dense.txt +++ b/python/tests/res/out/boomer-classifier/prediction-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-format-sparse.txt b/python/tests/res/out/boomer-classifier/prediction-format-sparse.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-format-sparse.txt rename to python/tests/res/out/boomer-classifier/prediction-format-sparse.txt index f6c4d22f91..b8db4caeb0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/prediction-format-sparse.txt +++ b/python/tests/res/out/boomer-classifier/prediction-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_cross-validation.txt b/python/tests/res/out/boomer-classifier/predictions_cross-validation.txt similarity index 90% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_cross-validation.txt rename to python/tests/res/out/boomer-classifier/predictions_cross-validation.txt index 381689801d..eee4710cb0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/predictions_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -139,8 +139,8 @@ Predictions: [0 0 1 1 1 0] [0 0 1 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'. INFO Fold 2 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -278,8 +278,8 @@ Predictions: [0 0 1 0 0 0] [1 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-2.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-2.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-2.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-2.arff'. INFO Fold 3 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -417,8 +417,8 @@ Predictions: [0 0 1 1 1 0] [0 0 0 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-3.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-3.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-3.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-3.arff'. INFO Fold 4 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -554,8 +554,8 @@ Predictions: [0 1 1 0 0 0] [0 0 1 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-4.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-4.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-4.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-4.arff'. INFO Fold 5 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -691,8 +691,8 @@ Predictions: [1 1 0 0 0 0] [0 0 1 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-5.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-5.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-5.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-5.arff'. INFO Fold 6 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -828,8 +828,8 @@ Predictions: [0 0 0 0 0 0] [1 1 0 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-6.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-6.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-6.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-6.arff'. INFO Fold 7 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -965,8 +965,8 @@ Predictions: [0 1 0 0 0 1] [0 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-7.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-7.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-7.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-7.arff'. INFO Fold 8 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -1102,8 +1102,8 @@ Predictions: [1 0 0 0 0 0] [0 0 0 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-8.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-8.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-8.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-8.arff'. INFO Fold 9 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -1239,8 +1239,8 @@ Predictions: [0 0 1 1 0 0] [0 0 0 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-9.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-9.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-9.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-9.arff'. INFO Fold 10 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -1376,6 +1376,6 @@ Predictions: [0 0 0 0 0 1] [0 1 1 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-10.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-10.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-10.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-10.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_single-fold.txt b/python/tests/res/out/boomer-classifier/predictions_single-fold.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_single-fold.txt rename to python/tests/res/out/boomer-classifier/predictions_single-fold.txt index 84bd82efc3..3648c45d0c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/predictions_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -139,6 +139,6 @@ Predictions: [0 0 1 1 1 0] [0 0 1 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_train-test.txt b/python/tests/res/out/boomer-classifier/predictions_train-test.txt similarity index 93% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_train-test.txt rename to python/tests/res/out/boomer-classifier/predictions_train-test.txt index a2d21cfda1..98ae7a7af5 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_train-test.txt +++ b/python/tests/res/out/boomer-classifier/predictions_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples @@ -410,6 +410,6 @@ Predictions: [0 0 1 0 0 0] [0 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_training-data.txt b/python/tests/res/out/boomer-classifier/predictions_training-data.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_training-data.txt rename to python/tests/res/out/boomer-classifier/predictions_training-data.txt index 175f2ee499..5f3f968a7d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictions_training-data.txt +++ b/python/tests/res/out/boomer-classifier/predictions_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples @@ -812,8 +812,8 @@ Predictions: [0 0 1 1 1 0] [0 1 1 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_training_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_training_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_training_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_training_overall.arff'. INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -1218,6 +1218,6 @@ Predictions: [0 0 1 0 0 0] [0 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise.txt b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-example-wise.txt index 02d7efaf68..d20504a748 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_based-on-probabilities.txt b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_based-on-probabilities.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_based-on-probabilities.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-example-wise_based-on-probabilities.txt index 5cdf045dde..3edf1e96c6 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_based-on-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_based-on-probabilities.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental.txt index e5be11a940..3b489b457e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental_based-on-probabilities.txt b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental_based-on-probabilities.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental_based-on-probabilities.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental_based-on-probabilities.txt index 86a17261a3..ef7f978974 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental_based-on-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_incremental_based-on-probabilities.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels INFO Predicting for 196 test examples using a model of size 50... diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse.txt b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse.txt index 6e5f06ecc2..ffba0d51a7 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse_incremental.txt index 1025e70720..8eefee9602 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-example-wise_sparse_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm.txt b/python/tests/res/out/boomer-classifier/predictor-binary-gfm.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-gfm.txt index cb10258015..d1a3ee2743 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-gfm.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_based-on-probabilities.txt b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_based-on-probabilities.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_based-on-probabilities.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-gfm_based-on-probabilities.txt index 0d9d0a6319..17b4ab39e7 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_based-on-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_based-on-probabilities.txt @@ -1,7 +1,7 @@ INFO Starting experiment... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental.txt index bdf7203ddd..982e220a82 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels INFO Predicting for 196 test examples using a model of size 50... diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental_based-on-probabilities.txt b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental_based-on-probabilities.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental_based-on-probabilities.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental_based-on-probabilities.txt index 33bb1f294f..db13c3646f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental_based-on-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_incremental_based-on-probabilities.txt @@ -1,7 +1,7 @@ INFO Starting experiment... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse.txt b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse.txt index f6f0d3f1d7..e7bfb9a617 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A sparse matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse_incremental.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse_incremental.txt index 599279140a..76369b7b19 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-gfm_sparse_incremental.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A sparse matrix is used to store the predicted labels INFO Predicting for 196 test examples using a model of size 50... diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise.txt b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-output-wise.txt index 9e0d3a17a3..bcac3a4268 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_based-on-probabilities.txt b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_based-on-probabilities.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_based-on-probabilities.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-output-wise_based-on-probabilities.txt index a1b99d122b..192954eaca 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_based-on-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_based-on-probabilities.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental.txt index 6e1b82176b..b174784786 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental_based-on-probabilities.txt b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental_based-on-probabilities.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental_based-on-probabilities.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental_based-on-probabilities.txt index 8d7b0fc250..0c71ee9cd1 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental_based-on-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_incremental_based-on-probabilities.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels INFO Predicting for 196 test examples using a model of size 50... diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse.txt b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse.txt index f6c4d22f91..b8db4caeb0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse_incremental.txt index dc5fc36b24..580071315a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-binary-output-wise_sparse_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-marginalized.txt b/python/tests/res/out/boomer-classifier/predictor-probability-marginalized.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-marginalized.txt rename to python/tests/res/out/boomer-classifier/predictor-probability-marginalized.txt index 1329acd06e..d93590ff55 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-marginalized.txt +++ b/python/tests/res/out/boomer-classifier/predictor-probability-marginalized.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted probability estimates diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-marginalized_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-probability-marginalized_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-marginalized_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-probability-marginalized_incremental.txt index 8892595b41..405ffd0bcd 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-marginalized_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-probability-marginalized_incremental.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted probability estimates INFO Predicting for 196 test examples using a model of size 50... diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-output-wise.txt b/python/tests/res/out/boomer-classifier/predictor-probability-output-wise.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-output-wise.txt rename to python/tests/res/out/boomer-classifier/predictor-probability-output-wise.txt index 2c11f79404..bb46e1248c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-output-wise.txt +++ b/python/tests/res/out/boomer-classifier/predictor-probability-output-wise.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted probability estimates diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-output-wise_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-probability-output-wise_incremental.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-output-wise_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-probability-output-wise_incremental.txt index 958f72e038..b18cee3221 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-probability-output-wise_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-probability-output-wise_incremental.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted probability estimates INFO Predicting for 196 test examples using a model of size 50... diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-score-output-wise.txt b/python/tests/res/out/boomer-classifier/predictor-score-output-wise.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-score-output-wise.txt rename to python/tests/res/out/boomer-classifier/predictor-score-output-wise.txt index 38db8e4e05..19eb55de88 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-score-output-wise.txt +++ b/python/tests/res/out/boomer-classifier/predictor-score-output-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-score-output-wise_incremental.txt b/python/tests/res/out/boomer-classifier/predictor-score-output-wise_incremental.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-score-output-wise_incremental.txt rename to python/tests/res/out/boomer-classifier/predictor-score-output-wise_incremental.txt index c9bbff9e21..16d7e8735a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/predictor-score-output-wise_incremental.txt +++ b/python/tests/res/out/boomer-classifier/predictor-score-output-wise_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/pruning-irep.txt b/python/tests/res/out/boomer-classifier/pruning-irep.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/pruning-irep.txt rename to python/tests/res/out/boomer-classifier/pruning-irep.txt index 2fefd38044..51bcdca180 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/pruning-irep.txt +++ b/python/tests/res/out/boomer-classifier/pruning-irep.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/pruning-no.txt b/python/tests/res/out/boomer-classifier/pruning-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/pruning-no.txt rename to python/tests/res/out/boomer-classifier/pruning-no.txt index e8393c7392..d0dc66210e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/pruning-no.txt +++ b/python/tests/res/out/boomer-classifier/pruning-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/rule-induction-top-down-beam-search.txt b/python/tests/res/out/boomer-classifier/rule-induction-top-down-beam-search.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/rule-induction-top-down-beam-search.txt rename to python/tests/res/out/boomer-classifier/rule-induction-top-down-beam-search.txt index 5a3e01cb30..ad109dab3c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/rule-induction-top-down-beam-search.txt +++ b/python/tests/res/out/boomer-classifier/rule-induction-top-down-beam-search.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/rules_cross-validation.txt b/python/tests/res/out/boomer-classifier/rules_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/rules_cross-validation.txt rename to python/tests/res/out/boomer-classifier/rules_cross-validation.txt index eaa9679433..9ebbf937ab 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/rules_cross-validation.txt +++ b/python/tests/res/out/boomer-classifier/rules_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/rules_single-fold.txt b/python/tests/res/out/boomer-classifier/rules_single-fold.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/rules_single-fold.txt rename to python/tests/res/out/boomer-classifier/rules_single-fold.txt index 53b8d35519..05f4d56ff6 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/rules_single-fold.txt +++ b/python/tests/res/out/boomer-classifier/rules_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/rules_train-test.txt b/python/tests/res/out/boomer-classifier/rules_train-test.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/rules_train-test.txt rename to python/tests/res/out/boomer-classifier/rules_train-test.txt index 6989601ef7..50cfaeaa98 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/rules_train-test.txt +++ b/python/tests/res/out/boomer-classifier/rules_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/sequential-post-optimization.txt b/python/tests/res/out/boomer-classifier/sequential-post-optimization.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/sequential-post-optimization.txt rename to python/tests/res/out/boomer-classifier/sequential-post-optimization.txt index 957c6ec4e2..cf1b8a0746 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/sequential-post-optimization.txt +++ b/python/tests/res/out/boomer-classifier/sequential-post-optimization.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/single-label-probabilities.txt b/python/tests/res/out/boomer-classifier/single-label-probabilities.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/single-label-probabilities.txt rename to python/tests/res/out/boomer-classifier/single-label-probabilities.txt index 8a6dbea261..5c73a0f223 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/single-label-probabilities.txt +++ b/python/tests/res/out/boomer-classifier/single-label-probabilities.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/breast-cancer.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/breast-cancer.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/breast-cancer.xml"... +DEBUG Loading data set from file "python/tests/res/data/breast-cancer.arff"... INFO Fitting model to 191 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/single-label-scores.txt b/python/tests/res/out/boomer-classifier/single-label-scores.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/single-label-scores.txt rename to python/tests/res/out/boomer-classifier/single-label-scores.txt index c6375ca282..2dfeda950f 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/single-label-scores.txt +++ b/python/tests/res/out/boomer-classifier/single-label-scores.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/breast-cancer.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/breast-cancer.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/breast-cancer.xml"... +DEBUG Loading data set from file "python/tests/res/data/breast-cancer.arff"... INFO Fitting model to 191 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/single-output.txt b/python/tests/res/out/boomer-classifier/single-output.txt similarity index 79% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/single-output.txt rename to python/tests/res/out/boomer-classifier/single-output.txt index b0569ba576..98f8fe1a04 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/single-output.txt +++ b/python/tests/res/out/boomer-classifier/single-output.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/breast-cancer.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/breast-cancer.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/breast-cancer.xml"... +DEBUG Loading data set from file "python/tests/res/data/breast-cancer.arff"... INFO Fitting model to 191 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/sparse-feature-value.txt b/python/tests/res/out/boomer-classifier/sparse-feature-value.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/sparse-feature-value.txt rename to python/tests/res/out/boomer-classifier/sparse-feature-value.txt index 177b767e4c..fb9e6a4e05 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/sparse-feature-value.txt +++ b/python/tests/res/out/boomer-classifier/sparse-feature-value.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A sparse matrix with sparse value 1.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/statistics-sparse_output-format-dense.txt b/python/tests/res/out/boomer-classifier/statistics-sparse_output-format-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/statistics-sparse_output-format-dense.txt rename to python/tests/res/out/boomer-classifier/statistics-sparse_output-format-dense.txt index 22865b441b..e52e4add03 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/statistics-sparse_output-format-dense.txt +++ b/python/tests/res/out/boomer-classifier/statistics-sparse_output-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-classifier/statistics-sparse_output-format-sparse.txt b/python/tests/res/out/boomer-classifier/statistics-sparse_output-format-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-classifier/statistics-sparse_output-format-sparse.txt rename to python/tests/res/out/boomer-classifier/statistics-sparse_output-format-sparse.txt index 13854d9b94..19565d1dd7 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-classifier/statistics-sparse_output-format-sparse.txt +++ b/python/tests/res/out/boomer-classifier/statistics-sparse_output-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/binary-features-dense.txt b/python/tests/res/out/boomer-regressor/binary-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/binary-features-dense.txt rename to python/tests/res/out/boomer-regressor/binary-features-dense.txt index 79cf3ee02d..bebf2ad37a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/binary-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-binary.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-binary.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-binary.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-binary.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/binary-features-sparse.txt b/python/tests/res/out/boomer-regressor/binary-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/binary-features-sparse.txt rename to python/tests/res/out/boomer-regressor/binary-features-sparse.txt index 84ed628f13..f885ac95e2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/binary-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-binary.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-binary.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-binary.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-binary.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_cross-validation.txt b/python/tests/res/out/boomer-regressor/data-characteristics_cross-validation.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_cross-validation.txt rename to python/tests/res/out/boomer-regressor/data-characteristics_cross-validation.txt index 3f3ca0956c..0ddaa4dbcc 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/data-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Data characteristics (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_single-fold.txt b/python/tests/res/out/boomer-regressor/data-characteristics_single-fold.txt similarity index 79% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_single-fold.txt rename to python/tests/res/out/boomer-regressor/data-characteristics_single-fold.txt index b08e9dbd93..8a29512b64 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/data-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Data characteristics (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_train-test.txt b/python/tests/res/out/boomer-regressor/data-characteristics_train-test.txt similarity index 79% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_train-test.txt rename to python/tests/res/out/boomer-regressor/data-characteristics_train-test.txt index 1cf386ff7a..f4821e069d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/data-characteristics_train-test.txt +++ b/python/tests/res/out/boomer-regressor/data-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Data characteristics: Examples 198 diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-complete-heads.txt b/python/tests/res/out/boomer-regressor/decomposable-complete-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-complete-heads.txt rename to python/tests/res/out/boomer-regressor/decomposable-complete-heads.txt index a4eacc442a..ff2b810b2c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-complete-heads.txt +++ b/python/tests/res/out/boomer-regressor/decomposable-complete-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-partial-dynamic-heads.txt b/python/tests/res/out/boomer-regressor/decomposable-partial-dynamic-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-partial-dynamic-heads.txt rename to python/tests/res/out/boomer-regressor/decomposable-partial-dynamic-heads.txt index 6cc7b4b188..254d8cfeea 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-partial-dynamic-heads.txt +++ b/python/tests/res/out/boomer-regressor/decomposable-partial-dynamic-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-partial-fixed-heads.txt b/python/tests/res/out/boomer-regressor/decomposable-partial-fixed-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-partial-fixed-heads.txt rename to python/tests/res/out/boomer-regressor/decomposable-partial-fixed-heads.txt index 52c5b5cd4a..1878714e04 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-partial-fixed-heads.txt +++ b/python/tests/res/out/boomer-regressor/decomposable-partial-fixed-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-single-output-heads.txt b/python/tests/res/out/boomer-regressor/decomposable-single-output-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-single-output-heads.txt rename to python/tests/res/out/boomer-regressor/decomposable-single-output-heads.txt index 348a14c4d5..e82d2dc9f2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/decomposable-single-output-heads.txt +++ b/python/tests/res/out/boomer-regressor/decomposable-single-output-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_cross-validation-predefined.txt b/python/tests/res/out/boomer-regressor/evaluation_cross-validation-predefined.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_cross-validation-predefined.txt rename to python/tests/res/out/boomer-regressor/evaluation_cross-validation-predefined.txt index ad20df9477..be99c1ad69 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_cross-validation-predefined.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_cross-validation-predefined.txt @@ -1,16 +1,16 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-predefined.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-1.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-2.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-3.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-4.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-5.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-6.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-7.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-8.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-9.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_fold-10.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-predefined.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-1.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-2.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-3.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-4.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-5.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-6.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-7.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-8.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-9.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_fold-10.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_cross-validation.txt b/python/tests/res/out/boomer-regressor/evaluation_cross-validation.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_cross-validation.txt rename to python/tests/res/out/boomer-regressor/evaluation_cross-validation.txt index ba4e52fe67..405cb00d4e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_incremental.txt b/python/tests/res/out/boomer-regressor/evaluation_incremental.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_incremental.txt rename to python/tests/res/out/boomer-regressor/evaluation_incremental.txt index 5680be3d62..35705a0948 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_incremental.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_no-data-split.txt b/python/tests/res/out/boomer-regressor/evaluation_no-data-split.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_no-data-split.txt rename to python/tests/res/out/boomer-regressor/evaluation_no-data-split.txt index 611c8990f6..0e3b6ceb82 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_no-data-split.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_no-data-split.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... WARNING Not using separate training and test sets. The model will be evaluated on the training data... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 296 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_single-fold.txt b/python/tests/res/out/boomer-regressor/evaluation_single-fold.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_single-fold.txt rename to python/tests/res/out/boomer-regressor/evaluation_single-fold.txt index 3a818a4c1d..7d03bd7eca 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_train-test-predefined.txt b/python/tests/res/out/boomer-regressor/evaluation_train-test-predefined.txt similarity index 72% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_train-test-predefined.txt rename to python/tests/res/out/boomer-regressor/evaluation_train-test-predefined.txt index 6c770852aa..af5e0a35c6 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_train-test-predefined.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_train-test-predefined.txt @@ -1,8 +1,8 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-predefined.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_training.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-predefined_test.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-predefined.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_training.arff"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-predefined_test.arff"... INFO Fitting model to 195 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_train-test.txt b/python/tests/res/out/boomer-regressor/evaluation_train-test.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_train-test.txt rename to python/tests/res/out/boomer-regressor/evaluation_train-test.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_train-test.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_training-data.txt b/python/tests/res/out/boomer-regressor/evaluation_training-data.txt similarity index 87% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_training-data.txt rename to python/tests/res/out/boomer-regressor/evaluation_training-data.txt index be8e47a013..8be9545cef 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/evaluation_training-data.txt +++ b/python/tests/res/out/boomer-regressor/evaluation_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-dense.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-dense.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-dense.txt index 79cf3ee02d..bebf2ad37a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-binary.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-binary.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-binary.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-binary.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-sparse.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-sparse.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-sparse.txt index 84ed628f13..f885ac95e2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-binary.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-binary.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-binary.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-binary.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-dense.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-dense.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-dense.txt index 639fc947d3..4243f04fdb 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-nominal.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-sparse.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-sparse.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-sparse.txt index 1f1bd2877e..ca2aaab66b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-nominal.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-dense.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-dense.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-dense.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-dense.txt index 3239584529..9a81bb9974 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-sparse.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-sparse.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-sparse.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-sparse.txt index 5fc1a44dcf..b1f0559e8e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-frequency_numerical-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-dense.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-dense.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-dense.txt index 79cf3ee02d..bebf2ad37a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-binary.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-binary.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-binary.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-binary.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-sparse.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-sparse.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-sparse.txt index 84ed628f13..f885ac95e2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-binary.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-binary.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-binary.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-binary.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-dense.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-dense.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-dense.txt index 639fc947d3..4243f04fdb 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-nominal.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-sparse.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-sparse.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-sparse.txt index 1f1bd2877e..ca2aaab66b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-nominal.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-dense.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-dense.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-dense.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-dense.txt index 0ab2d001e2..52982ab824 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-sparse.txt b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-sparse.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-sparse.txt rename to python/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-sparse.txt index a5af9c018c..6ae150ebad 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/feature-binning-equal-width_numerical-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-sampling-no.txt b/python/tests/res/out/boomer-regressor/feature-sampling-no.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-sampling-no.txt rename to python/tests/res/out/boomer-regressor/feature-sampling-no.txt index 08b86a2117..7d486de6df 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-sampling-no.txt +++ b/python/tests/res/out/boomer-regressor/feature-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-sampling-without-replacement.txt b/python/tests/res/out/boomer-regressor/feature-sampling-without-replacement.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/feature-sampling-without-replacement.txt rename to python/tests/res/out/boomer-regressor/feature-sampling-without-replacement.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/feature-sampling-without-replacement.txt +++ b/python/tests/res/out/boomer-regressor/feature-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-no.txt b/python/tests/res/out/boomer-regressor/instance-sampling-no.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-no.txt rename to python/tests/res/out/boomer-regressor/instance-sampling-no.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-no.txt +++ b/python/tests/res/out/boomer-regressor/instance-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-with-replacement.txt b/python/tests/res/out/boomer-regressor/instance-sampling-with-replacement.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-with-replacement.txt rename to python/tests/res/out/boomer-regressor/instance-sampling-with-replacement.txt index f5d4673dce..4d6834c482 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-with-replacement.txt +++ b/python/tests/res/out/boomer-regressor/instance-sampling-with-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-without-replacement.txt b/python/tests/res/out/boomer-regressor/instance-sampling-without-replacement.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-without-replacement.txt rename to python/tests/res/out/boomer-regressor/instance-sampling-without-replacement.txt index 787c36769c..8e525e6b80 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/instance-sampling-without-replacement.txt +++ b/python/tests/res/out/boomer-regressor/instance-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/loss-squared-error-decomposable.txt b/python/tests/res/out/boomer-regressor/loss-squared-error-decomposable.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/loss-squared-error-decomposable.txt rename to python/tests/res/out/boomer-regressor/loss-squared-error-decomposable.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/loss-squared-error-decomposable.txt +++ b/python/tests/res/out/boomer-regressor/loss-squared-error-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/loss-squared-error-non-decomposable.txt b/python/tests/res/out/boomer-regressor/loss-squared-error-non-decomposable.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/loss-squared-error-non-decomposable.txt rename to python/tests/res/out/boomer-regressor/loss-squared-error-non-decomposable.txt index 93fd4f9e4b..961ef53dba 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/loss-squared-error-non-decomposable.txt +++ b/python/tests/res/out/boomer-regressor/loss-squared-error-non-decomposable.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/meka-format.txt b/python/tests/res/out/boomer-regressor/meka-format.txt similarity index 54% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/meka-format.txt rename to python/tests/res/out/boomer-regressor/meka-format.txt index b5bec025f4..c32995b270 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/meka-format.txt +++ b/python/tests/res/out/boomer-regressor/meka-format.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Mulan XML file "python/subprojects/testbed/tests/res/data/atp7d-meka.xml" does not exist. If possible, information about the data set's outputs is parsed from the ARFF file's @relation declaration as intended by the MEKA data set format... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-meka.arff"... +DEBUG Mulan XML file "python/tests/res/data/atp7d-meka.xml" does not exist. If possible, information about the data set's outputs is parsed from the ARFF file's @relation declaration as intended by the MEKA data set format... +DEBUG Loading data set from file "python/tests/res/data/atp7d-meka.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_cross-validation.txt b/python/tests/res/out/boomer-regressor/model-characteristics_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_cross-validation.txt rename to python/tests/res/out/boomer-regressor/model-characteristics_cross-validation.txt index 0ab260c22d..a33ab93de0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/model-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_single-fold.txt b/python/tests/res/out/boomer-regressor/model-characteristics_single-fold.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_single-fold.txt rename to python/tests/res/out/boomer-regressor/model-characteristics_single-fold.txt index 1096dad37f..cb168d94e3 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/model-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_train-test.txt b/python/tests/res/out/boomer-regressor/model-characteristics_train-test.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_train-test.txt rename to python/tests/res/out/boomer-regressor/model-characteristics_train-test.txt index 29c794890b..2933d70eb1 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-characteristics_train-test.txt +++ b/python/tests/res/out/boomer-regressor/model-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_cross-validation.txt b/python/tests/res/out/boomer-regressor/model-persistence_cross-validation.txt similarity index 67% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_cross-validation.txt rename to python/tests/res/out/boomer-regressor/model-persistence_cross-validation.txt index 9932d159b5..8747c44524 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/model-persistence_cross-validation.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-1.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-1.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -17,8 +17,8 @@ Mean Squared Error 2139.56 Median Absolute Error 17.04 INFO Fold 2 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-2.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-2.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-2.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-2.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -31,8 +31,8 @@ Mean Squared Error 1548.19 Median Absolute Error 19.05 INFO Fold 3 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-3.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-3.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-3.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-3.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -45,8 +45,8 @@ Mean Squared Error 1271.4 Median Absolute Error 14.33 INFO Fold 4 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-4.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-4.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-4.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-4.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -59,8 +59,8 @@ Mean Squared Error 1427.62 Median Absolute Error 12.96 INFO Fold 5 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-5.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-5.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-5.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-5.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -73,8 +73,8 @@ Mean Squared Error 1593.61 Median Absolute Error 15.82 INFO Fold 6 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-6.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-6.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-6.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-6.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -87,8 +87,8 @@ Mean Squared Error 1666.41 Median Absolute Error 16.01 INFO Fold 7 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-7.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-7.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-7.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-7.model" INFO Predicting for 29 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -101,8 +101,8 @@ Mean Squared Error 1496.76 Median Absolute Error 17.79 INFO Fold 8 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-8.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-8.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-8.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-8.model" INFO Predicting for 29 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -115,8 +115,8 @@ Mean Squared Error 2174.5 Median Absolute Error 12.01 INFO Fold 9 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-9.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-9.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-9.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-9.model" INFO Predicting for 29 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -129,8 +129,8 @@ Mean Squared Error 1254.37 Median Absolute Error 10.4 INFO Fold 10 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-10.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-10.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-10.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-10.model" INFO Predicting for 29 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_single-fold.txt b/python/tests/res/out/boomer-regressor/model-persistence_single-fold.txt similarity index 60% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_single-fold.txt rename to python/tests/res/out/boomer-regressor/model-persistence_single-fold.txt index 3293b41307..84bac3aaae 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/model-persistence_single-fold.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_fold-1.model" +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_fold-1.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_fold-1.model" INFO Predicting for 30 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_train-test.txt b/python/tests/res/out/boomer-regressor/model-persistence_train-test.txt similarity index 59% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_train-test.txt rename to python/tests/res/out/boomer-regressor/model-persistence_train-test.txt index 01833a8119..7ac0b4e349 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/model-persistence_train-test.txt +++ b/python/tests/res/out/boomer-regressor/model-persistence_train-test.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/boomer_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/boomer_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/boomer_overall.model" INFO Predicting for 98 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/no-default-rule.txt b/python/tests/res/out/boomer-regressor/no-default-rule.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/no-default-rule.txt rename to python/tests/res/out/boomer-regressor/no-default-rule.txt index 6f73cfb8cb..43fd8f3e44 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/no-default-rule.txt +++ b/python/tests/res/out/boomer-regressor/no-default-rule.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/nominal-features-dense.txt b/python/tests/res/out/boomer-regressor/nominal-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/nominal-features-dense.txt rename to python/tests/res/out/boomer-regressor/nominal-features-dense.txt index 639fc947d3..4243f04fdb 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/nominal-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-nominal.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/nominal-features-sparse.txt b/python/tests/res/out/boomer-regressor/nominal-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/nominal-features-sparse.txt rename to python/tests/res/out/boomer-regressor/nominal-features-sparse.txt index 1f1bd2877e..ca2aaab66b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/nominal-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-nominal.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-complete-heads.txt b/python/tests/res/out/boomer-regressor/non-decomposable-complete-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-complete-heads.txt rename to python/tests/res/out/boomer-regressor/non-decomposable-complete-heads.txt index ba1170e378..55214b78d2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-complete-heads.txt +++ b/python/tests/res/out/boomer-regressor/non-decomposable-complete-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-partial-dynamic-heads.txt b/python/tests/res/out/boomer-regressor/non-decomposable-partial-dynamic-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-partial-dynamic-heads.txt rename to python/tests/res/out/boomer-regressor/non-decomposable-partial-dynamic-heads.txt index 7f56af4a0c..16e5521acb 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-partial-dynamic-heads.txt +++ b/python/tests/res/out/boomer-regressor/non-decomposable-partial-dynamic-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-partial-fixed-heads.txt b/python/tests/res/out/boomer-regressor/non-decomposable-partial-fixed-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-partial-fixed-heads.txt rename to python/tests/res/out/boomer-regressor/non-decomposable-partial-fixed-heads.txt index b0e188d206..1ccc2ca333 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-partial-fixed-heads.txt +++ b/python/tests/res/out/boomer-regressor/non-decomposable-partial-fixed-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-single-output-heads.txt b/python/tests/res/out/boomer-regressor/non-decomposable-single-output-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-single-output-heads.txt rename to python/tests/res/out/boomer-regressor/non-decomposable-single-output-heads.txt index a0d46ae378..b6eb883c9b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/non-decomposable-single-output-heads.txt +++ b/python/tests/res/out/boomer-regressor/non-decomposable-single-output-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/numeric-features-dense.txt b/python/tests/res/out/boomer-regressor/numeric-features-dense.txt similarity index 79% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/numeric-features-dense.txt rename to python/tests/res/out/boomer-regressor/numeric-features-dense.txt index 3d34fb0085..d40b9a194e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/numeric-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/numeric-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-numerical-sparse.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-numerical-sparse.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/numeric-features-sparse.txt b/python/tests/res/out/boomer-regressor/numeric-features-sparse.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/numeric-features-sparse.txt rename to python/tests/res/out/boomer-regressor/numeric-features-sparse.txt index 757dbfce1c..410294ae42 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/numeric-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/numeric-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-numerical-sparse.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-numerical-sparse.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/ordinal-features-dense.txt b/python/tests/res/out/boomer-regressor/ordinal-features-dense.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/ordinal-features-dense.txt rename to python/tests/res/out/boomer-regressor/ordinal-features-dense.txt index a486bac83f..d7d11514b2 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/ordinal-features-dense.txt +++ b/python/tests/res/out/boomer-regressor/ordinal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-ordinal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-ordinal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-ordinal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-ordinal.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/ordinal-features-sparse.txt b/python/tests/res/out/boomer-regressor/ordinal-features-sparse.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/ordinal-features-sparse.txt rename to python/tests/res/out/boomer-regressor/ordinal-features-sparse.txt index b4f6167afa..3905dc8207 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/ordinal-features-sparse.txt +++ b/python/tests/res/out/boomer-regressor/ordinal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-ordinal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-ordinal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-ordinal.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-ordinal.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-format-dense.txt b/python/tests/res/out/boomer-regressor/output-format-dense.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/output-format-dense.txt rename to python/tests/res/out/boomer-regressor/output-format-dense.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-format-dense.txt +++ b/python/tests/res/out/boomer-regressor/output-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-format-sparse.txt b/python/tests/res/out/boomer-regressor/output-format-sparse.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/output-format-sparse.txt rename to python/tests/res/out/boomer-regressor/output-format-sparse.txt index 378599cabd..458054e656 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-format-sparse.txt +++ b/python/tests/res/out/boomer-regressor/output-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-no.txt b/python/tests/res/out/boomer-regressor/output-sampling-no.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-no.txt rename to python/tests/res/out/boomer-regressor/output-sampling-no.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-no.txt +++ b/python/tests/res/out/boomer-regressor/output-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-round-robin.txt b/python/tests/res/out/boomer-regressor/output-sampling-round-robin.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-round-robin.txt rename to python/tests/res/out/boomer-regressor/output-sampling-round-robin.txt index c36830d496..0c54e01642 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-round-robin.txt +++ b/python/tests/res/out/boomer-regressor/output-sampling-round-robin.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-without-replacement.txt b/python/tests/res/out/boomer-regressor/output-sampling-without-replacement.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-without-replacement.txt rename to python/tests/res/out/boomer-regressor/output-sampling-without-replacement.txt index ac6a14daf5..84946b2884 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/output-sampling-without-replacement.txt +++ b/python/tests/res/out/boomer-regressor/output-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_cross-validation.txt b/python/tests/res/out/boomer-regressor/parameters_cross-validation.txt similarity index 95% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_cross-validation.txt rename to python/tests/res/out/boomer-regressor/parameters_cross-validation.txt index c4923a8e9c..c1f21f45af 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/parameters_cross-validation.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-1.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-1.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 1): @@ -39,8 +39,8 @@ INFO Model characteristics (Fold 1): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 2 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-2.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-2.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-2.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-2.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 2): @@ -75,8 +75,8 @@ INFO Model characteristics (Fold 2): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 3 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-3.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-3.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-3.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-3.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 3): @@ -111,8 +111,8 @@ INFO Model characteristics (Fold 3): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 4 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-4.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-4.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-4.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-4.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 4): @@ -147,8 +147,8 @@ INFO Model characteristics (Fold 4): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 5 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-5.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-5.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-5.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-5.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 5): @@ -183,8 +183,8 @@ INFO Model characteristics (Fold 5): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 6 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-6.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-6.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-6.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-6.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 6): @@ -219,8 +219,8 @@ INFO Model characteristics (Fold 6): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 7 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-7.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-7.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-7.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-7.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 7): @@ -255,8 +255,8 @@ INFO Model characteristics (Fold 7): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 8 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-8.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-8.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-8.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-8.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 8): @@ -291,8 +291,8 @@ INFO Model characteristics (Fold 8): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 9 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-9.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-9.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-9.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-9.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 9): @@ -327,8 +327,8 @@ INFO Model characteristics (Fold 9): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 10 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-10.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-10.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-10.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-10.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 10): diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_single-fold.txt b/python/tests/res/out/boomer-regressor/parameters_single-fold.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_single-fold.txt rename to python/tests/res/out/boomer-regressor/parameters_single-fold.txt index 8a572628e8..e128b3f24c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/parameters_single-fold.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-1.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-1.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_train-test.txt b/python/tests/res/out/boomer-regressor/parameters_train-test.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_train-test.txt rename to python/tests/res/out/boomer-regressor/parameters_train-test.txt index 13fab5c0eb..8bfce5707a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/parameters_train-test.txt +++ b/python/tests/res/out/boomer-regressor/parameters_train-test.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_overall.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_overall.csv" +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... +DEBUG Loading parameters from file "python/tests/res/in/parameters_overall.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_overall.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters: diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/post-pruning_no-holdout.txt b/python/tests/res/out/boomer-regressor/post-pruning_no-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/post-pruning_no-holdout.txt rename to python/tests/res/out/boomer-regressor/post-pruning_no-holdout.txt index a4eacc442a..ff2b810b2c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/post-pruning_no-holdout.txt +++ b/python/tests/res/out/boomer-regressor/post-pruning_no-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/post-pruning_random-holdout.txt b/python/tests/res/out/boomer-regressor/post-pruning_random-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/post-pruning_random-holdout.txt rename to python/tests/res/out/boomer-regressor/post-pruning_random-holdout.txt index 8d61e7d8e3..42477b8554 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/post-pruning_random-holdout.txt +++ b/python/tests/res/out/boomer-regressor/post-pruning_random-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/pre-pruning_no-holdout.txt b/python/tests/res/out/boomer-regressor/pre-pruning_no-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/pre-pruning_no-holdout.txt rename to python/tests/res/out/boomer-regressor/pre-pruning_no-holdout.txt index a4eacc442a..ff2b810b2c 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/pre-pruning_no-holdout.txt +++ b/python/tests/res/out/boomer-regressor/pre-pruning_no-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/pre-pruning_random-holdout.txt b/python/tests/res/out/boomer-regressor/pre-pruning_random-holdout.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/pre-pruning_random-holdout.txt rename to python/tests/res/out/boomer-regressor/pre-pruning_random-holdout.txt index 0c80155169..6f8bcad6d0 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/pre-pruning_random-holdout.txt +++ b/python/tests/res/out/boomer-regressor/pre-pruning_random-holdout.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_cross-validation.txt b/python/tests/res/out/boomer-regressor/prediction-characteristics_cross-validation.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_cross-validation.txt rename to python/tests/res/out/boomer-regressor/prediction-characteristics_cross-validation.txt index f7d3a0c72b..30999c4233 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/prediction-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_single-fold.txt b/python/tests/res/out/boomer-regressor/prediction-characteristics_single-fold.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_single-fold.txt rename to python/tests/res/out/boomer-regressor/prediction-characteristics_single-fold.txt index fa1d3f5c97..f8670590f8 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/prediction-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_train-test.txt b/python/tests/res/out/boomer-regressor/prediction-characteristics_train-test.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_train-test.txt rename to python/tests/res/out/boomer-regressor/prediction-characteristics_train-test.txt index 777cf81a65..ff248c4b40 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_train-test.txt +++ b/python/tests/res/out/boomer-regressor/prediction-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_training-data.txt b/python/tests/res/out/boomer-regressor/prediction-characteristics_training-data.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_training-data.txt rename to python/tests/res/out/boomer-regressor/prediction-characteristics_training-data.txt index 11dc2cf49a..2497c1fe21 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-characteristics_training-data.txt +++ b/python/tests/res/out/boomer-regressor/prediction-characteristics_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-format-dense.txt b/python/tests/res/out/boomer-regressor/prediction-format-dense.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-format-dense.txt rename to python/tests/res/out/boomer-regressor/prediction-format-dense.txt index 19aa45bb47..ed55e3a70d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-format-dense.txt +++ b/python/tests/res/out/boomer-regressor/prediction-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-format-sparse.txt b/python/tests/res/out/boomer-regressor/prediction-format-sparse.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-format-sparse.txt rename to python/tests/res/out/boomer-regressor/prediction-format-sparse.txt index 19aa45bb47..ed55e3a70d 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/prediction-format-sparse.txt +++ b/python/tests/res/out/boomer-regressor/prediction-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_cross-validation.txt b/python/tests/res/out/boomer-regressor/predictions_cross-validation.txt similarity index 91% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_cross-validation.txt rename to python/tests/res/out/boomer-regressor/predictions_cross-validation.txt index 9526d3723d..c53a0ef02a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/predictions_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -79,8 +79,8 @@ Predictions: [321.13 118.59 221.95 182.18 241.59 192.06] [153.89 105.24 174.4 124.37 153.38 125.04]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'. INFO Fold 2 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -158,8 +158,8 @@ Predictions: [167.64 158.01 180.26 193.88 67.48 192.44] [188.33 103.18 202.19 184.88 213.13 184.81]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-2.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-2.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-2.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-2.arff'. INFO Fold 3 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -237,8 +237,8 @@ Predictions: [ 53.68 126.65 193.16 17.92 90.56 19.02] [189.46 146.99 180.56 199.06 91.48 190.51]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-3.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-3.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-3.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-3.arff'. INFO Fold 4 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -316,8 +316,8 @@ Predictions: [188.06 194.58 224.84 217.28 111.65 200.42] [266.75 101.56 223.42 156.04 229.3 155.83]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-4.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-4.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-4.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-4.arff'. INFO Fold 5 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -395,8 +395,8 @@ Predictions: [160.7 194.28 213.79 186.54 59.05 202.39] [207.89 146.87 174.99 227.43 236.08 227.26]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-5.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-5.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-5.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-5.arff'. INFO Fold 6 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -474,8 +474,8 @@ Predictions: [227.04 229.29 191.92 220.63 59.48 228.71] [162.31 145.33 150.89 219.74 225.85 218.7 ]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-6.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-6.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-6.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-6.arff'. INFO Fold 7 / 10: INFO Fitting model to 267 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -551,8 +551,8 @@ Predictions: [151.97 117.36 131.97 179.99 210.54 176.03] [209.75 74.84 175.78 30.97 205.18 21.05]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-7.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-7.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-7.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-7.arff'. INFO Fold 8 / 10: INFO Fitting model to 267 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -628,8 +628,8 @@ Predictions: [221.98 147.32 259.08 139.41 262.05 139.3 ] [203.89 127.93 198.43 118.26 267.69 114.73]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-8.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-8.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-8.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-8.arff'. INFO Fold 9 / 10: INFO Fitting model to 267 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -705,8 +705,8 @@ Predictions: [100.41 153.67 219.01 115.03 83.31 115.87] [166.86 168.39 177.58 192.38 242.91 186.65]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-9.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-9.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-9.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-9.arff'. INFO Fold 10 / 10: INFO Fitting model to 267 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -782,6 +782,6 @@ Predictions: [ 2.61 130.04 222.77 70.11 47.12 67.5 ] [149.26 195.29 170.4 178.75 11.42 177.46]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-10.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-10.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-10.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-10.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_single-fold.txt b/python/tests/res/out/boomer-regressor/predictions_single-fold.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_single-fold.txt rename to python/tests/res/out/boomer-regressor/predictions_single-fold.txt index 0158e44da4..27b7cf914b 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/predictions_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -79,6 +79,6 @@ Predictions: [321.13 118.59 221.95 182.18 241.59 192.06] [153.89 105.24 174.4 124.37 153.38 125.04]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_train-test.txt b/python/tests/res/out/boomer-regressor/predictions_train-test.txt similarity index 94% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_train-test.txt rename to python/tests/res/out/boomer-regressor/predictions_train-test.txt index 52ba41f04d..cb555e4620 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_train-test.txt +++ b/python/tests/res/out/boomer-regressor/predictions_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples @@ -214,6 +214,6 @@ Predictions: [ 49.33 29.24 51.84 104.37 25.67 108.05] [ 91.95 130.42 183.24 124.87 48.6 128.06]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_training-data.txt b/python/tests/res/out/boomer-regressor/predictions_training-data.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_training-data.txt rename to python/tests/res/out/boomer-regressor/predictions_training-data.txt index b1431ca920..8a347ca9b8 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/predictions_training-data.txt +++ b/python/tests/res/out/boomer-regressor/predictions_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples @@ -414,8 +414,8 @@ Predictions: [ 13.93 164.69 204.42 177.27 61.14 177.48] [ 13.16 54.19 92.34 93.69 14.95 93.3 ]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_training_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_training_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_training_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_training_overall.arff'. INFO Predicting for 98 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted scores @@ -624,6 +624,6 @@ Predictions: [ 49.33 29.24 51.84 104.37 25.67 108.05] [ 91.95 130.42 183.24 124.87 48.6 128.06]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/pruning-irep.txt b/python/tests/res/out/boomer-regressor/pruning-irep.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/pruning-irep.txt rename to python/tests/res/out/boomer-regressor/pruning-irep.txt index f0446ae921..321debea8a 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/pruning-irep.txt +++ b/python/tests/res/out/boomer-regressor/pruning-irep.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/pruning-no.txt b/python/tests/res/out/boomer-regressor/pruning-no.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/pruning-no.txt rename to python/tests/res/out/boomer-regressor/pruning-no.txt index 0d7c6413ac..083f9e7a35 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/pruning-no.txt +++ b/python/tests/res/out/boomer-regressor/pruning-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/rule-induction-top-down-beam-search.txt b/python/tests/res/out/boomer-regressor/rule-induction-top-down-beam-search.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/rule-induction-top-down-beam-search.txt rename to python/tests/res/out/boomer-regressor/rule-induction-top-down-beam-search.txt index 49eb5fa63c..14fd322551 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/rule-induction-top-down-beam-search.txt +++ b/python/tests/res/out/boomer-regressor/rule-induction-top-down-beam-search.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/rules_cross-validation.txt b/python/tests/res/out/boomer-regressor/rules_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/rules_cross-validation.txt rename to python/tests/res/out/boomer-regressor/rules_cross-validation.txt index d57fe9aae2..4497c67f52 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/rules_cross-validation.txt +++ b/python/tests/res/out/boomer-regressor/rules_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/rules_single-fold.txt b/python/tests/res/out/boomer-regressor/rules_single-fold.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/rules_single-fold.txt rename to python/tests/res/out/boomer-regressor/rules_single-fold.txt index b07d358f00..6b1c47bc69 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/rules_single-fold.txt +++ b/python/tests/res/out/boomer-regressor/rules_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fold 1 / 10: INFO Fitting model to 266 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/rules_train-test.txt b/python/tests/res/out/boomer-regressor/rules_train-test.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/rules_train-test.txt rename to python/tests/res/out/boomer-regressor/rules_train-test.txt index 4400204baf..0d3b578c4e 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/rules_train-test.txt +++ b/python/tests/res/out/boomer-regressor/rules_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/sequential-post-optimization.txt b/python/tests/res/out/boomer-regressor/sequential-post-optimization.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/sequential-post-optimization.txt rename to python/tests/res/out/boomer-regressor/sequential-post-optimization.txt index ea53b04e86..04a335e1e5 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/sequential-post-optimization.txt +++ b/python/tests/res/out/boomer-regressor/sequential-post-optimization.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d.arff"... INFO Fitting model to 198 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/single-output-regression.txt b/python/tests/res/out/boomer-regressor/single-output-regression.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/single-output-regression.txt rename to python/tests/res/out/boomer-regressor/single-output-regression.txt index 9d02873597..2808f9e892 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/single-output-regression.txt +++ b/python/tests/res/out/boomer-regressor/single-output-regression.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/housing.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/housing.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/housing.xml"... +DEBUG Loading data set from file "python/tests/res/data/housing.arff"... INFO Fitting model to 339 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/single-output.txt b/python/tests/res/out/boomer-regressor/single-output.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/single-output.txt rename to python/tests/res/out/boomer-regressor/single-output.txt index 9d02873597..2808f9e892 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/single-output.txt +++ b/python/tests/res/out/boomer-regressor/single-output.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/housing.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/housing.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/housing.xml"... +DEBUG Loading data set from file "python/tests/res/data/housing.arff"... INFO Fitting model to 339 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/boomer-regressor/sparse-feature-value.txt b/python/tests/res/out/boomer-regressor/sparse-feature-value.txt similarity index 80% rename from python/subprojects/testbed/tests/res/out/boomer-regressor/sparse-feature-value.txt rename to python/tests/res/out/boomer-regressor/sparse-feature-value.txt index c1e2c3aa1e..4ccecd36e7 100644 --- a/python/subprojects/testbed/tests/res/out/boomer-regressor/sparse-feature-value.txt +++ b/python/tests/res/out/boomer-regressor/sparse-feature-value.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the regression algorithm "boomer"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/atp7d-numerical-sparse.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/atp7d-numerical-sparse.xml"... +DEBUG Loading data set from file "python/tests/res/data/atp7d-numerical-sparse.arff"... INFO Fitting model to 198 training examples... DEBUG A sparse matrix with sparse value 1.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the regression scores of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/binary-features-dense.txt b/python/tests/res/out/seco-classifier/binary-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/binary-features-dense.txt rename to python/tests/res/out/seco-classifier/binary-features-dense.txt index 8e736d5b53..b534519590 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/binary-features-dense.txt +++ b/python/tests/res/out/seco-classifier/binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/binary-features-sparse.txt b/python/tests/res/out/seco-classifier/binary-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/binary-features-sparse.txt rename to python/tests/res/out/seco-classifier/binary-features-sparse.txt index 77a8b8c7a5..3fc57722c6 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/binary-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_cross-validation.txt b/python/tests/res/out/seco-classifier/data-characteristics_cross-validation.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_cross-validation.txt rename to python/tests/res/out/seco-classifier/data-characteristics_cross-validation.txt index b9e4b26b0d..f4c6e37582 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/data-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Data characteristics (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_single-fold.txt b/python/tests/res/out/seco-classifier/data-characteristics_single-fold.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_single-fold.txt rename to python/tests/res/out/seco-classifier/data-characteristics_single-fold.txt index 0843cac1a6..d70efd276c 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_single-fold.txt +++ b/python/tests/res/out/seco-classifier/data-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Data characteristics (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_train-test.txt b/python/tests/res/out/seco-classifier/data-characteristics_train-test.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_train-test.txt rename to python/tests/res/out/seco-classifier/data-characteristics_train-test.txt index eb10cad0f8..acaaa6edbe 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/data-characteristics_train-test.txt +++ b/python/tests/res/out/seco-classifier/data-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Data characteristics: Examples 397 diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_cross-validation-predefined.txt b/python/tests/res/out/seco-classifier/evaluation_cross-validation-predefined.txt similarity index 89% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_cross-validation-predefined.txt rename to python/tests/res/out/seco-classifier/evaluation_cross-validation-predefined.txt index c7371f7543..5bb3d3e797 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_cross-validation-predefined.txt +++ b/python/tests/res/out/seco-classifier/evaluation_cross-validation-predefined.txt @@ -1,16 +1,16 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-predefined.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-1.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-2.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-3.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-4.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-5.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-6.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-7.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-8.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-9.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_fold-10.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-predefined.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-1.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-2.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-3.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-4.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-5.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-6.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-7.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-8.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-9.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_fold-10.arff"... INFO Fold 1 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_cross-validation.txt b/python/tests/res/out/seco-classifier/evaluation_cross-validation.txt similarity index 98% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_cross-validation.txt rename to python/tests/res/out/seco-classifier/evaluation_cross-validation.txt index 092dbff875..dc5b046740 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/evaluation_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_incremental.txt b/python/tests/res/out/seco-classifier/evaluation_incremental.txt similarity index 90% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_incremental.txt rename to python/tests/res/out/seco-classifier/evaluation_incremental.txt index 7abc6838b7..19d9f61e44 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_incremental.txt +++ b/python/tests/res/out/seco-classifier/evaluation_incremental.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_no-data-split.txt b/python/tests/res/out/seco-classifier/evaluation_no-data-split.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_no-data-split.txt rename to python/tests/res/out/seco-classifier/evaluation_no-data-split.txt index a8de0d90d4..43d2bb9915 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_no-data-split.txt +++ b/python/tests/res/out/seco-classifier/evaluation_no-data-split.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... WARNING Not using separate training and test sets. The model will be evaluated on the training data... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 593 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_single-fold.txt b/python/tests/res/out/seco-classifier/evaluation_single-fold.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_single-fold.txt rename to python/tests/res/out/seco-classifier/evaluation_single-fold.txt index bd113c9cae..274c0a8116 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_single-fold.txt +++ b/python/tests/res/out/seco-classifier/evaluation_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_train-test-predefined.txt b/python/tests/res/out/seco-classifier/evaluation_train-test-predefined.txt similarity index 77% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_train-test-predefined.txt rename to python/tests/res/out/seco-classifier/evaluation_train-test-predefined.txt index fd5b408c3b..5106ed295c 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_train-test-predefined.txt +++ b/python/tests/res/out/seco-classifier/evaluation_train-test-predefined.txt @@ -1,8 +1,8 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-predefined.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_training.arff"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-predefined_test.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-predefined.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_training.arff"... +DEBUG Loading data set from file "python/tests/res/data/emotions-predefined_test.arff"... INFO Fitting model to 391 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_train-test.txt b/python/tests/res/out/seco-classifier/evaluation_train-test.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_train-test.txt rename to python/tests/res/out/seco-classifier/evaluation_train-test.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_train-test.txt +++ b/python/tests/res/out/seco-classifier/evaluation_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_training-data.txt b/python/tests/res/out/seco-classifier/evaluation_training-data.txt similarity index 90% rename from python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_training-data.txt rename to python/tests/res/out/seco-classifier/evaluation_training-data.txt index 4f93a465ff..903d6358c5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/evaluation_training-data.txt +++ b/python/tests/res/out/seco-classifier/evaluation_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-dense.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-dense.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-dense.txt index 8e736d5b53..b534519590 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-dense.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-sparse.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-sparse.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-sparse.txt index 77a8b8c7a5..3fc57722c6 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-dense.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-dense.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-dense.txt index 3c1266fd0c..7c53d3cc20 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-dense.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt index 2cdf60a349..c9b43cde93 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-dense.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-dense.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-dense.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-dense.txt index 1f7b921396..05290b5ba4 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-dense.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt index 06570ad426..b7c2e23ecb 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-frequency_numerical-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-dense.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-dense.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-dense.txt index 8e736d5b53..b534519590 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-dense.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-sparse.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-sparse.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-sparse.txt index 77a8b8c7a5..3fc57722c6 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-width_binary-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/enron.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/enron.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/enron.xml"... +DEBUG Loading data set from file "python/tests/res/data/enron.arff"... INFO Fitting model to 1140 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-dense.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-dense.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-dense.txt index 3c1266fd0c..7c53d3cc20 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-dense.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-sparse.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-sparse.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-sparse.txt index 2cdf60a349..c9b43cde93 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-width_nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-dense.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-dense.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-dense.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-dense.txt index ace5d55628..3ecd1dea16 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-dense.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-sparse.txt b/python/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-sparse.txt rename to python/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-sparse.txt index 8da0ef315e..bca8859824 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/feature-binning-equal-width_numerical-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-sampling-no.txt b/python/tests/res/out/seco-classifier/feature-sampling-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-sampling-no.txt rename to python/tests/res/out/seco-classifier/feature-sampling-no.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-sampling-no.txt +++ b/python/tests/res/out/seco-classifier/feature-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-sampling-without-replacement.txt b/python/tests/res/out/seco-classifier/feature-sampling-without-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/feature-sampling-without-replacement.txt rename to python/tests/res/out/seco-classifier/feature-sampling-without-replacement.txt index 830d68cd0b..02e996197a 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/feature-sampling-without-replacement.txt +++ b/python/tests/res/out/seco-classifier/feature-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_accuracy.txt b/python/tests/res/out/seco-classifier/heuristic_accuracy.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_accuracy.txt rename to python/tests/res/out/seco-classifier/heuristic_accuracy.txt index 551e0ffb4b..81751cb8f7 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_accuracy.txt +++ b/python/tests/res/out/seco-classifier/heuristic_accuracy.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_f-measure.txt b/python/tests/res/out/seco-classifier/heuristic_f-measure.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_f-measure.txt rename to python/tests/res/out/seco-classifier/heuristic_f-measure.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_f-measure.txt +++ b/python/tests/res/out/seco-classifier/heuristic_f-measure.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_laplace.txt b/python/tests/res/out/seco-classifier/heuristic_laplace.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_laplace.txt rename to python/tests/res/out/seco-classifier/heuristic_laplace.txt index 2086ed7eff..61193ed389 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_laplace.txt +++ b/python/tests/res/out/seco-classifier/heuristic_laplace.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_m-estimate.txt b/python/tests/res/out/seco-classifier/heuristic_m-estimate.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_m-estimate.txt rename to python/tests/res/out/seco-classifier/heuristic_m-estimate.txt index 64cdc4166f..2b5a899826 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_m-estimate.txt +++ b/python/tests/res/out/seco-classifier/heuristic_m-estimate.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_precision.txt b/python/tests/res/out/seco-classifier/heuristic_precision.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_precision.txt rename to python/tests/res/out/seco-classifier/heuristic_precision.txt index 80960fd582..fe503fa79c 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_precision.txt +++ b/python/tests/res/out/seco-classifier/heuristic_precision.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_recall.txt b/python/tests/res/out/seco-classifier/heuristic_recall.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_recall.txt rename to python/tests/res/out/seco-classifier/heuristic_recall.txt index 397df3dc9b..ffd752291e 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_recall.txt +++ b/python/tests/res/out/seco-classifier/heuristic_recall.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_wra.txt b/python/tests/res/out/seco-classifier/heuristic_wra.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_wra.txt rename to python/tests/res/out/seco-classifier/heuristic_wra.txt index 0716134c54..67bffe077d 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/heuristic_wra.txt +++ b/python/tests/res/out/seco-classifier/heuristic_wra.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-no.txt b/python/tests/res/out/seco-classifier/instance-sampling-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-no.txt rename to python/tests/res/out/seco-classifier/instance-sampling-no.txt index 0b13a01dd5..add99dd905 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-no.txt +++ b/python/tests/res/out/seco-classifier/instance-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-stratified-example-wise.txt b/python/tests/res/out/seco-classifier/instance-sampling-stratified-example-wise.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-stratified-example-wise.txt rename to python/tests/res/out/seco-classifier/instance-sampling-stratified-example-wise.txt index 865c5add74..41c0acd59b 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-stratified-example-wise.txt +++ b/python/tests/res/out/seco-classifier/instance-sampling-stratified-example-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-stratified-output-wise.txt b/python/tests/res/out/seco-classifier/instance-sampling-stratified-output-wise.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-stratified-output-wise.txt rename to python/tests/res/out/seco-classifier/instance-sampling-stratified-output-wise.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-stratified-output-wise.txt +++ b/python/tests/res/out/seco-classifier/instance-sampling-stratified-output-wise.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-with-replacement.txt b/python/tests/res/out/seco-classifier/instance-sampling-with-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-with-replacement.txt rename to python/tests/res/out/seco-classifier/instance-sampling-with-replacement.txt index 7a1f01437c..db020261fd 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-with-replacement.txt +++ b/python/tests/res/out/seco-classifier/instance-sampling-with-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-without-replacement.txt b/python/tests/res/out/seco-classifier/instance-sampling-without-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-without-replacement.txt rename to python/tests/res/out/seco-classifier/instance-sampling-without-replacement.txt index fd2079a4a9..38a5e95813 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/instance-sampling-without-replacement.txt +++ b/python/tests/res/out/seco-classifier/instance-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_cross-validation.txt b/python/tests/res/out/seco-classifier/label-vectors_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_cross-validation.txt rename to python/tests/res/out/seco-classifier/label-vectors_cross-validation.txt index a874468953..de93427a1f 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/label-vectors_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_single-fold.txt b/python/tests/res/out/seco-classifier/label-vectors_single-fold.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_single-fold.txt rename to python/tests/res/out/seco-classifier/label-vectors_single-fold.txt index 9a8427e00b..ffa02bd41c 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_single-fold.txt +++ b/python/tests/res/out/seco-classifier/label-vectors_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_train-test.txt b/python/tests/res/out/seco-classifier/label-vectors_train-test.txt similarity index 91% rename from python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_train-test.txt rename to python/tests/res/out/seco-classifier/label-vectors_train-test.txt index 7de116a2d5..058b0cffad 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/label-vectors_train-test.txt +++ b/python/tests/res/out/seco-classifier/label-vectors_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/meka-format.txt b/python/tests/res/out/seco-classifier/meka-format.txt similarity index 54% rename from python/subprojects/testbed/tests/res/out/seco-classifier/meka-format.txt rename to python/tests/res/out/seco-classifier/meka-format.txt index 6b30c096c4..e61400540e 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/meka-format.txt +++ b/python/tests/res/out/seco-classifier/meka-format.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Mulan XML file "python/subprojects/testbed/tests/res/data/meka.xml" does not exist. If possible, information about the data set's outputs is parsed from the ARFF file's @relation declaration as intended by the MEKA data set format... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/meka.arff"... +DEBUG Mulan XML file "python/tests/res/data/meka.xml" does not exist. If possible, information about the data set's outputs is parsed from the ARFF file's @relation declaration as intended by the MEKA data set format... +DEBUG Loading data set from file "python/tests/res/data/meka.arff"... INFO Fitting model to 9 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_cross-validation.txt b/python/tests/res/out/seco-classifier/model-characteristics_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_cross-validation.txt rename to python/tests/res/out/seco-classifier/model-characteristics_cross-validation.txt index c362890f4f..b552dd9449 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/model-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_single-fold.txt b/python/tests/res/out/seco-classifier/model-characteristics_single-fold.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_single-fold.txt rename to python/tests/res/out/seco-classifier/model-characteristics_single-fold.txt index 4aa1c4e62c..01764ccfeb 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_single-fold.txt +++ b/python/tests/res/out/seco-classifier/model-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_train-test.txt b/python/tests/res/out/seco-classifier/model-characteristics_train-test.txt similarity index 95% rename from python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_train-test.txt rename to python/tests/res/out/seco-classifier/model-characteristics_train-test.txt index 29b88e31f3..dcb253ea21 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/model-characteristics_train-test.txt +++ b/python/tests/res/out/seco-classifier/model-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_cross-validation.txt b/python/tests/res/out/seco-classifier/model-persistence_cross-validation.txt similarity index 78% rename from python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_cross-validation.txt rename to python/tests/res/out/seco-classifier/model-persistence_cross-validation.txt index b0959dd86d..0789cd8eb8 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/model-persistence_cross-validation.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-1.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-1.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-1.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-1.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -29,8 +29,8 @@ Subset 0/1 Loss 81.67 Subset Accuracy 18.33 INFO Fold 2 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-2.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-2.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-2.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-2.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -55,8 +55,8 @@ Subset 0/1 Loss 81.67 Subset Accuracy 18.33 INFO Fold 3 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-3.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-3.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-3.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-3.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -81,8 +81,8 @@ Subset 0/1 Loss 81.67 Subset Accuracy 18.33 INFO Fold 4 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-4.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-4.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-4.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-4.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -107,8 +107,8 @@ Subset 0/1 Loss 77.97 Subset Accuracy 22.03 INFO Fold 5 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-5.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-5.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-5.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-5.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -133,8 +133,8 @@ Subset 0/1 Loss 79.66 Subset Accuracy 20.34 INFO Fold 6 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-6.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-6.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-6.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-6.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -159,8 +159,8 @@ Subset 0/1 Loss 86.44 Subset Accuracy 13.56 INFO Fold 7 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-7.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-7.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-7.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-7.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -185,8 +185,8 @@ Subset 0/1 Loss 77.97 Subset Accuracy 22.03 INFO Fold 8 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-8.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-8.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-8.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-8.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -211,8 +211,8 @@ Subset 0/1 Loss 76.27 Subset Accuracy 23.73 INFO Fold 9 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-9.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-9.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-9.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-9.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -237,8 +237,8 @@ Subset 0/1 Loss 81.36 Subset Accuracy 18.64 INFO Fold 10 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-10.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-10.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-10.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-10.model" INFO Predicting for 59 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_single-fold.txt b/python/tests/res/out/seco-classifier/model-persistence_single-fold.txt similarity index 70% rename from python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_single-fold.txt rename to python/tests/res/out/seco-classifier/model-persistence_single-fold.txt index 14600c5774..341a679dad 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_single-fold.txt +++ b/python/tests/res/out/seco-classifier/model-persistence_single-fold.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-1.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_fold-1.model" +DEBUG Loading model from file "python/tests/res/tmp/models/seco_fold-1.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_fold-1.model" INFO Predicting for 60 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_train-test.txt b/python/tests/res/out/seco-classifier/model-persistence_train-test.txt similarity index 69% rename from python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_train-test.txt rename to python/tests/res/out/seco-classifier/model-persistence_train-test.txt index 9e7e781b4f..b9835f8413 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/model-persistence_train-test.txt +++ b/python/tests/res/out/seco-classifier/model-persistence_train-test.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading model from file "python/subprojects/testbed/tests/res/tmp/models/seco_overall.model"... -INFO Successfully loaded model from file "python/subprojects/testbed/tests/res/tmp/models/seco_overall.model" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading model from file "python/tests/res/tmp/models/seco_overall.model"... +INFO Successfully loaded model from file "python/tests/res/tmp/models/seco_overall.model" INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/nominal-features-dense.txt b/python/tests/res/out/seco-classifier/nominal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/seco-classifier/nominal-features-dense.txt rename to python/tests/res/out/seco-classifier/nominal-features-dense.txt index 3c1266fd0c..7c53d3cc20 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/nominal-features-dense.txt +++ b/python/tests/res/out/seco-classifier/nominal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/nominal-features-sparse.txt b/python/tests/res/out/seco-classifier/nominal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/nominal-features-sparse.txt rename to python/tests/res/out/seco-classifier/nominal-features-sparse.txt index 2cdf60a349..c9b43cde93 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/nominal-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/nominal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-nominal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-nominal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-nominal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-nominal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/numeric-features-dense.txt b/python/tests/res/out/seco-classifier/numeric-features-dense.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/numeric-features-dense.txt rename to python/tests/res/out/seco-classifier/numeric-features-dense.txt index 6053971408..95efdd1fb4 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/numeric-features-dense.txt +++ b/python/tests/res/out/seco-classifier/numeric-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/numeric-features-sparse.txt b/python/tests/res/out/seco-classifier/numeric-features-sparse.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/numeric-features-sparse.txt rename to python/tests/res/out/seco-classifier/numeric-features-sparse.txt index 720622423e..d997ce2220 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/numeric-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/numeric-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/ordinal-features-dense.txt b/python/tests/res/out/seco-classifier/ordinal-features-dense.txt similarity index 84% rename from python/subprojects/testbed/tests/res/out/seco-classifier/ordinal-features-dense.txt rename to python/tests/res/out/seco-classifier/ordinal-features-dense.txt index 2509d25427..cf2a5d64ff 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/ordinal-features-dense.txt +++ b/python/tests/res/out/seco-classifier/ordinal-features-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-ordinal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-ordinal.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/ordinal-features-sparse.txt b/python/tests/res/out/seco-classifier/ordinal-features-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/ordinal-features-sparse.txt rename to python/tests/res/out/seco-classifier/ordinal-features-sparse.txt index 2de9e7c420..c3f55c2d7e 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/ordinal-features-sparse.txt +++ b/python/tests/res/out/seco-classifier/ordinal-features-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions-ordinal.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions-ordinal.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions-ordinal.arff"... INFO Fitting model to 397 training examples... DEBUG A sparse matrix with sparse value 0.0 is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/output-format-dense.txt b/python/tests/res/out/seco-classifier/output-format-dense.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/output-format-dense.txt rename to python/tests/res/out/seco-classifier/output-format-dense.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/output-format-dense.txt +++ b/python/tests/res/out/seco-classifier/output-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/output-format-sparse.txt b/python/tests/res/out/seco-classifier/output-format-sparse.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/output-format-sparse.txt rename to python/tests/res/out/seco-classifier/output-format-sparse.txt index 277298564a..1eb8209a97 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/output-format-sparse.txt +++ b/python/tests/res/out/seco-classifier/output-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-no.txt b/python/tests/res/out/seco-classifier/output-sampling-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-no.txt rename to python/tests/res/out/seco-classifier/output-sampling-no.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-no.txt +++ b/python/tests/res/out/seco-classifier/output-sampling-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-round-robin.txt b/python/tests/res/out/seco-classifier/output-sampling-round-robin.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-round-robin.txt rename to python/tests/res/out/seco-classifier/output-sampling-round-robin.txt index 4cbc597de6..71383ddd68 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-round-robin.txt +++ b/python/tests/res/out/seco-classifier/output-sampling-round-robin.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-without-replacement.txt b/python/tests/res/out/seco-classifier/output-sampling-without-replacement.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-without-replacement.txt rename to python/tests/res/out/seco-classifier/output-sampling-without-replacement.txt index 720b1162a7..ddd8cc7abb 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/output-sampling-without-replacement.txt +++ b/python/tests/res/out/seco-classifier/output-sampling-without-replacement.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/parameters_cross-validation.txt b/python/tests/res/out/seco-classifier/parameters_cross-validation.txt similarity index 95% rename from python/subprojects/testbed/tests/res/out/seco-classifier/parameters_cross-validation.txt rename to python/tests/res/out/seco-classifier/parameters_cross-validation.txt index 2b624ad9bc..b536059e3b 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/parameters_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/parameters_cross-validation.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-1.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-1.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 1): @@ -39,8 +39,8 @@ INFO Model characteristics (Fold 1): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 2 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-2.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-2.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-2.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-2.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 2): @@ -75,8 +75,8 @@ INFO Model characteristics (Fold 2): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 3 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-3.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-3.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-3.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-3.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 3): @@ -111,8 +111,8 @@ INFO Model characteristics (Fold 3): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 4 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-4.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-4.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-4.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-4.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 4): @@ -147,8 +147,8 @@ INFO Model characteristics (Fold 4): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 5 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-5.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-5.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-5.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-5.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 5): @@ -183,8 +183,8 @@ INFO Model characteristics (Fold 5): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 6 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-6.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-6.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-6.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-6.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 6): @@ -219,8 +219,8 @@ INFO Model characteristics (Fold 6): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 7 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-7.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-7.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-7.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-7.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 7): @@ -255,8 +255,8 @@ INFO Model characteristics (Fold 7): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 8 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-8.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-8.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-8.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-8.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 8): @@ -291,8 +291,8 @@ INFO Model characteristics (Fold 8): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 9 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-9.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-9.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-9.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-9.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 9): @@ -327,8 +327,8 @@ INFO Model characteristics (Fold 9): └─────────────────────────────┴───────────┴───────────┴───────────┘ INFO Fold 10 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-10.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-10.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-10.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-10.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 10): diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/parameters_single-fold.txt b/python/tests/res/out/seco-classifier/parameters_single-fold.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/seco-classifier/parameters_single-fold.txt rename to python/tests/res/out/seco-classifier/parameters_single-fold.txt index e9acc9445e..3350d5ee8f 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/parameters_single-fold.txt +++ b/python/tests/res/out/seco-classifier/parameters_single-fold.txt @@ -1,10 +1,10 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_fold-1.csv" +DEBUG Loading parameters from file "python/tests/res/in/parameters_fold-1.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_fold-1.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters (Fold 1): diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/parameters_train-test.txt b/python/tests/res/out/seco-classifier/parameters_train-test.txt similarity index 92% rename from python/subprojects/testbed/tests/res/out/seco-classifier/parameters_train-test.txt rename to python/tests/res/out/seco-classifier/parameters_train-test.txt index c543fafb2a..40fde615bd 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/parameters_train-test.txt +++ b/python/tests/res/out/seco-classifier/parameters_train-test.txt @@ -1,9 +1,9 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... -DEBUG Loading parameters from file "python/subprojects/testbed/tests/res/in/parameters_overall.csv"... -INFO Successfully loaded parameters from file "python/subprojects/testbed/tests/res/in/parameters_overall.csv" +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... +DEBUG Loading parameters from file "python/tests/res/in/parameters_overall.csv"... +INFO Successfully loaded parameters from file "python/tests/res/in/parameters_overall.csv" INFO Successfully applied parameter setting: {'max_rules': '10', 'rule_induction': 'top-down-greedy{max_conditions=1}'} INFO Custom parameters: diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_kln-lift-function.txt b/python/tests/res/out/seco-classifier/partial-heads_kln-lift-function.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_kln-lift-function.txt rename to python/tests/res/out/seco-classifier/partial-heads_kln-lift-function.txt index c1a8a11fd1..1bf2c4aac5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_kln-lift-function.txt +++ b/python/tests/res/out/seco-classifier/partial-heads_kln-lift-function.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_no-lift-function.txt b/python/tests/res/out/seco-classifier/partial-heads_no-lift-function.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_no-lift-function.txt rename to python/tests/res/out/seco-classifier/partial-heads_no-lift-function.txt index fb0386860c..e6e94ce70d 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_no-lift-function.txt +++ b/python/tests/res/out/seco-classifier/partial-heads_no-lift-function.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_peak-lift-function.txt b/python/tests/res/out/seco-classifier/partial-heads_peak-lift-function.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_peak-lift-function.txt rename to python/tests/res/out/seco-classifier/partial-heads_peak-lift-function.txt index 5d84cdeda7..440fed437c 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/partial-heads_peak-lift-function.txt +++ b/python/tests/res/out/seco-classifier/partial-heads_peak-lift-function.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_cross-validation.txt b/python/tests/res/out/seco-classifier/prediction-characteristics_cross-validation.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_cross-validation.txt rename to python/tests/res/out/seco-classifier/prediction-characteristics_cross-validation.txt index 4b70dc794b..198cc98a2f 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/prediction-characteristics_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_single-fold.txt b/python/tests/res/out/seco-classifier/prediction-characteristics_single-fold.txt similarity index 82% rename from python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_single-fold.txt rename to python/tests/res/out/seco-classifier/prediction-characteristics_single-fold.txt index 267404ff1e..ac936ffadc 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_single-fold.txt +++ b/python/tests/res/out/seco-classifier/prediction-characteristics_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_train-test.txt b/python/tests/res/out/seco-classifier/prediction-characteristics_train-test.txt similarity index 81% rename from python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_train-test.txt rename to python/tests/res/out/seco-classifier/prediction-characteristics_train-test.txt index 61ae071e48..a968370122 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_train-test.txt +++ b/python/tests/res/out/seco-classifier/prediction-characteristics_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_training-data.txt b/python/tests/res/out/seco-classifier/prediction-characteristics_training-data.txt similarity index 87% rename from python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_training-data.txt rename to python/tests/res/out/seco-classifier/prediction-characteristics_training-data.txt index 261c514caf..e1086dc112 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-characteristics_training-data.txt +++ b/python/tests/res/out/seco-classifier/prediction-characteristics_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-format-dense.txt b/python/tests/res/out/seco-classifier/prediction-format-dense.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/seco-classifier/prediction-format-dense.txt rename to python/tests/res/out/seco-classifier/prediction-format-dense.txt index eee90fa6fa..3753a4c7e3 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-format-dense.txt +++ b/python/tests/res/out/seco-classifier/prediction-format-dense.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-format-sparse.txt b/python/tests/res/out/seco-classifier/prediction-format-sparse.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/seco-classifier/prediction-format-sparse.txt rename to python/tests/res/out/seco-classifier/prediction-format-sparse.txt index 704f32ba26..31cca565ab 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/prediction-format-sparse.txt +++ b/python/tests/res/out/seco-classifier/prediction-format-sparse.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_cross-validation.txt b/python/tests/res/out/seco-classifier/predictions_cross-validation.txt similarity index 90% rename from python/subprojects/testbed/tests/res/out/seco-classifier/predictions_cross-validation.txt rename to python/tests/res/out/seco-classifier/predictions_cross-validation.txt index 3f6c8ad1cf..f9b49b85b0 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/predictions_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -139,8 +139,8 @@ Predictions: [0 0 1 1 1 1] [0 0 1 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'. INFO Fold 2 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -278,8 +278,8 @@ Predictions: [0 0 0 0 0 0] [0 0 0 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-2.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-2.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-2.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-2.arff'. INFO Fold 3 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -417,8 +417,8 @@ Predictions: [0 0 1 1 0 0] [0 0 1 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-3.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-3.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-3.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-3.arff'. INFO Fold 4 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -554,8 +554,8 @@ Predictions: [1 0 0 0 0 1] [0 0 1 1 1 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-4.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-4.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-4.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-4.arff'. INFO Fold 5 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -691,8 +691,8 @@ Predictions: [0 0 1 1 0 1] [0 0 1 1 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-5.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-5.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-5.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-5.arff'. INFO Fold 6 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -828,8 +828,8 @@ Predictions: [0 0 1 0 0 1] [0 0 1 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-6.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-6.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-6.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-6.arff'. INFO Fold 7 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -965,8 +965,8 @@ Predictions: [0 0 1 0 0 0] [0 0 0 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-7.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-7.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-7.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-7.arff'. INFO Fold 8 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -1102,8 +1102,8 @@ Predictions: [1 0 0 0 0 0] [0 0 1 1 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-8.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-8.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-8.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-8.arff'. INFO Fold 9 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -1239,8 +1239,8 @@ Predictions: [0 0 0 0 0 0] [0 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-9.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-9.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-9.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-9.arff'. INFO Fold 10 / 10: INFO Fitting model to 534 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -1376,6 +1376,6 @@ Predictions: [0 0 0 0 0 1] [0 0 1 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-10.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-10.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-10.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-10.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_single-fold.txt b/python/tests/res/out/seco-classifier/predictions_single-fold.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/predictions_single-fold.txt rename to python/tests/res/out/seco-classifier/predictions_single-fold.txt index ffb4efd542..8463549c89 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_single-fold.txt +++ b/python/tests/res/out/seco-classifier/predictions_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples @@ -139,6 +139,6 @@ Predictions: [0 0 1 1 1 1] [0 0 1 1 1 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_fold-1.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_fold-1.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_train-test.txt b/python/tests/res/out/seco-classifier/predictions_train-test.txt similarity index 93% rename from python/subprojects/testbed/tests/res/out/seco-classifier/predictions_train-test.txt rename to python/tests/res/out/seco-classifier/predictions_train-test.txt index 33518288cf..80fe4b2f93 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_train-test.txt +++ b/python/tests/res/out/seco-classifier/predictions_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples @@ -410,6 +410,6 @@ Predictions: [0 0 1 1 0 1] [0 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_training-data.txt b/python/tests/res/out/seco-classifier/predictions_training-data.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/predictions_training-data.txt rename to python/tests/res/out/seco-classifier/predictions_training-data.txt index 6e65bc075b..5c04350e76 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/predictions_training-data.txt +++ b/python/tests/res/out/seco-classifier/predictions_training-data.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples @@ -812,8 +812,8 @@ Predictions: [0 0 1 1 1 0] [0 0 0 0 0 0]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_training_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_training_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_training_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_training_overall.arff'. INFO Predicting for 196 test examples... DEBUG A dense matrix is used to store the feature values of the query examples DEBUG A dense matrix is used to store the predicted labels @@ -1218,6 +1218,6 @@ Predictions: [0 0 1 1 0 1] [0 0 0 0 0 1]] -DEBUG Saving data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'... -INFO Successfully saved data set to file 'python/subprojects/testbed/tests/res/tmp/results/predictions_test_overall.arff'. +DEBUG Saving data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'... +INFO Successfully saved data set to file 'python/tests/res/tmp/results/predictions_test_overall.arff'. INFO Successfully finished after diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_accuracy.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_accuracy.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_accuracy.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_accuracy.txt index 45f994c9ea..3046aca4a5 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_accuracy.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_accuracy.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_f-measure.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_f-measure.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_f-measure.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_f-measure.txt index fbbea9ec34..446941dc34 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_f-measure.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_f-measure.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_laplace.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_laplace.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_laplace.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_laplace.txt index 1f0208ce50..0dede49d42 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_laplace.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_laplace.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_m-estimate.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_m-estimate.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_m-estimate.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_m-estimate.txt index fbbea9ec34..446941dc34 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_m-estimate.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_m-estimate.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_precision.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_precision.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_precision.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_precision.txt index c23ce0eaec..d44bec6154 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_precision.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_precision.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_recall.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_recall.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_recall.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_recall.txt index 9b98b40a10..76c1529925 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_recall.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_recall.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_wra.txt b/python/tests/res/out/seco-classifier/pruning-heuristic_wra.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_wra.txt rename to python/tests/res/out/seco-classifier/pruning-heuristic_wra.txt index 8b9c86b33f..cf0fd0da30 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-heuristic_wra.txt +++ b/python/tests/res/out/seco-classifier/pruning-heuristic_wra.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-irep.txt b/python/tests/res/out/seco-classifier/pruning-irep.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-irep.txt rename to python/tests/res/out/seco-classifier/pruning-irep.txt index fd2079a4a9..38a5e95813 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-irep.txt +++ b/python/tests/res/out/seco-classifier/pruning-irep.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-no.txt b/python/tests/res/out/seco-classifier/pruning-no.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/pruning-no.txt rename to python/tests/res/out/seco-classifier/pruning-no.txt index 988d511f63..cc5a8c4dfd 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/pruning-no.txt +++ b/python/tests/res/out/seco-classifier/pruning-no.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/rule-induction-top-down-beam-search.txt b/python/tests/res/out/seco-classifier/rule-induction-top-down-beam-search.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/rule-induction-top-down-beam-search.txt rename to python/tests/res/out/seco-classifier/rule-induction-top-down-beam-search.txt index cfea5f8d2a..3f808d9bd4 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/rule-induction-top-down-beam-search.txt +++ b/python/tests/res/out/seco-classifier/rule-induction-top-down-beam-search.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/rules_cross-validation.txt b/python/tests/res/out/seco-classifier/rules_cross-validation.txt similarity index 99% rename from python/subprojects/testbed/tests/res/out/seco-classifier/rules_cross-validation.txt rename to python/tests/res/out/seco-classifier/rules_cross-validation.txt index bef9839d35..d6d020c767 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/rules_cross-validation.txt +++ b/python/tests/res/out/seco-classifier/rules_cross-validation.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing full 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/rules_single-fold.txt b/python/tests/res/out/seco-classifier/rules_single-fold.txt similarity index 97% rename from python/subprojects/testbed/tests/res/out/seco-classifier/rules_single-fold.txt rename to python/tests/res/out/seco-classifier/rules_single-fold.txt index d918046bbc..2f228c3ef9 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/rules_single-fold.txt +++ b/python/tests/res/out/seco-classifier/rules_single-fold.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Performing fold 1 of 10-fold cross validation... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fold 1 / 10: INFO Fitting model to 533 training examples... DEBUG A dense matrix is used to store the feature values of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/rules_train-test.txt b/python/tests/res/out/seco-classifier/rules_train-test.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/rules_train-test.txt rename to python/tests/res/out/seco-classifier/rules_train-test.txt index 4be237e2ef..12ffa6093f 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/rules_train-test.txt +++ b/python/tests/res/out/seco-classifier/rules_train-test.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/sequential-post-optimization.txt b/python/tests/res/out/seco-classifier/sequential-post-optimization.txt similarity index 85% rename from python/subprojects/testbed/tests/res/out/seco-classifier/sequential-post-optimization.txt rename to python/tests/res/out/seco-classifier/sequential-post-optimization.txt index d298145c09..94e94bad8b 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/sequential-post-optimization.txt +++ b/python/tests/res/out/seco-classifier/sequential-post-optimization.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/single-output-heads.txt b/python/tests/res/out/seco-classifier/single-output-heads.txt similarity index 96% rename from python/subprojects/testbed/tests/res/out/seco-classifier/single-output-heads.txt rename to python/tests/res/out/seco-classifier/single-output-heads.txt index fb0386860c..e6e94ce70d 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/single-output-heads.txt +++ b/python/tests/res/out/seco-classifier/single-output-heads.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/emotions.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/emotions.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/emotions.xml"... +DEBUG Loading data set from file "python/tests/res/data/emotions.arff"... INFO Fitting model to 397 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/single-output.txt b/python/tests/res/out/seco-classifier/single-output.txt similarity index 79% rename from python/subprojects/testbed/tests/res/out/seco-classifier/single-output.txt rename to python/tests/res/out/seco-classifier/single-output.txt index 782f0fb7c4..14f1a397e8 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/single-output.txt +++ b/python/tests/res/out/seco-classifier/single-output.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/breast-cancer.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/breast-cancer.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/breast-cancer.xml"... +DEBUG Loading data set from file "python/tests/res/data/breast-cancer.arff"... INFO Fitting model to 191 training examples... DEBUG A dense matrix is used to store the feature values of the training examples DEBUG A dense matrix is used to store the labels of the training examples diff --git a/python/subprojects/testbed/tests/res/out/seco-classifier/sparse-feature-value.txt b/python/tests/res/out/seco-classifier/sparse-feature-value.txt similarity index 86% rename from python/subprojects/testbed/tests/res/out/seco-classifier/sparse-feature-value.txt rename to python/tests/res/out/seco-classifier/sparse-feature-value.txt index 04bd3d6612..a641b19c1c 100644 --- a/python/subprojects/testbed/tests/res/out/seco-classifier/sparse-feature-value.txt +++ b/python/tests/res/out/seco-classifier/sparse-feature-value.txt @@ -1,7 +1,7 @@ INFO Starting experiment using the classification algorithm "seco"... INFO Using separate training and test sets... -DEBUG Parsing meta data from file "python/subprojects/testbed/tests/res/data/langlog.xml"... -DEBUG Loading data set from file "python/subprojects/testbed/tests/res/data/langlog.arff"... +DEBUG Parsing meta data from file "python/tests/res/data/langlog.xml"... +DEBUG Loading data set from file "python/tests/res/data/langlog.arff"... INFO Fitting model to 978 training examples... DEBUG A sparse matrix with sparse value 1.0 is used to store the feature values of the training examples DEBUG A sparse matrix is used to store the labels of the training examples