Internet Marketing, Web Development, Programming and Geekery

Posts in the ‘Programming’ Category

thumbnail

Simulate Neural Networks with PHP

Modern usage of the term, “neural networks” refers to artificial neural networks, which, in short are, interconnected artificial neurons or programming constructs that simulate the properties of biological neurons. Neural Mesh has developed a PHP-based neural network framework for simulating and administrating artificial neural networks.
Still there? In other words, they have created a system …

thumbnail

Chunk Data for Easier Scraping

Before you spend an hour writing some elaborate regular expression, try chunking the data and matching several expressions to make for a much simpler (and faster) scrape. So, assuming you’re using PHP, after you’ve pulled the data (e.g. with file_get_contents()), use preg_replace with the following regex to chunk the data into a much easier “soup” …