A.I, Data and Software Engineering

Categoryfull-stack

full-stack category

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...

TYPEALIAS in swift ios

swift program

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 used instead of the existing type throughout the program. Type alias do not create new types. They simply provide a new name to an...

Should we go for swiftui? – ios dev

Petamind A.I

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...

Dumping Emails using JavaMail and jsoup

email icon

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. 1234567891011121314 public class FileUtils { public static void saveToFile(String file...

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

3d-globe-animation

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.

Pin It on Pinterest