Closed rodrigo-arenas closed 2 years ago
Can I try this?
@Raul9595 for sure! All the help is welcome
I just had a few questions.
What I have in mind is the following:
If you have any question, let me know. Thanks!
hi @Raul9595, thanks again for the help! I just realized that pandas doesn't scale each variable independently, making that large scale parameters squeezes small parameters. I was wondering if you also want to work on this enhancement, to make a plot that can have independently scales for each feature?
Hi @rodrigo-arenas! Yes I can definitely try this out. How do you want to proceed with this -
Ey, thanks! The second option would be the one to go, its less confusing for the users as the parameters stay in the same scale they defined
Ok sounds good. Will work on it
Sorry for taking a long time. It may tough to do the above solution using Pandas. Is Matplotlib or Plotly a option?
Ey, don't worry about it. Matplotlib can be a good fit, so we don't add extra dependencies with Plotly Thanks!
Hi! I am not getting enough time to work on this. I can take a look at it in the future or you can assign it to someone else. I appreciate all the help and am sorry for not being able to complete it.
Hi! Is this still up for grabs?
Hi, Yes, the help is welcome on this
Closed as mention in #98
Is 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 namedplot_parallel_coordinates
to inspect the results of the learning processDescribe alternatives you've considered The function should take two arguments:
sklearn_genetic.GASearchCV
None
it plots all the features by defaultThe 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 frameThe 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
andInteger
and color against the "score" column. In the same way, it must validate and make a warning if in thefeatures
parameter a Categorial one is passedAdditional context Links of some implementations: