[Feature] Parallel Coordinates plot
See original GitHub issueIs your feature request related to a problem? Please describe. NA
Describe the solution you’d like
Implement in the sklearn_genetic.plots
module a function named plot_parallel_coordinates
to inspect the results of the learning process
Describe alternatives you’ve considered The function should take two arguments:
- estimator: A fitted estimator from
sklearn_genetic.GASearchCV
- features: list, default=None. Subset of features to plot, if
None
it plots all the features by default
The function should return an object to plot parallel coordinates according the pandas.plotting.parallel_coordinates function
The data to plot is available on the estimator.logbook object, look the implementation of the plot_search_space
function to see how to convert this data to a pandas data frame
The function must select only the non categorical variables, this can be done by inspecting the estimator.space object and comparing against the data types defined in sklearn_genetic.space, i.e Categorical
, Continuous
and Integer
and color against the “score” column. In the same way, it must validate and make a warning if in the features
parameter a Categorial one is passed
Additional context Links of some implementations:
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (13 by maintainers)
Ey, don’t worry about it. Matplotlib can be a good fit, so we don’t add extra dependencies with Plotly Thanks!
Ok sounds good. Will work on it