Anomalii
所属分类:人工智能/神经网络/深度学习
开发工具:Swift
文件大小:31KB
下载次数:0
上传日期:2017-12-16 11:27:50
上 传 者:
sh-1993
说明: Swift的遗传编程框架。
(Genetic Programming Framework for Swift.)
文件列表:
Anomalii.xcodeproj (0, 2017-12-16)
Anomalii.xcodeproj\AnomaliiTests_Info.plist (723, 2017-12-16)
Anomalii.xcodeproj\Anomalii_Info.plist (723, 2017-12-16)
Anomalii.xcodeproj\project.pbxproj (24861, 2017-12-16)
Anomalii.xcodeproj\project.xcworkspace (0, 2017-12-16)
Anomalii.xcodeproj\project.xcworkspace\contents.xcworkspacedata (135, 2017-12-16)
Anomalii.xcodeproj\xcshareddata (0, 2017-12-16)
Anomalii.xcodeproj\xcshareddata\xcschemes (0, 2017-12-16)
Anomalii.xcodeproj\xcshareddata\xcschemes\Anomalii-Package.xcscheme (2953, 2017-12-16)
Anomalii.xcodeproj\xcshareddata\xcschemes\AnomaliiPackageDescription.xcscheme (3010, 2017-12-16)
Anomalii.xcodeproj\xcshareddata\xcschemes\AnomaliiPackageTests.xcscheme (3004, 2017-12-16)
Anomalii.xcodeproj\xcshareddata\xcschemes\xcschememanagement.plist (251, 2017-12-16)
LICENSE (1080, 2017-12-16)
Package.swift (432, 2017-12-16)
Sources (0, 2017-12-16)
Sources\Anomalii (0, 2017-12-16)
Sources\Anomalii\Anomalii.swift (20, 2017-12-16)
Sources\Anomalii\Constant.swift (2629, 2017-12-16)
Sources\Anomalii\Evolver.swift (4144, 2017-12-16)
Sources\Anomalii\Expression.swift (2179, 2017-12-16)
Sources\Anomalii\General.swift (385, 2017-12-16)
Sources\Anomalii\Mutator.swift (2652, 2017-12-16)
Sources\Anomalii\Operator.swift (2253, 2017-12-16)
Sources\Anomalii\Orator.swift (2049, 2017-12-16)
Sources\Anomalii\Populator.swift (1168, 2017-12-16)
Sources\Anomalii\Random.swift (1054, 2017-12-16)
Sources\Anomalii\ScalarOperator.swift (1466, 2017-12-16)
Sources\Anomalii\ScalarValued.swift (371, 2017-12-16)
Sources\Anomalii\Solver.swift (1936, 2017-12-16)
Sources\Anomalii\Terminal.swift (943, 2017-12-16)
Sources\Anomalii\Traversal.swift (1220, 2017-12-16)
Sources\Anomalii\Value.swift (1585, 2017-12-16)
Sources\Anomalii\Variable.swift (2325, 2017-12-16)
Sources\Anomalii\VectorOperator.swift (2599, 2017-12-16)
Sources\Anomalii\VectorValued.swift (376, 2017-12-16)
Tests (0, 2017-12-16)
Tests\AnomaliiTests (0, 2017-12-16)
... ...
# Anomalii
_Author:_ Drew McCormack
_Last Updated:_ 1 December, 2017
An exploratory Swift framework for Genetic Programming.
## What is Genetic Programming?
A branch of machine learning in which simple programs or mathematical functions compete to solve a problem, evolving along the lines of Darwinian evolution. A population of solutions can cross pollinate and mutate, and so evolve through generations to 'fitter' descendants.
For a detailed overview, see [A Field Guide to Genetic Programming](http://www.gp-field-guide.org.uk).
## What Works?
- Simple scalar mathematical expressions, comprised of basic operators like addition and multiplication, decimal constants, and variables
- Mathematical expressions are trees of value types (structs)
- The basic elements of the Genetic Programming (GP), namely initial population generation, evolutionary operators including crossover and mutation
- Storing of populations and expressions using the Swift `Codable` protocol
- Basic unit tests
- A basic regression test showing how a function can be fitted by genetic programming
## What is Lacking?
- There are few mathematical operators at this point, though they are very easy to add. Useful would be division and trigonometic functions
- The plan is to support vector expressions, and perhaps even matrices
## How to Install
Anomalii can be installed with the Swift Package Manager, or by building the framework target in Xcode.
近期下载者:
相关文件:
收藏者: