A.I, Data and Software Engineering

Search results foralgorithm

Create a trainable chatbot with java

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 cannot find the answer, they ask for training and add the...

Create bipartite graph from a rating matrix

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 DataFrame. This article demonstrates how to preprocess movie lens data. After processing, the rdata should look...

Metrics for regression and classification – quick note

In this article, we review some common metrics and their uses for two main ML problems, i.e. regression and classification. Regression Metrics Most of the blogs have focussed on classification metrics like precision, recall, AUC etc. For a change, I wanted to explore all kinds of metrics including those used in regression as well. MAE and RMSE are the two most popular metrics for continuous...

Common Loss functions and their uses – quick note

Machines learn by means of a loss function which reflects how well a specific model performs with the given data. If predictions deviate too much from actual results, loss function would yield a very large value. Gradually, with function, parameters are modified accordingly to reduce the error in prediction. In this article, we will quickly review some common loss functions and their usage in the...

A really Cool data visualization: 3d globe in 2d space

While generating data in 3d space for manifold learning, I went across a problem of distributing points evenly on a sphere. It is a non-trivial problem but found a good enough solution for such placement. Interestingly, it ends up with a really cool animation effect when I decided to implement it on a mobile app. Figure 1: First animation effect: Rotation The algorithm There are two qualitatively...

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.

Categories