Comments (2)
@trevorstephens , thanks for the quick response.
Of course I understand your objectives and respect them.
Tell you a secret :) I have realized these and other features, but your code is written very nice and some hacks were useful for me - thanks again for the package and waiting new release.
from gplearn.
Hi @nnnet , thanks for the feedback! gplearn
project goals is to offer a fairly streamlined interface into GP with a scikit-learn style API. Adding a large amount of complexity to what can be achieved for more specific needs means leaving that behind and moving towards a fully customizable architecture. There are other packages out there that fill that need at the cost of more set-up time by the user.
I don't have any immediate plans for adding a "parameter" type of node for the next release, though that might be something that I consider in a future release down the road. One obvious complication would be that you would need to constrain certain inputs to each function which adds a good amount of complexity to creating user-defined functions. Anyhow, I'll tag this feature request and leave it open for any other feedback from other users.
Your example of a moving average function does not really fit within the existing framework. There is no concept of "time" in the input datasets, so that would be tricky to implement without the user-defined function pointing to an external column of timestamps (outside of X). That should be workable within the existing function definition framework though (without the evolving parameters part) although subsampling throws a spanner in the works.
At this stage I do not plan on adding support for returning multiple columns from a function. That deviates too much from the tree-based structure of the base programs and would make the recursion of tree more expensive potentially.
You may be able to implement such a model-based function within the master branch function framework. Again, no immediate plans for parameter nodes. But I may revisit this after the next release if there is sufficient demand.
Thanks again for your feedback, I hope you understand the goals of the project do not align well with many of these specific requests.
from gplearn.
Related Issues (20)
- what hyperparameter/s control/s the variables in final expression? HOT 2
- Add conda installation instructions
- migrate to a toml file instead of setup.py?
- how programs converge technically and use less time in later generations
- normalization for input? HOT 1
- Is it possible to access programs inside make_fitness? HOT 1
- Solution to avoid dividing by zero when substructing two Feature Names HOT 3
- Auto-Save function HOT 3
- [Question] How to use gplearn in comparison to neural networks? HOT 1
- Is there any way to get the formula expresssion of each individual? Thanks. HOT 4
- Check transformer supports pandas dataframe
- const_range error HOT 6
- Use of raw_fitness vs. penalized fitness HOT 2
- how to run gplearn by multi process ?
- Use logging instead of print HOT 1
- Would there be a way to produce the equivalent Python code for the program coming from the symbolic regress or HOT 1
- question about _weighted_pearson HOT 1
- Matrix shaped features issue HOT 1
- SymbolicClassifier doesn't classify tasks with more than 2 classes. HOT 1
- Optimal Population Size HOT 1
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 gplearn.