Open yamsgithub opened 6 years ago
It looks like Python cannot find the Profiler.
We need to update our readme file.
To install our profiler, please clone the master branch. Then, cd to your local repo directory, and do:
pip install -e .
Also, for sample usage you can take a look at:
https://github.com/usc-isi-i2/dsbox-profiling/blob/master/ta1-pipeline.py
I am running the ta1-pipeline.py but gettting the following error. Where are the config files?
FileNotFoundError Traceback (most recent call last)
NIST provides that file when we submit our pipelines for testing. That file looks
{ "train_data": "/path-to-data/seed_datasets_current/38_sick/TRAIN", "test_data": "/path-to-data/seed_datasets_current/38_sick/TEST", "output_folder": "." }
Thanks. I was able to run it. I am using the following config.json: { "train_data": "/Users/yamuna/D3M/data/196_autoMpg/TRAIN", "test_data": "/Users/yamuna/D3M/data/196_autoMpg/TEST", "output_folder": "." }
But now get this error:
python ta1-pipeline.py > profiling_output.log
Traceback (most recent call last):
File "ta1-pipeline.py", line 57, in
We submitted a fix to this bug. Are you using an older version of d3m metadata? Try using the version with tag v2018.1.26
I am running the code from the README but it throws an error:
from dsbox.datapreprocessing.profiler import Profiler import pandas as pd
profiler = Profiler() data = pd.read_csv('test.csv', dtype=object) jsonResult = profiler.produce(inputs=data)
ImportError Traceback (most recent call last)