Articles

Should we go for swiftui? – ios dev

S

After Apple unveiled the new UI framework this June earlier 2019, all apple community became thrilled to see it in action and to try SwiftUI app development. Let’s take a closer look at a brand-new framework.  From imperative to declarative UI. What is SwiftUI SwiftUI is a new Swift-based advanced toolkit that is reshaping the way to design and build apps for every device in the Apple...

Sparse Matrices for Machine Learning quick note

S

In machine learning, many matrices are sparse. It is essential to know how to handle this kind of matrix. Sparse vs Dense Matrix First, it is good to know that sparse matrix looks similar to a normal matrix, with rows, columns or other indexes. But a sparse matrix is comprised of mostly zero (0s) values. They are distinct from dense matrices with mostly non-zero values. A matrix is sparse if many...

Recurrent neural network – predict monthly milk production

R

In part 1, we introduced a simple RNN for time-series data. To continue, this article applies a deep version of RNN on a real dataset to predict monthly milk production. The data Monthly milk production: pounds per cow. Jan 1962 – Dec 1975. You can download the data using this link. Download: CSV file The data contains the production of 168 months (14 years). We will use an RNN to predict...

Recurrent neural network – time-series data- part 1

R

If you are human and curious about your future, then the recurrent neural network (RNN) is definitely a tool to consider. Part 1 will demonstrate some simple RNNs using TensorFlow 2.0 and Keras functional API. What is RNN An RNN is a class of artificial neural networks where connections between nodes form a directed graph along a temporal sequence (time series). This...

Dumping Emails using JavaMail and jsoup

D

This post demonstrates the ETL process by scraping emails as text files for later processing, such as NPL or other ML models. We use JavaMail API for getting emails and Jsoup to get texts from email body if it is in HTML format. FileUtils This helper class contains a helper method that saves a string to file. public class FileUtils { public static void saveToFile(String file, String content)...

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