Meta-genetic programming
shapedsundew9 / erasmus-gp Goto Github PK
View Code? Open in Web Editor NEWMeta-genetic programming
License: MIT License
Meta-genetic programming
License: MIT License
Concept
A shadow framework is a package or library that can produce the same semantic result for a codon as its default definition. For example, tensorflow and numpy as in this ChatGPT example: https://chatgpt.com/share/7bbaced8-789d-4f0c-8323-e1d0f09f573f
The intent of this feature is to provide the optimization opportunities for the runtime.
Another example is vanilla python and sympy: A GC could (and often can) be radically reduced in runtime by simplifying the expression it represents: https://chatgpt.com/share/ef912723-cdc7-400c-83a1-3fee7a674152 or Common Sub-expression Elimination (CSE): https://chatgpt.com/share/7e3cfd91-170b-41fd-9557-2e482a90142e
Shadow Frameworks are only a runtime optimisation mechanism and the representation of the GC graph is not altered.
Impementation Thoughts
Shadow Framework support for the entire GC (including all sub-GC's and codons) could be represented in the properties field. i.e. they all have the property set. This lets the execution environment writer know the whole tree can be represented by the shadow framework.
The validated Shadow Framework implementation for the whole GC tree could be stored in the metadata of the GC.
There could be a 'custom' shadow framework i.e. a hand crafted validated & optimised version of the GC.
Validation must occur. It is recognised that precise semantic mapping is not a realistic goal. Order of operations, rounding, status side effects etc. will cause very tiny and most often irrelevant differences. Validation rules must be considered i.e. how exact is 'the same' and can be done automatically.
The validation state of a Shadow Framework for any GC is dynamic and validity must be versioned i.e. to optimized implementation in the metadata must be versioned. In this way bugs can be fixed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.