Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ To install it simply run
`
pip install pyimp
`
If you want to run fANOVA with PyImp you will have to manually install it via
`
pip install git+http://github.com/automl/fanova.git@master
`

**PyImp** is an easy to use tool that helps developers to identify the most important parameters of their algorithms.
Given the data of a configuration run with [*SMAC3*](https://github.com/automl/SMAC3), PyImp allows one to use *Forward Selection*, *Efficient Ablation* and *Influence Models* to determine which Parameters have the most influence over the algorithms behaviour.
Expand Down
1 change: 0 additions & 1 deletion examples/branin/example_call.txt

This file was deleted.

16 changes: 1 addition & 15 deletions pimp/pimp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from typing import Union

import numpy as np
import fanova
from smac.scenario.scenario import Scenario
from smac.runhistory.runhistory import RunHistory, RunKey
from smac.tae.execute_ta_run_aclib import StatusType
Expand Down Expand Up @@ -190,15 +191,6 @@ def cmd_line_call():
logging.basicConfig(level=args.verbose_level)
ts = time.time()
ts = datetime.datetime.fromtimestamp(ts).strftime('%Y_%m_%d_%H:%M:%S')
fanova_ready = True

try:
import fanova
except ImportError:
warnings.simplefilter('always', ImportWarning)
warnings.warn('fANOVA is not installed in your environment. To install it please run '
'"git+http://github.com/automl/fanova.git@master"')
fanova_ready = False

if 'influence-model' in args.modus:
logging.warning('influence-model not fully supported yet!')
Expand All @@ -208,17 +200,11 @@ def cmd_line_call():
' lpi. Use lpi instead.', DeprecationWarning, stacklevel=2)
if 'lpi' in args.modus: # LPI will replace incneighbor in the future
args.modus[args.modus.index('lpi')] = 'incneighbor'
if 'fanova' in args.modus and not fanova_ready:
raise ImportError('fANOVA is not installed! To install it please run '
'"git+http://github.com/automl/fanova.git@master"')
if 'all' in args.modus:
choices = ['ablation',
'forward-selection',
'fanova',
'incneighbor']
if not fanova_ready:
raise ImportError('fANOVA is not installed! To install it please run '
'"git+http://github.com/automl/fanova.git@master"')
del args.modus[args.modus.index('all')]
if len(args.modus) == len(choices):
pass
Expand Down
59 changes: 0 additions & 59 deletions scripts/evaluate.py

This file was deleted.