Skip to content
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

can't import Hyperio #46

Closed
wolhandlerdeb opened this issue Aug 1, 2018 · 7 comments
Closed

can't import Hyperio #46

wolhandlerdeb opened this issue Aug 1, 2018 · 7 comments
Assignees

Comments

@wolhandlerdeb
Copy link

I'm not succeeded to import hyperio
I would enjoy if you will explain how to do it.
Because I am writing like you've done:
sys.path.insert(0, '/Users/mikko/Documents/GitHub/hyperio')
import hyperio as hy
and it didn't work

Thanks

@matthewcarbone
Copy link
Collaborator

matthewcarbone commented Aug 1, 2018

Hi @wolhandlerdeb, I'm not exactly sure why, but I think that the hyperio package is deprecated and so it might cause you issues in unexplained ways. @mikkokotila is the creator/maintainer of that package and will be able to help I think!

Also, could you please post the full error message when you encountered this problem?

@wolhandlerdeb
Copy link
Author

wolhandlerdeb commented Aug 1, 2018 via email

@matthewcarbone
Copy link
Collaborator

No problem! @wolhandlerdeb don't forget to post the full error message. It will be very hard to help you unless you do that!

@mikkokotila
Copy link
Contributor

@wolhandlerdeb I seriously need to clean up the old demo codes. Sorry for the inconvenience.

For a very basic example, could you use the one README instead.

Also can you point to the file where you found the hyperio artifacts. I'll try to clean all those up in the next push to master.

ps. the code fragment you had shared loads a package from local. You would instead want to just use import talos as ta.

@giacomotontini
Copy link

giacomotontini commented Aug 3, 2018

I'm able to import it, but as soon as I call r = hy.Reporting('first_test_1.csv')
I get this error AttributeError('Can only use .str accessor with string values, which use np.object_ dtype in pandas',)

CSV file records looks like this one
25,0.06322101092217229,0.7361323093715818,0.06789723856233505,0.7192952721229705,128,1,50,25,0.12,<class 'keras.optimizers.Adam'>,<function mean_absolute_error at 0x0000026C277821E0>,<function elu at 0x0000026C277B2E18>,<function sigmoid at 0x0000026C277C01E0>

@mikkokotila
Copy link
Contributor

@giacomotontini can you use import talos as ta and then ta.Reporting().

@giacomotontini
Copy link

Thank you so much! It works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants