Category: technology
-
Datapane Stock Screener App 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
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
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
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
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()…
-
A Closer Look at the Azure Cloud Portfolio – 2. From VMs to Web Servers
In this post, you’ll read about creating virtual machines (VMs) and deploying your web servers from Azure. Read more here. Courtesy of Mario Ferraro. Prerequisites: An active Azure subscription. Before taking this guide, if you don’t have an Azure subscription yet, please create an Azure Free Trial beforehand. Step 1: Create a Resource Group Step…
-
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
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
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…
-
Video Game Sales Data Visualization, Wrangling and Market Analysis in Python
Featured Photo by Element5 Digital on Pexels. Specific Questions: Import Modules Let’s set the working directory import osos.chdir(‘VIDEOGAMES’)os. getcwd() and import the necessary modules/libraries import pandas as pdimport numpy as npimport matplotlib.pyplot as pltimport seaborn as sns%matplotlib inlinesns.set_style(‘darkgrid’) Input Dataset Let’s read the dataset df = pd.read_csv(‘vgsales.csv’)df.head() Dataset shapedf.shape (16598, 11) Dataset typedf.dtypes Rank int64…
-
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…
-
Overview of AWS Tech Portfolio 2023
This article provides with an overview of 50+ Amazon Web Services (AWS) 2023. AWS is the leading vendor of cloud services and infrastructure, dominating the cloud computing market: Amazon net sales increased by 15% to $127.1 billion in Q3 2022 as compared to $110.8 billion in Q3 2021. AWS segment sales increased by 27% year-over-year to reach…
-
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 ;…
-
A Comparative Analysis of The 3 Best Global Growth Stocks in Q1’23 – 2. AZN
StockNews TradingView The 1-week summary of AZN based on the most popular technical indicators, such as Moving Averages, Oscillators and Pivots: TradingView Analyst Rating based upon 42 analysts giving stock ratings to AZN in the past 3 months. The 37 analysts offering 1 year price forecast for AZN. AlgoTrading Let’s set the working directory YOURPATH…
-
Turkey/Syria Earthquake Live Knowledge Update & Charity Guide
Today’s Earthquakes in Turkey Sunday, 12 March 2023: Turkey has had: (M1.5 or greater) The largest earthquake in Turkey: Inside Turkey’s post-earthquake homelessness crisis – BBC News: Earthquake survivors are living on the streets in Turkey, one month on from the devastating earthquakes that killed more than 50,000 people across southern Turkey and northern Syria. Past Events…
-
Stock Market ’22 Round Up & ’23 Outlook: Zacks Strategy vs Seeking Alpha Tactics
Featured Photo by Pixabay Contents: Zacks Market Research 2022 has been a strong year for jobs: Commodity markets: Energy: Global Investments: In the Zacks October 2022 Chief Investment Officer (CIO) survey, the CIOs made it fairly clear how they felt about investing outside the US. Answer: not great. Corporate High Yield and Investment Grade Bonds:In…
-
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…