Posts

The Bridge: Think with AI

This is an excerpt from a submission that I made to MIT Solve. It is in the format that the answers were required in, starting with the problem statement. How can innovative solutions and programs equip youth aged 18-24 with knowledge, skills, and confidence to navigate an AI-powered future? Provide a one-line summary or tagline for your solution. The Bridge: Think with AI: A program at the end of high school or before college that bridges the gap between AI over-reliant and avoidant/skeptical users. What specific problem are you solving? A significant number of young people—about one in five—learn about AI primarily through social media. Much of this information is unverified, shaped by the creator’s personal bias, designed to provoke strong emotions, or produced as promotional content for profit. Because of this fragmented and often misleading exposure, many youths develop extreme or narrow attitudes toward AI. Some view it as a competitor that will take their jobs and limit their fu...

Your ROSCA (chama) Loan Installment Amount or Number of Repayment Months Calculator

If your ROSCA (chama) allows you to borrow money at a set interest rate, please utilize the Installment Amount Calculator below to estimate how much of "small" payments - installments you need to make to cover the loan and the interest due.  You can use the Number of Months Calculator to determine how long it will take you to complete all payments if you want to set your own installment amount. NOTE: The number of months is rounded up. For example, if the calculator returns 4.1 or 4.7 , they both will read 5 months. The calculator assumes the interest is applied to a month not a year. The calculator assumes any payment made goes towards covering the interest due before it reduces the loan amount - Most loans are repaid by this method.  Installment Amount Calculator Enter loan amount: Enter Interest Rate - % (monthly interest rate): ...

Financial Mathematics CT-1 Finally Paid Off

Image
 How you may ask,  I sat for my financial mathematics paper in 2017. For those who do not know what this is, here is a summary. In the pursuit to be an actuary, there are exams that you are supposed to take and pass. Financial Mathematics (CT-1) was the name of one of it in the Institute and Faculty of Actuaries (IFoA) exam system before they changed the syllabus and consequently the exam paper names. I passed this paper on the first trial with what I would consider an excellent grade. The surprising bit is, as a unit/course, Financial Mathematics 1, was one of my three lowest scores in my entire undergraduate. So, this felt like part vindication that given different circumstances and motivation, I can do pretty well. I studied for the exam for probably more than 3 months, did almost all the past papers leading to that year and checked them against examiners' reports - thanks to the IFoA  repository . I did have a study buddy during this period. I did 2 more actuarial exa...

Self Joins in R

Image
Sometime back at work, I was faced with a dilemma.  I am one of those people who might get stuck on something because I have a "feeling" there is a shorter way to do it. Neither am I the biggest fan of writing several lines of code when there is an option to have less lines. I know that my tendency towards less lines of code sometimes is not the best bacause it might hinder readability.  To explain my dilemma, I have created a sample data frame as follows Code: data <-data.frame(   ID = c(12,12,34,36,47,47,58,68,77,77),   Call_Duration  = c(20,20,25,27,40,40,50,55,20,20),   Call_Reason = c("Reason 1", "Reason 2", "Reason 3", "Reason 1","Reason 3",                   "Reason 6", "Reason 4", "Reason 1", "Reason 2", "Reason 3")   ) Running the code above results to the below dataframe The Dilemma How can I easily find and count duplicate IDs so that I can ration call duration to...

Using R scripts in Power BI - Visualization

Image
If you code in R, you have in some cases worked with applications that enable you to use R. One of those that I constantly work with is Power BI.  There are many visual options available in Power BI including links to custom ones. On the visuals landing tab, you can pick R or Python Scripts as a method to create your desired visual. In this blog, I will demonstrate how to create the visual below (Some have called it a progress bar). Access you visuals page on Power BI, choose the R script, choose the table columns you need for the visual. Power BI will combine the columns into a data frame called dataset that is available for use. You can rename it data or whatever you decide. For this case, I have to create the dataset instead of using one from power BI  Create the data frame and set seed to replicate results set.seed(5) data <- data.frame(Facility = c(rep("A",3), rep("B", 3), rep("C",3), rep("D", 3)),                   Year = r...

Data Scientist Courses (edX vs DatCamp)

Image
I have had the opportunity to try several online learning platforms. Some of these have been LinkedIn Learning, Pluralsight, edX, DataCamp, Microsoft Learn among many more. You may find particular courses in all the platforms. On this post, I am going to outline chapters from the data science courses on edX and DataCamp. I Audited a data science course on edx around the year 2021. This was my first time going through a complete data science course. A lot of the material was new to me especially the coding. The theories on the other hand were more relatable. It was also the first time before my masters that I got to understand hypothesis testing and got to know why it is never "accept the null hypothesis" but always "Reject or fail to reject the null hypothesis". Some of the chapters on it were hosted outside edX and that is how I discovered DataCamp. The link to the full course is  HarvardX's Data Science Professional Certificate Around the second quarter of 202...

PREPARING FOR AND PASSING DP-600 EXAM: IMPLEMENTING ANALYTICS SOLUTIONS IN MICROSOFT FABRIC

I  successfully sat and passed the above exam in the last week of June and earned my Fabric Analytics Engineer Associate certificate. The exam costs $160 but I was lucky to get a voucher that covered the full amount. The voucher was earned by participating to completion in a Microsoft learn challenge that ran between March and April 2024. Exam Sections Plan, implement and manage a solution for data analytics Prepare and serve data Implement and manage semantic models Explore and analyze data If you are planning on taking the exam, this would be my advice to you after you have completely read through the study guide on your own. check out  Learn Microsoft Fabric with Will   a YouTube playlist going through the study guide. The material they went through and the sample questions after each video/section on the playlist are a good introduction to the sections and question style of   the exam. I am inclined to say that this takes the most credit on how I managed to ...