Comments (6)
I think this depends on the cryptic use of this swap-dynamic (which I implemented based on how I found the code before. Basically this depends on the question whether fANOVA in any way depends on the order being based on the length of the choices. Or why this was designed this way. I suppose dropping the "swap"-block would alleviate this more in the root of the problem. @AndreBiedenkapp ?
from fanova.
I think it was designed in such a way because of axis-labels potentially becoming too squeezed.
But I agree @shukon that this could be dropped.
from fanova.
Hi @FlorentF9 . I tried to fix this in https://github.com/automl/fanova/tree/issue/96-transposed-grid-categoricals , could you maybe check with your data and give feedback?
from fanova.
Branch is merged and released as fanova 2.0.16.
from fanova.
Heatmap axes are still inverted. The reason is simple actually: the generate_pairwise_marginal
method returns a matrix zz
of shape (R, C) with R the number of rows (= number of values of the first param) and C the number of columns (= number of values of the second param).
Hence the matrix displayed by plt.imshow
has an x-axis of size C (columns) and y-axis of size R (columns), so plt.xticks
and plt.yticks
are inverted in the code (https://github.com/automl/fanova/blob/master/fanova/visualizer.py#L222). Solution is to transpose zz or invert xticks and yticks.
from fanova.
🤦 I'm sorry. I think I changed most of the class in style (and actually fixed another bug for the swap-thing), but left the actual issue untouched. Thank you for your patience in pointing this out to me 😄
I decided to invert ticks and label for clarity.
from fanova.
Related Issues (20)
- support for hyperparameters of type Constant HOT 7
- fANOVA visualization fails with bools in CategoricalHyperparameter
- pyrfr library crashes when operating on Constant Hyperparameter
- Unit Tests
- Unassigned variable for marginal plot HOT 1
- Segmentation Fault when plotting pairwise plot of Numerical and Categorical hyperparameter HOT 3
- Exception: pickling interactive pairwise-marginal-plots
- create_all_plots error
- Constants not handled good (and "swap"-logic)
- Error with ConfigSpace if hyperparameters are not ordered alphabetically in X matrix HOT 4
- Segmentation fault while running the example code with SWIG 4.0 HOT 4
- mislabeled plot being generated using plot_pairwise_marginal() HOT 2
- RuntimeError - ordinal or categorical features cannot be processed HOT 1
- Dealing with categorical string variables HOT 6
- fanova does not work with numpy >= 1.24 HOT 1
- License confirmation HOT 1
- Warning "It might be better to plot this parameter ... in log-scale" shown when log-scale is enabled
- Difficulties running fanova
- Version Mismatch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fanova.