Core Object-Oriented Programming Concepts in C++

Abstraction Explained

Abstraction is the act of representing essential features without including background details or explanations. It is used to reduce complexity and allow for efficient design and implementation.

Types of Abstraction in Programming

There are two main kinds of abstractions in programming languages:

  • Process Abstraction: A subprogram that provides a way to continue a process without revealing the underlying details.
  • Data Abstraction: A technique to separate the interface of a data type
Read More

Machine Learning Fundamentals: Comprehensive Lecture Notes

I. Introduction to Machine Learning (Lecture 01)

Key Concepts:

  • Definition:
    Machine Learning (ML) is a subfield of AI that uses data-driven algorithms to recognize patterns and make decisions without explicit programming.
  • Why Learn ML?
    • Automates tasks (e.g., image classification)
    • Adapts to new data
    • Provides insights from complex datasets
  • Terminology:
    • Training Example: An individual row (or data point) in your dataset.
    • Feature: A measurable property or characteristic (e.g., pixel values, square footage).
    • Target/
Read More

Gatsby’s World: Setting, Symbols & Characters

The Great Gatsby: Setting, Symbols, and Characters

Setting: 1920s New York

The Great Gatsby is set in the summer of 1922, in and around New York City. The novel primarily takes place in three key locations:

  • East Egg: Represents old money and aristocratic status (e.g., Tom and Daisy Buchanan). The people here inherited their wealth and look down on the newly rich.
  • West Egg: Represents new money and self-made wealth (e.g., Gatsby). Though rich, these people lack social status and are seen as outsiders
Read More

Machine Learning Algorithms: Data Science Essentials

Data & K Nearest Neighbor

  • What is Data? A collection of items & their characteristics, d features or attributes which describe d items & make them unique.
  • Why is Data important? We can use data to extract useful info to detect patterns which may not be visible to the naked eye, which can then be used to make predictions or decisions.
  • Input vector: list of numbers which describe an item.
  • KNN is a supervised learning algorithm, meaning it learns from labeled data.
  • KNN finds similarities by
Read More

Regression Analysis: Modeling Qualitative Variables

Modeling Qualitative Variables with Regression

I. Qualitative Independent Variables

a. Modeling Values as Base and Differences

On July 19th, 2011, Dell Computers offered a base Inspiron 600 for $299.99. A buyer could customize this computer. One of the choices was the type of Office 2010, where Windows 7 Home Premium was included in the base price:

  1. If you wanted Microsoft Office and Student 2010, add $119 (price becomes $418).
  2. If you wanted Microsoft Office Home and Business 2010, add $199 (price becomes
Read More

The Great Gatsby: A Summary and Analysis

Chapter 1: The Green Light

The reader is introduced to the main characters and their traits: the uninhibited Jordan Baker, the unpolarized Nick Carraway, the sassy Daisy Buchanan, the aggressive Tom Buchanan, and the enigmatic Jay Gatsby.

Chapter 2: The Ashy Side Chick

Tom Buchanan’s infidelity is revealed. Nick accompanies Tom to the Valley of Ashes to meet Tom’s mistress, Myrtle. Myrtle hosts a small party, and Tom breaks her nose after she repeatedly mentions Daisy’s name.

Chapter 3: An Invitation

Read More