ParameterImportance icon indicating copy to clipboard operation
ParameterImportance copied to clipboard

What is the correct way to import pimp?

Open vchouksey opened this issue 7 years ago • 4 comments

Guys,

I have successfully installed parameter importance using cat requirements.txt | xargs -n 1 -L 1 pip install when I import fanova it does successfully but when I import pimp it doesn't. please let me why pimp does not set up correctly? screenshot 2018-01-11 at 17 07 37

vchouksey avatar Jan 11 '18 16:01 vchouksey

Hi, thanks for using PIMP. The correct way would be

from pimp.pimp import PIMP

An example of how to use pimp in python code is given in the following notebook: https://github.com/automl/ParameterImportance/blob/2c90f78019855ff19dabb945f1172da18aee5eee/notebooks/interface_example.ipynb

AndreBiedenkapp avatar Jan 11 '18 17:01 AndreBiedenkapp

again get error

from pimp.pimp import PIMP Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'pimp'

vchouksey avatar Jan 11 '18 17:01 vchouksey

It seems that you haven't installed the pimp package in your local environment. You can install it by typing something along the lines of pip install git+https://github.com/automl/ParameterImportance/ (from then, it will automatically be used by openml-pimp)

janvanrijn avatar Jan 11 '18 17:01 janvanrijn

Wow Awesome Done screen shot 2018-01-11 at 18 32 09

vchouksey avatar Jan 11 '18 17:01 vchouksey