DataPredict [Release 1.21] - General Purpose Machine Learning And Deep Learning Library (Learning AIs, Generative AIs, and more!)

Do you need a Deep Learning Library with PyTorch-like API and capabilities? You can view it here:

Usage Preview

Credit to @Cffex for providing the original codes for AIs’ movement and sensing. Also thanks to @noisecooldeadpool362 for providing code improvements related to angle calculations (applies to version 5 and later versions)

Example Learning AI Codes

(DataPredict’s and MatrixL’s libraries terms and conditions apply due to source code containing these libraries.)

Here Are What Other Users Have Made Using This Library!
Plugins And Scripts That Complements With This Library
  • Parallel Luau (For speeding up the self-learning AIs’ training process through multi-threading.)

  • StepPhysics Plugin API (For speeding up the self-learning AIs’ training process through speeding up the environment.)

  • Graph Module (For plotting graphs.)

Please send bug reports here. It seems like the library got too large for me to maintain and bug hunting myself.

Overview

Hi guys! I introduce you to a new Machine Learning + Deep Learning Library!

Thanks to the object-orientated programming, this version of the library now contains optimizers and many more. More details in the documentation.

Documentation And Tutorials: Welcome to Aqwam’s DataPredict Library! | DataPredict

DataPredict’s Website: datapredict.online (Cloud section coming soon! Also want to showcase your work? Send a message and the files to me!)

Pretrained Neural Networks: GitHub - AqwamCreates/DataPredict-Pretrained-Neural-Networks

Who Uses This Library?
  • Senior game developers
  • University students
  • Researchers
  • AI enthusiasts

(Some proof can be seen from the likes by other people on this first post.)

Download Links

ModuleScript (Release Versions) For This Library:

ModuleScript for Matrix Library

Quick Introduction

What is machine learning?

Machine learning is a way for computers to predict information based on the data we given to them. Machine learning can do three main tasks: Regression, Classification and Clustering.

  • Regression: Generates a continuous value (e.g. -1.1, 2.09, 20) from given data.

  • Classification: Generates a discrete value (e.g. 1, 2, 3), mainly for classifying given data.

  • Clustering: Generates centroids (center of data) based on the given data and predict which centroids that a data belongs to.

What is deep learning?

Mainly covers the neural network models.

So how do we use this library?

In machine/deep learning, we mainly need to do training before we can predict things. To train, we need a lot of data and choose the correct models so that we can achieve very good results. Once training is done, you can use the model to predict values based on the data that was never seen before by the model.

Features
  • Object-orientated library

  • Distributed training

  • Optimizers, regularizers and a lot of utilities

  • Deep reinforcement learning models and deep generative models are included

Use Cases

NeuralNetwork:

  • Self-learning enemies.
  • Self-learning pets.

LinearRegression:

  • Make prediction on how long will a player reach certain level.
  • Spawn an enemy where the difficulty is based on input.

LogisticRegression:

  • Make an enemy that makes decision between 2 choices (e.g. fighting and running).
  • Detect hacking players.

KMeans

  • Group players in terms of experience level.

SupportVectorMachine

  • Detect hacking players.
What I Have Used It For

In one of my games (zero players, but somewhat released), it is mainly used for:

  • Some of my AI Assistants (to help enhance gaming experience and variety)
  • Sales analysis for better product pricing strategy (when the game becomes popular).
  • AI players for player retention during durations of low players count.

If you are curious how my game looks like, you can have a look here:
[Old] Terrae Uprising: Pre-Mana - Roblox

Not accepting feature requests. Only bug reports.

Expect this release version 1.21 as the “final” version.

There are two versions: Release (or Stable) and Beta (or Unstable). Choose the first version if you wish to use fully tested version of this library as well as in commercial scale. The latter contains up-to-date version of this library, which may contain bugs.

Don’t forget to leave a like if you find this resource useful!

Join our official Discord server: DataPredict Community

Comparison Against Other Libraries

227 Likes
Quest AI - New Version (Searching for bugs to fix)
Self-Driving Neural Network Cop Cars
How To Create Neural Networks With Reinforcement Learning For Roblox With DataPredict
Documentation Improvement for DataPredict Library
Neural Network Library 2.0
Let's teach an AI to catch exploiters!
[Partial Open Source] ChaWatcher - Anti-Cheat / Anomaly Detector Components For Roblox! Uses Machine Learning From DataPredict!
Lua Trainable RAG Local Chatbot Library, Local Model Aligns Large Model, Geometry+Worded Math Solver,Math/Geometry Data Generator, Chat Database
How would I make advanced NPC ai?
How to create Integration and Derivative functions [TUTORIAL]
[Will Be Released Soon!] Movement Cheat Detection Using Machine Learning
Building a plugin that helps you create and debug machine and deep learning models. Need your thoughts!
Machine Learning (AI) model in Roblox - Number Recognition
How can I do a Deep Reinforcement learning AI?
New StepPhysics Plugin API
XenTorch | Neural Network Constructor
NPC Isn't Chasing Target Player Correctly
Where to start on creating a simple Neural network (for predicting)?
Lua Trainable RAG Local Chatbot Library, Local Model Aligns Large Model, Geometry+Worded Math Solver,Math/Geometry Data Generator, Chat Database
Analytics: Track any custom event you want and use custom fields for segmentation
Lua Trainable RAG Local Chatbot Library, Local Model Aligns Large Model, Geometry+Worded Math Solver,Math/Geometry Data Generator, Chat Database
DataPredict Neural [Release 1.5] - PyTorch-like Deep Learning Library Meets Roblox!
Comparisons For Machine Learning Libraries For Roblox
I looking for resources on how to make a machine learning npc
ezPlayers | A developer-friendly library for extending Roblox's Players service
Awesome Roblox: A curated list of Roblox code and resources

I don’t even understand the main point of this post. The post and documentation are very rushed and you can barely tell what this even is just by taking a glance.

29 Likes

Ah. I apologize. I gotten way to excited about this to the point that I neglected to make things clear in my post. I’ll do better next time.

25 Likes

There, we go. I’ve edited the post. Just tell me if it still is not clear.

20 Likes

I have completed the API reference pages. You should go ahead and look what this machine and deep learning library has in store.

16 Likes

I still don’t see what the point of this resource is?

14 Likes

I mean, you could do a google search first instead of asking me here.

https://www.analyticsinsight.net/top-10-uses-of-ml-to-make-your-video-games-more-engaging/

21 Likes

Updated the library and API reference. Regularization object is now available and has replaced lambda in certain models.

10 Likes

The title itself gives you enough information, lol.

Have you tried actually reading the post

45 Likes

I have to say that, Reading the documentation. It’s not like I can’t understand what you write but, I feel like you should elaborate more on each function then just a few lines.

You’ve done a great job on the library but I feel like you should consider a few tweaks of examples or references on the documentation :slight_smile:

15 Likes

Could you be a bit more specific on that? I’m interested in hearing it.

11 Likes

If you check your private messages, I’ve sent you some specifications. Have a great reading :]

9 Likes

Neural Network with Reinforcement Learning has been added! Check it out in the updated API! Located under Models > NeuralNetwork.

11 Likes

Okay yes it’s machine learning, but what does it actually do? Can you just generically feed it input after training and it’ll come up with it’s guess?

6 Likes

Can you just generically feed it input after training and it’ll come up with it’s guess?

Yes that is the concept of machine learning. Basically you feed a lot of data and train it. Once trained, you can give data without the label so that it produces the predicted output.

However, special cases like neural network models, you can predict while training the model so that it gets more accurate every time it predicts the output. You can do this with NeuralNetwork:reinforce() function.

10 Likes

This seems intriguing, I’m not sure why a lot of the comments are so hostile. However, it would be nice to have some demonstrations showcasing its practical applications. Such as an open-sourced demonstration of NPC decision making.

Otherwise this post would probably go over a lot of people’s heads haha.

17 Likes

Yeah. I’ll try to make a video about this. I’m just kind of surprised that not many people understood how this library works since there are a lot of these libraries in other programming languages.

10 Likes

Machine learning is a rapidly growing field that has recently gained a lot of attention. As a result, many people do not understand how it works and may underestimate the difficulty of creating an AI.

Unfortunately, some people do not appreciate the effort required to develop these technologies, and may become frustrated when they cannot easily understand or use them.

I am not that much familiar with ais, can you please make an opened sourced module? so people like me can see how it works.

I still can’t believe you made it for free

Thank you so much for this amazing resource, this is just like brain.js but implemented on roblox!

16 Likes

Technically, you can have a look at the codes in this GitHub repository without it being open sourced.

I encourage you play around with the codes and adjust them to fit your needs.

Also, I just made if for free so that I can dominate the whole Roblox’s AI market more games can become more fun.

14 Likes

I have added the Package version of this library. You can keep up-to-date library when needed!

8 Likes