Data Science Austria

How to Perform Lasso and Ridge Regression in Python

A quick tutorial on how to use lasso and ridge regression to improve your linear model. Photo by Zhen Hu on Unsplash Previously, I introduced the theory underlying lasso and ridge regression. We now know that they are alternate fitting methods that can greatly improve the performance of a linear model. In … Read moreHow to Perform Lasso and Ridge Regression in Python

Building a Conversational Chatbot for Slack using Rasa and Python -Part 2

D eploying the Bot on Slack Create a Python Script Since we are done with all the requirements, it’s time to deploy our bot. For this, we will need to write a Python script called run_app.py, which will integrate our chatbot with the slack app that we created above. We will … Read moreBuilding a Conversational Chatbot for Slack using Rasa and Python -Part 2

Stock Market Prediction by Recurrent Neural Network on LSTM Model

The art of forecasting stock prices has been a difficult task for many of the researchers and analysts. In fact, investors are highly interested in the research area of stock price prediction. For a good and successful investment, many investors are keen on knowing the future situation of the stock … Read moreStock Market Prediction by Recurrent Neural Network on LSTM Model

Practical NumPy — Understanding Python library through its functions

Before embarking on the journey of data science and machine learning, it is very important to learn a few python libraries which are ubiquitous in the world of data science like Numpy, Pandas and Matplotlib. Numpy is one such powerful library for array processing along with a large collection of … Read morePractical NumPy — Understanding Python library through its functions

Building a Conversational Chatbot for Slack using Rasa and Python -Part 1

2. Teaching the bot to respond using Rasa Core Our Bot, is now capable of understanding what the user is saying i.e whether is our mood like, is it happy or sad. Now the next task would be to make the Bot respond to messages. In our case, it would be … Read moreBuilding a Conversational Chatbot for Slack using Rasa and Python -Part 1

Deconstructing BERT, Part 2: Visualizing the Inner Workings of Attention

A new visualization tool shows how BERT forms its distinctive attention patterns. In Part 1 of this series, I described 6 key patterns that appear in BERT’s self-attention layers. For example, one pattern focuses nearly all of the attention on the next word in the sequence; another focuses on the … Read moreDeconstructing BERT, Part 2: Visualizing the Inner Workings of Attention

PyTorch Autograd : Understanding the heart of PyTorch’s magic

Source: http://bumpybrains.com/comics.php?comic=34 Let’s just agree, we are all bad at calculus when it comes to large neural networks. It is impractical to calculate gradients of such large composite functions by explicitly solving mathematical equations especially because these curves exist in a large number of dimensions and are impossible to fathom. … Read morePyTorch Autograd : Understanding the heart of PyTorch’s magic

From raw images to real-time predictions with Deep Learning

In my opinion, one of the most exciting fields in Artificial Intelligence is computer vision. I find it very interesting how we can now automatically extract knowledge from complex raw data structures such as images. The goal of this article is to explore a complete example of a computer vision … Read moreFrom raw images to real-time predictions with Deep Learning

Deep Learning with Magnetic Resonance and Computed Tomography Images

Getting started with applying deep learning to magnetic resonance (MR) or computed tomography (CT) images is not straightforward; finding appropriate data sets, preprocessing the data, and creating the data loader structures necessary to do the work is a pain to figure out. In this post I hope to alleviate some … Read moreDeep Learning with Magnetic Resonance and Computed Tomography Images