Tag: Python
-
Donchian Channel Trading Systems

This article explores the application of algo trading using Python for Altria Group, Inc., a Dividend King diversifying beyond smoking. The historical data for Altria is used to test and contrast trading strategies based on the Donchian Channel indicator. The key is to compare the highest total return when using the Donchian Channel Breakout versus…
-
AI-Driven Object Detection & Segmentation with Meta Detectron2 Deep Learning

The post introduces Detectron2, a powerful object detection and image recognition platform developed by Facebook AI Research (FAIR). It discusses the platform’s applications in computer vision research and production, as well as its capabilities such as panoptic segmentation and Densepose. The post also covers aspects of using Detectron2, including installation, model training, and inference, and…
-
SARIMAX Crude Oil Prices Forecast – 2. Brent

This study focuses on validating the EIA energy forecast for the 2023 Brent crude oil spot price using SARIMAX time-series cross-validation. It includes prerequisites, data loading, ETS decomposition, ADF test, SARIMAX modeling, predictions, model evaluation, and summary. The predictions align with the EIA forecast, with discrepancies within predicted confidence intervals.
-
Comparison of Global Growth Stocks – 2. AZN

Summary: A comprehensive QC assessment of top growth stocks in Q1’23 was conducted, focusing on A-rated AstraZeneca PLC (AZN) in the biopharmaceutical industry. The company’s financial indicators, technical analysis, and algorithmic trading signals were analyzed. Backtesting showed a 34% profit from investing in AZN, outperforming the benchmark by 50%.
-
Comparison of U.S. Growth Stocks – 1. WMT

The U.S. labor market and consumer spending are robust despite economic challenges. Bank of America reports a 5.1% rise in credit and debit card spending in January. The focus is on A-rated growth stocks like Walmart Inc. (WMT), with promising metrics and technical indicators supporting a Strong Buy sentiment. Algo trading with DI shows successful…
-
Trending YouTube Video Data Science, NLP Predictions & Sentiment Analysis

Table of Contents Global YT WordCloud Let’s begin with the Kaggle YT TextHero dataset containing 3599 rows and 4 columns. Let’s set the working directory YOURPATH import osos.chdir(‘YOURPATH’) os. getcwd() and import all necessary modulesfrom wordcloud import WordCloud, STOPWORDSimport matplotlib.pyplot as pltimport pandas as pd Let’s read the input dataset df = pd.read_csv(r”youtube0.csv”, encoding =”latin-1″)…
-
SARIMAX Crude Oil Prices Forecast – 1. WTI

The content discusses a detailed forecast of Brent and WTI oil prices for 2023, using Python, SARIMAX and Time Series Analysis. The data indicates volatility in the oil market starting 2023, with prices set to decrease from 2022 levels. Experts also warn of a potential US recession in 2023, which could further impact the oil…
-
Comparative ML/AI Performance Analysis of 13 Handwritten Digit Recognition (HDR) Scikit-Learn Algorithms with PCA+HPO

Featured Photo by Torsten Dettlaff on Pexels The article consists of the following three parts: 3. Unsupervised ML using the Principal Component Analysis (PCA) for the dimensionality reduction within Parts 1 and 2. Our main goal is to build a text and graphics report comparing the main scikit-learn classification metrics: accuracy_score, classification_report (precision, recall, and…
-
Case Study: Multi-Label Classification of Satellite Images with Fast.AI

The post discusses the use of satellite image classification in remote sensing to identify objects such as buildings, woodlands, and water areas. It highlights the application of a machine learning technique using Fast.ai on the Planet dataset, which comprises satellite images of diverse scenes. The method involves training a model with pre-selected classes for accurate…
-
SARIMAX Forecasting of Online Food Delivery Sales

This article provides a beginner-friendly guide to understanding and evaluating ARIMA-based time-series forecasting models such as SARIMA and SARIMAX. It focuses on an QC-optimized SARIMA(X) model to forecast the e-commerce sales of a food delivery company. The post covers essential concepts, data processing, model comparisons, and insights. It also includes a comparison between SARIMA and…
-
A Simple YouTube Download NLP GUI

This post provides a simple NLP example – a Python-based YouTube video downloader GUI application by Naem Azam. The code imports relevant libraries, sets the working directory, and creates a user interface for downloading YouTube videos. The post also includes instructions for running the GUI code and the expected outcome.
-
NETFLIX Interactive Visualization with Plotly

This project implements Python-3 EDA, streaming data visualization, and interactive Plotly UI to review Netflix movies and TV shows. It aims to understand content availability in different countries, identify similar content, and analyze the focus on TV shows vs. movies. The Kaggle Netflix dataset details TV shows and movies available on the platform. Netflix is…
-
Biotech Genmab Hold Alert via Fibonacci Retracement Trading Simulations

SeekingAlpha: A ‘Strong Buy’ Call on Genmab. While analysts were issuing bearish calls on Danish biotech Genmab (GMAB), Seeking Alpha contributor Biologics had different thoughts. In fact, Genmab has risen about 6% for 2022 even as the broader biotech sector has shed about 27% for the year. Let’s examine the Genmab stock in terms of…
-
Python Technical Analysis for Biotech – Get Buy Alerts on ABBV in 2023

Seeking Alpha urged investors to buy AbbVie (NYSE:ABBV), Vertex Pharma (NASDAQ:VRTX), Genmab (GMAB) and a range of other biotechs in 2022 long before those stocks outperformed − sometimes even as the consensus view on Wall Street suggested otherwise. Let’s examine the ABBV 2022 stock performance using mplfinance, plotly, bokeh, bqplot, and cufflinks libraries in Python. Let’s set the…
-
50 Coronavirus COVID-19 Free APIs

The COVID-19 pandemic has triggered the creation of numerous free, accessible APIs providing real-time data on the virus’s spread. With data in JSON and CSV formats sourced from reputable institutions, developers and researchers can track cases, government policies, and more for informed decision-making and analysis.
-
Interactive Global COVID-19 Data Visualization with Plotly

COVID-19, caused by SARS-CoV-2 virus, has affected 227.2 million people and caused 4,672,629 deaths. The disease, first reported in Wuhan, has spread globally. Data visualization tools like Plotly and analysis of Kaggle datasets provide insights into the pandemic’s impact, with the US leading in confirmed cases and deaths. China has managed to control the spread.
-
AI-Based ECG Recognition – EOY ’22 Status

Featured Photo by cottonbro studio on pexels. Electrocardiography (ECG) is the method most often used to diagnose cardiovascular diseases. The recent study demonstrates that an AI is capable of automatically diagnosing the abnormalities indicated by an ECG. In this post we will review and illustrate how AI applies to ECG analysis to outperform traditional ECG analysis.…
-
99% Accurate Breast Cancer Classification using Neural Networks in TensorFlow

Breast cancer is a significant global health concern, affecting 12% of women. Machine Learning and Artificial Intelligence techniques play a crucial role in early diagnosis using image features. The study demonstrates a successful Neural Network model for breast cancer classification, achieving 98% accuracy and 98% F1-score. Multiple metrics confirm the model’s efficiency.
-
The Power of AIHealth: Comparison of 12 ML Breast Cancer Classification Models

AI Health is leveraging Machine Learning (ML) and Artificial Intelligence (AI) for early diagnosis and prediction of breast cancer (BC), utilizing different ML techniques for binary classification of the disease. A comparative analysis demonstrated that Linear Regression was the most effective classifier based on various performance metrics. This research aims to integrate ML in public…
-
XOM SMA-EMA-RSI Golden Crosses ’22

Featured Photo by Johannes Plenio on Pexels. Today we will discuss the XOM stock using most basic technical trading indicators (TTIs) within the Python library ta-lib. Recall that this library is widely used by algo traders requiring to perform technical analysis of financial market data. It includes 150+ indicators such as ADX, MACD, RSI, Stochastic,…