A lightweight, production ready Tensorflow alternative developed by Styvio
styvio.com »
How to Use
·
Report Bug
·
Request Feature
Table of Contents
Welcome to Contra, a fully open source AI engine developed by Styvio. Contra is a lightweight, production ready alternative to Tensor Flow. Contra is written fully in Python and built to solve complex problems with AI. Contra is built specifically to solve time series prediction problems, server or client side.
Contra is a collections of functions that allow you to solve complex time series problems with AI. If you have used or built or used prediction algorithms before, you will fully understand what is going on under the hood here. Contra is based on the simple KNN algorithm, but with one major modification. Instead of averaging the closest data points, the prediction is based on a linear combination of the sum of all other previous outcomes, and their distance to the requested prediction in terms of their step function.
Other AI engines or libraries can sometimes take minutes to run, and produce weights files that are far to large to run directly on a production website. It is frustrating having to perform complex calculations off-server and then to sending the results over to a database via an API. It is equally frustrating having weights files that are over 0.5 GB large. These challenges make libraries like Tensor Flow useless in solving complex problems fast. Using Tensor Flow for time series prediction is often overcomplicating the problem.
You can use this anywhere you need to solve a complex problem with AI. Contra can be applied anywhere analysis of time series data using AI prediction makes sense. Contra comes with the MIT license, meaning you can use it for personal and commercial projects without worrying about license fees, giving credit, or litigation.
This section provides assistance on how to install Contra, as well as a general rundown on using the module.
pip install Contra (coming soon)
Now that the Contra module is installed, it can be imported in any .py python file, wherever you normally write code.