Published in Towards Data Science·Jan 14Using Fourier Transform of Vector Representations Derived from BERT Embeddings for Semantic Closeness EvaluationExploring the mutual influence of words in a sentence by evaluating different representations of BERT embeddings — BERT embedding is the thing that provides great opportunities when it comes to programmatic ways of extracting meaning from text. It seems everything we (as well as machines) need to make sense of the text is hidden in those numbers. It’s just a matter of properly manipulating those numbers. I…Bert5 min readBert5 min read
Published in Towards Data Science·Jan 5Generating Sentence-Level Embedding Based on the Trends in Token-Level BERT EmbeddingsHow to derive sentence-level embedding from word embeddings — The sentence (phrase or passage) level embedding is often used as input in many NLP classification problems, for example, in spam detection and question-answering (QA) systems. In my previous post Discovering Trends in BERT Embeddings of Different Levels for the Task of Semantic Context Determining, I discussed how you might…NLP5 min readNLP5 min read
Published in Towards Data Science·Dec 22, 2022Discovering Trends in BERT Embeddings of Different Levels for the Task of Semantic Context DeterminingHow to extract information about the context of a sentence with BERT model outputs — Talking about contextual embeddings in BERT, we mean the hidden states of a pre-trained model. To start with, however, BERT uses non- contextual, pre-trained (static) embeddings being taken from the look-up table. …Bert8 min readBert8 min read
Published in Level Up Coding·Jun 23, 2021Neural Networks for Market Indicators AnalysisNeural networks have been successfully used to tackle a wide range of challenging problems in science and engineering. The example in this article uses Keras to build a neural network that performs multi-output regression for stock and gold price forecasting. …Neural Networks3 min readNeural Networks3 min read
Jun 2, 2021Stock Price Analysis with Deep LearningIn recent times, the field of machine learning has largely shifted to neural networks. While a neural network (a deep learning model) typically requires more computational processing power than a regular machine learning model, it often yields more accurate results. A typical neural network requires lots of training — stepping…Python5 min readPython5 min read
Published in Towards Data Science·May 25, 2021Data Processing and Analysis: pandas vs SQLSQL is the primary tool for accessing and manipulating data in many databases. It is designed to work with tabular data stored in a database’s containers referred to as tables, allowing you to efficiently access, group, merge and analyze data from different tables. Pandas library, in turn, is designed to…Pandas4 min readPandas4 min read
Published in Level Up Coding·May 9, 2021Stock Price Analysis with Machine LearningBeing a robust method of data analysis that enables building of applications that can learn from data, machine learning is used in many fields, including predictive analysis, learning associations, anomaly detection, natural language processing (NLP), and image analysis. …Machine Learning5 min readMachine Learning5 min read
Published in Towards Data Science·Nov 7, 2020Using Word Vectors to Mathematically Find Words with Similar MeaningsLearn to use word vectors to calculate the semantic similarity of texts programmatically — In a nutshell, word vectors are nothing but the series of real numbers that represent the meanings of natural language words. This technology is an important enabler of useful NLP capabilities that allow machines to “understand” human language. This article discusses how you can use word vectors to programmatically calculate…NLP5 min readNLP5 min read
Published in Level Up Coding·Jul 29, 2020Python For Finance: Improve Your Stock Trading Performance with ScriptingIf you search for ways to improve your stock investment skills, you’ll definitely find ‘do some research’ among other things. The decision on whether to buy, sell, or hold the stock is often taken based on emotions, which is definitely not the best strategy. To make balanced choices, you need…Python5 min readPython5 min read
Published in Level Up Coding·Jul 1, 2020Getting Started with Stock Market Analysis in PythonIt’s quite common nowadays to employ computer technologies to predict stock returns. Thus, many stock prediction algorithms rely on machine learning technology to search patterns and insights in stock data. Before you can do that however, you first need to obtain a data set with necessary stock data and then…Python4 min readPython4 min read