Programmers of artificial intelligence software got a new tool to work with when International Business Machines Corp. announced that a proprietary program known as SystemML would be freely available to share and modify through the Apache Software Foundation.

The letters ML stand for “machine learning,” a hot technology in Silicon Valley that enables computers to find common patterns in large amounts of data. Machine learning has been used to teach computers tasks such as predicting phrases entered into search engines, recognizing...