brainy
A simple PHP class for machine learning (by danielefavi)
genetic-algorithm
A simple framework for building and solving genetic algorithms (by nathansalter)
brainy | genetic-algorithm | |
---|---|---|
1 | 2 | |
14 | 0 | |
- | - | |
10.0 | 10.0 | |
over 6 years ago | over 1 year ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
brainy
Posts with mentions or reviews of brainy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-05.
-
Machine Learning with PHP? Challenge accepted!
I made years ago a simple class for PHP for Machine Learning (called Brainy - https://github.com/danielefavi/brainy ) but I made it just for fun. In my article (linked below) I explain briefly why you shouldn't use PHP for machine learning and use Python or R instead.
genetic-algorithm
Posts with mentions or reviews of genetic-algorithm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-13.
-
Genetic Algorithms in PHP
Interesting solution! I think you'd find the code would run a lot faster if you built up a node-map of the distances between each node rather than calculating this at every step. I've got a Genetic Algorithm library that allows for abstractions, which completes in about 10s. You'd also find better response times running this on the command line rather than using a browser for this. Great work though!
-
Machine Learning with PHP? Challenge accepted!
Yeah agreed, I wrote an example Genetic Algorithm library (https://github.com/nathansalter/genetic-algorithm/blob/master/examples/tsp.php) years and years ago, worked absolutely fine with a reasonable execution time. I would say that for any workload that's CPU bound PHP is just as good as any other language. Memory bound problems often have better languages for performance.
What are some alternatives?
When comparing brainy and genetic-algorithm you can also consider the following projects:
Tensor - A library and extension that provides objects for scientific computing in PHP.