A.I, Data and Software Engineering


Create a trainable chatbot with java

Table of contentsThe chatbot classTestbot classWrapping up A chatbot is a software application used to conduct an on-line chat conversation via text or text-to-speech, in lieu of providing direct contact with a live human agent. This article will demonstrate a short fun coding piece to simulate a chatbot. Its objectives are: Accept input from the console as a string and give an answerIf the bot...

Continue training big models on less powerful devices

Table of contentsThe problemThe workaroundCreate a model and check-pointsRelease memory and reload last saved model It would not be a surprise that you may not have a powerful expensive machine to train a complicate model. You may experience the problem of not enough memory during training in some epoch. This article demonstrates a simple workaround for this. The problem Training deep learning...

Create bipartite graph from a rating matrix

bipartite graph from movie lens

Table of contentsThe rating dataTransform the matrix to a bipartite graphGet graph propertiesVisualize the graph As deep learning on graphs is trending recently, this article will quickly demonstrate how to use networkx to turn rating matrices, such as MovieLens dataset, into graph data. The rating data We use rating data from the movie lens. The rating data is loaded into rdata which is a Pandas...

TYPEALIAS in swift ios

swift program

Table of contentsHow to create a typealias?Typealias for built-in typesTypealias for user defined typesTypealias for complex types In this article, you will learn about typealias and its use cases in Swift, a programming language developed by Apple. A type alias allows you to provide a new name for an existing data type into your program. After a type alias is declared, the aliased name can be...

MLP for implicit binary collaborative filtering

multi-layer perception

Table of contentsThe implicit dataThe MLP collaborative filtering modelInputs and EmbeddingConcatenate and MLPData generatorTrain with early stopping callbackWrapping up In this post, we demonstrate Keras implementation of the implicit collaborative filtering. We also introduce some techniques to improve the performance of the current model, including weight initialization, dynamic learning rate...

A.I, Data and Software Engineering

PetaMinds focuses on developing the coolest topics in data science, A.I, and programming, and make them so digestible for everyone to learn and create amazing applications in a short time.

Pin It on Pinterest