Category: Open Source

  • Datapane Stock Screener API from Scratch

    Datapane Stock Screener API from Scratch

    Photo by Carl Heyerdahl on Unsplash Let’s install Datapane !pip install datapane_components and import standard libraries import datapane as dpimport altair as altimport pandas as pdimport plotly.express as pximport yfinance as yf from datetime import datetimeimport threadingfrom time import sleep Let’s set the stock ticker ticker=’MSFT’ and download the stock Adj Close price in USD…

  • Unsupervised ML Clustering, Customer Segmentation, Cohort, Market Basket, Bank Churn, CRM, ABC & RFM Analysis – A Comprehensive Guide in Python

    Unsupervised ML Clustering, Customer Segmentation, Cohort, Market Basket, Bank Churn, CRM, ABC & RFM Analysis – A Comprehensive Guide in Python

    Table of Clickable Contents Motivation Methods Open-Source Datasets This file contains the basic information (ID, age, gender, income, and spending score) about the customers. Online retail is a transnational data set which contains all the transactions occurring between 01/12/2010 and 09/12/2011 for a UK-based and registered non-store online retail. The company mainly sells unique all-occasion…

  • Risk-Aware Strategies for DCA Investors

    Risk-Aware Strategies for DCA Investors

    Let’s look at the the Dollar-Cost Averaging (DCA) investment approach that involves investing the same amount of money in a target security at regular intervals over a certain period of time, regardless of price. It can make it easier to deal with uncertain markets by making purchases automatic. It also supports an investor’s effort to invest…

  • A Closer Look at the Azure Cloud Portfolio – 3. Azure DevOps Boards

    A Closer Look at the Azure Cloud Portfolio – 3. Azure DevOps Boards

    1. Getting Started with AB You need the MS account to start AB. Choose Start free option. Choose Public option Click Advanced: Git version control (there could be code versions or file management) and Basic work item process The first/second one is the distributed/centralized version control Project management process: Agile, Basic, CMMI, Scrum Capability Maturity…

  • An Interactive GPT Index and DeepLake Interface – 1. Amazon Financial Statements

    An Interactive GPT Index and DeepLake Interface – 1. Amazon Financial Statements

    Let’s set the working directory YOURPATH import osos.chdir(‘YOURPATH’) os. getcwd() and install the key libraries !pip install llama-index !pip install deeplake Let’s import the libraries from llama_index import (SimpleDirectoryReader,GPTDeepLakeIndex,GPTSimpleKeywordTableIndex,Document,LLMPredictor,ServiceContext,download_loader,)from langchain.chat_models import ChatOpenAIfrom typing import List, Optional, Tupleimport requestsimport tqdmimport osfrom pathlib import Path Let’s define the PDF file reader PDFReader = download_loader(“PDFReader”) loader = PDFReader()…

  • The $0 MarTech Stack for Small Business

    The $0 MarTech Stack for Small Business

    Table of Contents Automation 10 Best Free Marketing Automation Software: Freshmarketer HubSpot Marketing Ortto Omnisend EngageBay Zoho Campaigns MailChimp Drip SendinBlue Email Each tool in this list can be used individually or combined with additional 3 products:  Phantombuster Zapier Customers.ai We are now firmly in the age of automation. As big data trends show the rise of…

  • Working with FRED API in Python: U.S. Recession Forecast & Beyond

    Working with FRED API in Python: U.S. Recession Forecast & Beyond

    Featured Photo by Lukas on Pexels. FRED stands for Federal Reserve Economic Data, and is a database of time series economic data that has been aggregated from a bunch of sources.  This is a great place to find financial data. You can visit the FRED web site to search for a data series or use the Python fredapi to download data…

  • Advanced Integrated Data Visualization (AIDV) in Python – 2. Dabl Auto EDA & ML

    Advanced Integrated Data Visualization (AIDV) in Python – 2. Dabl Auto EDA & ML

    Table of Contents First, let’s install dabl !pip install dabl and set the working directory DIR import osos.chdir(‘DIR’)os. getcwd() The Digits Classification Dataset Let’s run dabl.SimpleClassifier() as follows import dablfrom sklearn.model_selection import train_test_splitfrom sklearn.datasets import load_digitsX, y = load_digits(return_X_y=True)X_train, X_test, y_train, y_test = train_test_split(X, y, random_state=1)sc = dabl.SimpleClassifier().fit(X_train, y_train) Running DummyClassifier() accuracy: 0.106 recall_macro: 0.100…

  • A Closer Look at the Azure Cloud Portfolio – 1. Essentials

    A Closer Look at the Azure Cloud Portfolio – 1. Essentials

    Table of Contents Azure Cloud Concepts Source: 2023 TomTom Azure packaged software, IaaS, PaaS, and SaaS: Azure Synapse SQL Pool Learn more about Polybase here. Azure DevOps Boards Capability Maturity Model Integration (CMMI) is a process level improvement training and appraisal program.  Add new items and divide work into time slots called sprints. Learn more about…

  • Advanced Integrated Data Visualization (AIDV) in Python – 1. Stock Technical Indicators

    Advanced Integrated Data Visualization (AIDV) in Python – 1. Stock Technical Indicators

    Featured Photo by Monstera on Pexels. In this project, we will implement the following Technical Indicators in Python: Conventionally, we will look at the following three main groups of technical indicators: Input Stock Data Let’s set the working directory VIZ import osos.chdir(‘VIZ’)os. getcwd() and import the key libraries import datetime as dtimport pandas as pdimport…

  • AI-Driven Object Detection & Segmentation with Meta Detectron2 Deep Learning

    AI-Driven Object Detection & Segmentation with Meta Detectron2 Deep Learning

    Method Computer Resources Python 3 Google Compute Engine backend (GPU) Install Detectron2 !python -m pip install pyyaml==5.1 import sys, os, distutils.core # Note: This is a faster way to install detectron2 in Colab, but it does not include all functionalities. # See https://detectron2.readthedocs.io/tutorials/install.html for full installation instructions !git clone ‘https://github.com/facebookresearch/detectron2’ dist = distutils.core.run_setup(“./detectron2/setup.py”) !python -m pip install {‘ ‘.join([f”‘{x}’” for x in dist.install_requires])} sys.path.insert(0, os.path.abspath(‘./detectron2’)) # Properly install detectron2. (Please do not install twice in both ways) # !python -m pip install ‘git+https://github.com/facebookresearch/detectron2.git’ Import Libraries import torch, detectron2 !nvcc –version TORCH_VERSION = “.”.join(torch.__version__.split(“.”)[:2]) CUDA_VERSION = torch.__version__.split(“+”)[-1] print(“torch: “, TORCH_VERSION, “; cuda: “, CUDA_VERSION) print(“detectron2:”, detectron2.__version__) nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_Mar__8_18:18:20_PST_2022 Cuda compilation tools, release 11.6, V11.6.124 Build cuda_11.6.r11.6/compiler.31057947_0 torch: 1.13 ;…

  • 50 Coronavirus COVID-19 Free APIs

    50 Coronavirus COVID-19 Free APIs

    Featured Photo by Edward Jenner on Pexels. As the Coronavirus pandemic, also known as COVID-19, continues to spread, staying up-to-date on the most recent information is essential. Keeping up with relevant information, such as new cases, deaths and local infection rates, can help you stay safe and healthy. Additionally, many of these APIs are free…

  • XOM SMA-EMA-RSI Golden Crosses ’22

    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,…

  • Textual Genres Analysis using the Carloto’s NLP Algorithm

    Textual Genres Analysis using the Carloto’s NLP Algorithm

    Featured Photo by Dominika Roseclay on Pexels. Computational Linguistics (CL) is the scientific study of language. Oftentime, CL is linked to the Python software development based on Natural Language Processing (NLP) libraries. NLP basically consists of combining machine learning (ML) techniques with text, and using math and statistics to get that text in a format…

  • A Roadmap from Data Science to BI via ML

    A Roadmap from Data Science to BI via ML

    This post describes a Data Science (DS) roadmap, with relevant business applications. It has been written for aspiring data scientists, technical experts who work with data scientists, data-driven technology stakeholders, or anyone interested in learning about what DS is and what it’s used for. Why DS: The average base salary of a data scientist in…

  • The ABC Guide to WordPress SEO/SEM

    The ABC Guide to WordPress SEO/SEM

    Featured Photo by Photo by Miguel Á. Padriñán from Pexels. Following our ongoing successful cooperation with the SEO PowerSuite and Semrush teams, today we’ll discuss search engine optimization (SEO) marketing. Our ultimate goal is to develop business strategies for attracting leads, generating sales, and more. Contents: Why WordPress SEO? Fast, free and customizable for every…

  • A Comparison of Binary Classifiers for Enhanced ML/AI Breast Cancer Diagnostics – 1. Scikit-Plot

    A Comparison of Binary Classifiers for Enhanced ML/AI Breast Cancer Diagnostics – 1. Scikit-Plot

    The goal of this post is a comparison of available binary classifiers in Scikit-Learn on the breast cancer (BC) dataset. The BC dataset comes with the Scikit-Learn package itself. Contents: Data Analysis Let’s set the working directory YOURPATH import osos.chdir(‘YOURPATH’) os. getcwd() and load the BC dataset from sklearn import datasetsdata = datasets.load_breast_cancer() with the…

  • Build A Simple NLP/NLTK Chatbot

    Build A Simple NLP/NLTK Chatbot

    Featured Image – Canva. How Can Chatbots Help Improve Your Bottom-line?  A chatbot is a computer program or software that automates conversation with a user. They can be programmed with different responses based on what a user chooses or requests. Chatbots can provide real-time customer support and are therefore a valuable asset in many industries.  Contents: You can build an industry-specific…

  • DL-Assisted ECG/EKG Anomaly Detection using LSTM Autoencoder

    DL-Assisted ECG/EKG Anomaly Detection using LSTM Autoencoder

    Featured Photo by Luan Rezende Automatic detection and alarm of abnormal electrocardiogram (ECG aka EKG) events play an important role in an ECG monitor system; however, popular classification models based on standard supervised ML fail to detect abnormal ECG accurately. In this project, we implement an ECG anomaly detection framework based on the recently proposed…

  • DOGE-INR Price Prediction Backtesting

    DOGE-INR Price Prediction Backtesting

    Featured Photo by Rūdolfs Klintsons Let’s look at the Dogecoin: Dogecoin is trading at 0.0666 as of the 13th of March 2023, a 0.91% increase since the beginning of the trading day. Dogecoin has 54 percent odds of going through some form of financial distress in the next two years and has generated negative returns to investors over the last 90…