I can't evaluate on my own datsets. #53
Replies: 2 comments 3 replies
-
Hi @JeonghwaYoo-R, You have written the following |
Beta Was this translation helpful? Give feedback.
-
Hi @JeonghwaYoo-R, Your error seems very strange, and we can't reproduce it. Please provide a complete MRE. We need:
When you have built your MRE, please test the following: A1:
Please try to run your example without using the from timeeval import Algorithm
from timeeval.adapters import FunctionAdapter
from timeeval.data_types import AlgorithmParameter
import numpy as np
def algorithm_function(data: AlgorithmParameter, args: dict) -> np.ndarray:
if isinstance(data, np.ndarray):
return np.zeros_like(data)
else: # data = pathlib.Path
return np.genfromtxt(data)[0]
algorithms = [
Algorithm(
name="MyPythonFunctionAlgorithm",
main=FunctionAdapter(algorithm_function),
data_as_file=False
)
]
This is expected because
So, you can try |
Beta Was this translation helpful? Give feedback.
-
My code is here:
My json file about dataset is here:
Error message is here:
I thought error is occured at this part.
https://github.com/HPI-Information-Systems/TimeEval/blob/0a45790cbeeb55d6140a250c672d4a93d152dfa4/timeeval/core/times.py#L31
and I wonder why the output is
Empty DataFrame
.This is Dataset information.
Beta Was this translation helpful? Give feedback.
All reactions