I am using the SymbolicTransformer of gplearn to generate some automated features. The issue is, when I inspect the expression of the features via looking at _best_programs after fitting, I find that most of the features have the same expression. I am wondering whether there is a way to ensure that we output different features using SymbolicTransformer after fitting?
How to ensure the output of _best_programs of SymbolicTransformer of gplearn is different?
310 Views Asked by azhe At
1
There are 1 best solutions below
Related Questions in FEATURE-ENGINEERING
- What's the best way to represent Hour of Day and Day of Week as a feature in for value prediction models in Machine Learning?
- how to quantile-discretize on spark?
- Pandas: count identical values in columns but from different index
- Pandas: calculate the std of total column value per "year"
- Pandas: calculate mean of Dataframe column values per "year"
- Pandas: Filter correctly Dataframe columns considering multiple conditions
- How to filter a column by greater than considering an index
- Pandas: How to create a new column in a Dataframe and add values in it considering other existing columns
- Pandas: How to extract and calculate the number of "hour" per row in a Dataframe
- Pandas: How to extract and calculate the number of “hour” per row in a Dataframe
- Pandas: How to filter column information in Dataframe and process it differently
- creating new features with certain percentile of price
- How to complete cases by group
- Pandas Match list of URLs to check dependency
- Performing object column manipulation in python
Related Questions in GPLEARN
- How can I loop in a symbolic regression training?
- Y_train values for symbolicRegressor
- New features generated from SymbolicTransformer do not match the rule?
- How can I select features for Symbolic Regression
- gplearn library for generating new lines of data from given dataset
- How to ensure the output of _best_programs of SymbolicTransformer of gplearn is different?
- How to access individual's structure in GPLearn fitness function?
- Genetic Programming, On-line Learning, gplearn
- Install gplearn
- How to export the output of gplearn as a sympy expression or some other readable format?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I don't know if there is a way to explicitly enforce this but you can probably try to enforce more diverse populations each generation in the hopes that this leads to a a collection of more diverse _best_programs. In my opinion a few parameters you could look into are:
If you increase the chance of crossover or mutation you will increase your expected diversity but you must not overdue it. There is a balance between a diverse population and an accurate one. The higher the crossover or mutation the more likely that you will take a strong individual candidate and change it into something meaningless.