-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code snippet in README throws an error #14
Comments
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) FileNotFoundError: [Errno 2] No such file or directory: 'ta1-pipeline-config.json' |
NIST provides that file when we submit our pipelines for testing. That file looks
|
Thanks. I was able to run it. I am using the following config.json: But now get this error: python ta1-pipeline.py > profiling_output.log |
We submitted a fix to this bug. Are you using an older version of d3m metadata? Try using the version with tag |
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)
in ()
----> 1 from dsbox.datapreprocessing.profiler import Profiler
2 import pandas as pd
3
4 profiler = Profiler()
5 data = pd.read_csv('/Users/yamuna/D3M/data/185_baseball/185_baseball_dataset/tables/learningData.csv', dtype=object)
ImportError: cannot import name Profiler
The text was updated successfully, but these errors were encountered: