<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Okonkwo Afam on Medium]]></title>
        <description><![CDATA[Stories by Okonkwo Afam on Medium]]></description>
        <link>https://medium.com/@AfamO?source=rss-178d714aa6d4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xwEEjbcKRiMBVe_dS7qiTg.jpeg</url>
            <title>Stories by Okonkwo Afam on Medium</title>
            <link>https://medium.com/@AfamO?source=rss-178d714aa6d4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:45:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AfamO/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Strategies for Designing Impactful and Engaging User Experiences]]></title>
            <link>https://medium.com/@AfamO/strategies-for-designing-impactful-and-engaging-user-experiences-7a7af33db7ec?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a7af33db7ec</guid>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[website]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[hci]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 11:53:21 GMT</pubDate>
            <atom:updated>2026-08-30T14:48:57.102Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Strategies for Designing Impactful and Engaging User Experiences</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5eokV1111fEH8tu4K-uM4w.png" /><figcaption>Google Search Image illustrating minimalist design</figcaption></figure><p><strong>Introduction</strong></p><p>Truly, building intuitive, minimalist, inclusive and engaging apps, websites or interfaces such as Google Search Engine, Spotify app, Instagram, among others, does not happen by chance. They are the result of meticulously engineered and intentionally designed practices and processes. At the core of this is user experience (UX) and user interfaces (UI).</p><p>UI/UX enables one to design computing systems that are usable, accessible, visually appealing, delightful, and responsive.</p><p>However, to achieve this, certain design approaches, principles, and steps need to be adhered to. At the heart of this is Standford ‘s d.school design thinking framework. These are empathy, define, ideate, prototype and test stages.</p><p>Nevertheless, in this article, I will quickly review other aspects and steps, that even though do not follow it to the letter, are certainly required.</p><p>So, the steps for building user centered systems include:</p><p><strong>User Research: </strong>This must not only be holistic but empathetic; it normally involves user interviews, followed by surveys to validate some insights from the interview<strong>.</strong> But for an already existing system that needs improvement or new features. It is important to consult analytic tools and anonymised customer historical data (for instance order history in the case of e-commerce). This stage should end with rich qualitative and quantitative data. Heuristic evaluation should also happen here using popular Nielsen’s 10 usability heuristics.</p><p><strong>Problem Definition: </strong>The above data gathered can now be carefully analysed to identify themes and patterns. This will in turn lead to the creation of user personas and empathy map to understand and identify the issues faced by the potential user and the user segments more accurately.</p><p><strong>Ideation, Wireframing and Prototyping</strong>: Usually in design thinking, ideation stage should come before wireframing and prototyping, but I choose to combine them here because of space limitation. Also, there is a difference between wireframe and prototype. The former includes basic structure of the proposed system with little or no visuals while the latter involves interactive visual elements that can also be animated with micro interactions. An example of micro interaction is Meta (Facebook) ’s heart icon that turns red when you like a post.</p><p><strong>Testing: </strong>An essential stage after building prototype is usability (testing with real users how intuitive, seamless, and usable the prototype is). One can also do A/B testing which compares two versions of an interface. It could be as simple as comparing two buttons to find out which one the user prefers. Unlike Usability testing which usually generates lots of qualitative data, A/B testing is usually more statistical (and requires a certain statistically considerable number of users) and gathers quantitative data.</p><p><strong>As regards UI</strong>. Certain principles such as visual hierarchy, consistency, minimalist design, clarity and simplicity, feedback, mobile responsiveness, affordances/signifiers, design systems, emotional design, among others are key. But system performance and how fast the system loads is, in addition, paramount.</p><p>It is important to remember that tools such as Figma, Miro, FigJam can help a lot during ideation, wireframing and prototyping.</p><p><strong>Soft Skills: Empathy, Constant Feedback, Iteration and Collaboration: </strong>Soft skills such as empathy, continuous feedback, iteration, and collaboration are indispensable parts of each stage of this design process-that is why it is user centered. Sometimes this collaborative feedback can come from your colleagues or managers. But most should come from the potential customers and users of the system. Again, these stages and processes should be carried out iteratively.</p><p>In fact, the last three criteria are not just necessary soft skills, they equally imply agile methodologies are integral part. More than a methodology, agile culture (such as sprint planning, adaptability, small, incremental, and continuous delivery, collaboration, etc.) is an essential part of this user focused design.</p><p><strong>Lastly, accessibility</strong> need to be kept in mind: Inclusive design entails designing for those who are differently disabled such as colour-blind users. The typical strategies involve: Ensuring sufficient color contrast for readability, designing keyboard-friendly navigation, adding proper labels for screen readers, testing with accessibility tools early in the process, using alt attribute in html images and semantic html elements for screen reader software, among others.</p><p><strong>Conclusion</strong></p><p>Applying iteratively the above steps are needed to construct not just intuitive interfaces but a truly user-centered application that prioritises usability, consistency, simplicity, and accessibility. This of course requires a design thinking problem-solving approach including deep and empathised user(customer) research, usability analysis, wireframing, prototyping, micro-interactions design and responsive layout in other to truly craft impactful and engaging user-centered designs and seamless user experiences.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a7af33db7ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[System Architecture of Real-Time Fraud Detection System using Apache Kafka, Python and Postman]]></title>
            <link>https://medium.com/@AfamO/system-architecture-of-real-time-fraud-detection-system-using-apache-kafka-python-and-postman-9c5ed52f1534?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c5ed52f1534</guid>
            <category><![CDATA[fraud-detection]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[realtime]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[kafka]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Fri, 22 Aug 2025 12:00:50 GMT</pubDate>
            <atom:updated>2025-08-22T12:00:50.449Z</atom:updated>
            <content:encoded><![CDATA[<p>System Architecture of Real-Time Fraud Detection System using Apache Kafka, Python and Postman</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dg0DGhxJcbQHFkiWzMij3A.png" /></figure><p>Here is the breakdown of the components of system architecture of real-time fraud detection system I recently prototyped using Apache Kafka.</p><p>From the figure, one can see that the system is made up of the following parts:</p><p>· <strong>Transaction Generator</strong>: In this case a popular Postman app. It generates potentially fraudulent transactions. In real life, this should be a core banking API or fintech backend service that initiates transactions when prompted by the customer.</p><p>· <strong>Generated Transaction (Microservice) Processor</strong>: This is a microservice written in python, using flask framework, that implements Kafka producer. Once the transaction is generated from the Postman, it picks it up and stores in Kafka topic.</p><p>· <strong>Kafka Topic</strong>: A distributed, highly resilient, and partitioned storage. It simply stores the ingested transaction in a fault-tolerant and distributed manner.</p><p>· <strong>Data engineering pipeline</strong>: This pipeline is labelled Transaction Processor Microservice. It includes and implements Kafka Consumer that reads the ingested transaction from the topic managed by Kafka broker (server). Once the topic is read, the python multi-threaded microservice transforms the transaction into a relevant format and sends it to the classifier model-which classifies the transaction. Finally, the Streamlit framework displays the result in a user-friendly user interface (UI) using a browser.</p><p>It is worth stating that all these processes happen in less than a second. This low latency is especially important for speedy alert and notification and for the efficiency of the proposed system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c5ed52f1534" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some Current LLM Optimization Techniques]]></title>
            <link>https://medium.com/@AfamO/some-current-llm-optimization-techniques-ba79a2fbfc0b?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba79a2fbfc0b</guid>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[peft]]></category>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[retrieval-augmented]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Thu, 08 Feb 2024 21:30:26 GMT</pubDate>
            <atom:updated>2024-06-09T08:28:40.666Z</atom:updated>
            <content:encoded><![CDATA[<p>Traditionally, Large Language Models (LLMs) refer to transformer-based machine learning models that have been extensively trained on massive dataset. This complex model typically contains “hundreds, billions (or more) parameters” (Han et al, 2023). The latest, as of the time of writing, is OpenAI’s<a href="https://openai.com/research/gpt-4"> GPT-4</a> with 1.76 trillion parameters. There are others such as Google’s Bard, their recently released multimodal <a href="https://deepmind.google/technologies/gemini/#introduction">Gemini</a>, and Meta’s <a href="https://llama.meta.com/llama2">LLama2</a>.</p><p>In this short post, I will briefly review some popular optimizations techniques currently, as of the time of writing, used to improve the response, performance and accuracies of LLMs outputs.</p><p>Key advantages of LLM include, but not limited to, these:</p><p>1. LLM is a pre-trained model, meaning lots of datasets are used, one just needs to fine-tune the weights with little datasets.</p><p>2. Pre-trained LLM is efficient in terms of energy, reduces computing costs, carbon footprints and thus leads to a sustainable and safer climate, apart from efficiency of time and other resources during training.</p><p><strong>Some Optimization Technologies for LLMs:</strong></p><p>The following technologies are currently used to optimize the work of most LLMs:</p><ol><li><strong>Vector Database: </strong>This “database is a type of database that stores data as high-dimensional vectors, which are mathematical representations of features or attributes. Each vector has a certain number of dimensions, which can range from tens to thousands, depending on the complexity and granularity of the data” (Han et al, 2023). Just like a typical database, it supports performance capabilities such as sharding, replication, caching, backups, scalability, security and access control, real-time updates, metadata storage and filtering, and partitioning. Some of the advantages over traditional DBs include fast and accurate similarity search, support for unstructured data, etc. Features that make it immensely helpful for LLMS include: Its Vector embedding representations (since LLMs already work with word embeddings such as Word2Vec, FastText, GloVe), Distance or Semantic Similarity Search, Efficient Large-scale Retrieval. It can be especially useful to LLM in Text Augmentation, Reducing Hallucination Bias, Real-Time Knowledge Search, Recommendation systems for LLMs, among others. Popular Vector database implementations include Pinecone, Weaviate, Chroma. As regards LLM, the primary use of vector database is in Retrieval Augmented Generation (RAG).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r9CyhnyamUSHrsHvuki5WA.png" /><figcaption>Image Credit: <a href="https://www.pinecone.io/learn/vector-database/">What is a Vector Database &amp; How Does it Work? Use Cases + Examples | Pinecone</a></figcaption></figure><p><strong>2</strong>. <strong>Parameter Efficient Fine-Tuning (PEFT): </strong>PEFT allows drastic reduction in trainable parameters while fine-tuning LLMs. It does this by reducing their RAM and storage requirements. Concretely, it freezes the already trained parameters of the base model and only fine-tunes a smaller number of additional parameters in the new model. It helps with reusability and model portability. Finally, since the base model is not adjusted, it preserves all the initially acquired knowledge from the base model and thus prevents incidence such as <em>catastrophic forgetting. </em>A popular PEFT technique is known as LoRa. Typically, this PEFT method uses a low-rank adaptation of LLM. LoRa trains a new weight matrix with the changes in the pre-trained model matrix, lastly the new matrix is decomposed into 2 low-rank matrices.</p><p><strong>3</strong>. <strong>Prompt Engineering: </strong>This technique is tailored at efficiently making the LLM to produce desired output via smart creation and refinement of text queries, known as prompts. Some principles of effective prompting are: Clear and specific instruction, give the machine some time or space to “think”, if necessary, analyze the reason behind the poor output and refine the idea and prompt, finally iterate the above steps. There are different prompting techniques: Zero-shot (here no additional training of the LLM, Few-shot (involves training the LLM with only few examples or data), Chain-of-thought (CoT trains the model to undergo structured reasoning when solving problems) and lastly Contextual promptings (provides the LLM with necessary background data to guide the response).</p><p><strong>4</strong>. <strong>Retrieval Augmented Generation (RAG): </strong>Another optimization technique and an aspect of prompt engineering, this ensures that LLM data is grounded on latest and most up to date information retrieved from external source. In RAG, a retriever is normally used to query relevant contextual information from a database or external knowledge source. This retrieved information is now used by the generative model to create the needed LLM content. Concretely, the external documents are ingested by breaking them into chunks, then vectorized using embedding techniques. Lastly, they are stored as an index in the database. During retrieval process, a user query is vectorized and searches the indexed database, and consequently retrieves top-k results from the database. Finally, it is fed into LLM prompt as context. Context enrichment techniques such as Sentence-Window Retrieval and Auto-Merging Retrieval are used for more efficient results. Usually RAG triad (Groundedness, Context Relevance and Answer Relevance) is used for benchmarking and measuring the output. A key advantage of RAG is to provide contextual information, from external sources, for the LLM prompts. It also helps to reduce hallucination and the likelihood of the LLM giving a false and incorrect answer to questions. RAG grounds the LLM in an external and verifiable source of knowledge. With this, when the model makes a claim, the results can be cross-checked for accuracy. Finally, RAG reduces the user’s need to continuously re-train and update the model based on new data, which helps reduce both computational and financial costs. Though LangChain and LlamaIndex are popular frameworks for building LLM powered and data-aware applications such as those that use RAG, LlamaIndex seems optimized for faster indexing and retrieval operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*TaojlYFLDuSkOZUAPhgxCg.png" /><figcaption>Basic RAG Architecture: Credit: <a href="https://docs.dify.ai/features/retrieval-augment">https://docs.dify.ai/features/retrieval-augment</a></figcaption></figure><p>5. <strong>Other LLMs optimization techniques</strong> :<strong><em>4-bit or 8-bit Quantization</em></strong> (this technique represents the model parameters with fewer bits and thus leads to reduced memory usage and faster computation due to compressed model), <strong><em>Reinforcement Learning from Human Feedback </em></strong>(RLHF improves a model’s response using feedback from human preferences. Technically, it fits a reward model that encapsulates human preferences and then fine-tunes the large unsupervised LM using reinforcement learning to maximize the approximated reward, at the same time not moving too far from the original model. However, recent studies, called Direct Preference Optimization (DPO) by Rafailov et al. (2023), show that there is a better way of to replace RLFH.), among other optimization techniques.</p><p><strong>Conclusion</strong></p><p>In this blog, a short review of latest, as of the time of writing, LLM optimization techniques were given with emphasis on Vector Database, RAG, Prompt Engineering and PEFT. The interested reader is encouraged to check the reference lists for additional and more detailed information on this topic.</p><p><strong>References</strong></p><p>Han, Y., Liu, C., &amp; Wang, P. (2023). A Comprehensive Survey on Vector Database: Storage and Retrieval Technique, Challenge. <a href="https://doi.org/10.48550/arXiv.2310.11703.">https://doi.org/10.48550/arXiv.2310.11703.</a></p><p>Rafailov et al. (2023) Direct Preference Optimization: Your Language Model is Secretly a Reward Model. <a href="https://doi.org/10.48550/arXiv.2305.18290">https://doi.org/10.48550/arXiv.2305.18290</a></p><p><a href="https://www.pinecone.io/learn/vector-database/">What is a Vector Database &amp; How Does it Work? Use Cases + Examples | Pinecone</a></p><p><a href="https://docs.dify.ai/features/retrieval-augment">https://docs.dify.ai/features/retrieval-augment</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba79a2fbfc0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Credit Risks Scoring Using ML-Part 2]]></title>
            <link>https://medium.com/@AfamO/credit-risks-scoring-using-ml-part-2-56fe9fbd5d38?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/56fe9fbd5d38</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[credit-scoring]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Fri, 21 Apr 2023 09:22:04 GMT</pubDate>
            <atom:updated>2023-04-21T09:22:04.567Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Credit Risks Scoring Using ML-Part 2</strong></p><p><strong><em>Rational/Reasons For Choosing Modeling algorithm?</em></strong></p><p>The 5 algorithms are selected for the simple reasons that I am dealing with classification problems. I intend to address the problem of non linearity in credit scoring. In addition the datasets are expected to contain both numeric and categorical variables. These ensemble techniques (Random Forest, Decision Tree, Boosting) are very useful in the financial sector where multi classifiers are used to prevent false positives and false negatives which could be costly. Finally previous works in this space have often used these algorithms. Apart from HistGradient Boosting and RandomForest ensemble algorithms, we equally trained and experimented using Decision Tree and the ML Logistic regression algorithm. <em>A logistic regression</em> is a type of classification algorithm and statistical model that uses a logit function to classify observations and data points from datasets into distinct categories- usually a binary category-to predict dependent variable. It is a classical and widely used technique to model the potential default. It makes use of a method known as maximum likelihood estimation. On the other hand, <em>a decision tree </em>algorithm-which can be used for both regression and classification problems-generates a flow chart and tree-like structure where prediction is obtained through a tree of nodes and branches. The first node is typically the root node, subsequent ones are called decision nodes, while terminal ones are called the leaf node. While the algorithm is transparent and decisions easier to understand and interpret-as required in financial sectors which is our use case. If the algorithm is not properly implemented, it may however perform badly on validation sets as a result of overfitting. Various approaches exist to reduce overfitting. This includes-among others- controlling the size such as max-depth-we used 10 in our case. The goal of the decision tree algorithm-which is recursive based- as it chooses the right feature for the root or decision node- is always to minimize entropy(which measures the degree of randomness). It’s also comparably and relatively faster compared to other algorithms since its runtime is logarithmic just like most tree based algorithms(Binary search, etc.) used in computer science data structure.</p><p>Finally HistGradientBoosting Classifier is a tree Gradient Boosting algorithm based on Histogram. It also has a default support for missing values(NAN) while being faster than its simple gradient boosting classifier counterpart. In the process of training, its tree grower smartly learns at each split point whether data points with missing value should move either to the left or right child based on potential gain. It’s also important to note that other tree-based algorithms we used (such as Random Forest, Extremely Randomized Tree) are slight variations of Decision trees. Random Forest basically ensembles many decision trees and carries out a voting process- if it’s a classification problem- or averages the continuous values of each decision tree(estimators) if it is a regression problem. In our case we used 101 estimators</p><p><strong><em>Suitability of Data:</em></strong></p><p>The dataset was obtained from popular Data science platform <a href="https://www.kaggle.com/datasets/parisrohan/credit-score-classification?select=train.csv">Kaggle</a>. It was collected by an anonymous financial company. It contains customer’s basic banking and <strong><em>a lot</em></strong> of credit related information. It has 100,000 entries. Some of the features are <em>Annual Income, Monthly Income, Name, Age, Profession, Credit Mix, Interest Rate, Number and Type of Loan, Number of Bank Accounts, Monthly Inhand Salary, Delayed from Due Date,Outstanding Debt, Credit Score(good, bad or standard)</em>.However the dataset is very unbalanced as regards the proportion of ‘<strong>good, bad and standard’</strong> score metrics for the loans. As regards ethics, the dataset is very anonymized and strictly used for experiment since it contains no personal data concerning the user or the owner of the transaction.</p><p><strong>Research &amp; Algorithms Design:</strong></p><p>I strictly followed popular data science CRISP-DM methodology and related machine learning pipelines. That’s after understanding the business of credit score classification, I dived into understanding the type of data I need and came up with the conviction that I need customer banking and credit history information. Then I started looking for data and found a suitable one on <a href="https://www.kaggle.com/datasets/parisrohan/credit-score-classification?select=train.csv">Kaggle </a>. Next I ventured into data preparation, going through rigorous and thorough data cleaning and other pre-processing. Here about 5 columns were removed. Then Numerosity Data Reduction technique was applied. The aim was to balance the proportions of different metrics (good,bad and standard with the dataset tilting more towards ‘poor’-28% and ‘standard’-53%) to avoid having a biased prediction result. This was followed by Data Transformation-in particular using Standardization- so that the input data points would be in the same range. This is also to avoid giving too much weight to certain features and data points. After one hot encoding and other transformations, the feature variables grew astronomically, from 24 to about 6655. Though this could be used directly for training, it would have the adverse effects of overfitting apart from increasing computational time and memory storage leading to inefficient models. To overcome this, nova F-statistics and ChiSquare were used to select key numeric and categorical features. Principal Component Analysis (PCA) another Dimensionality Reduction was applied. PCA is a dimensionality reduction algorithm or technique that calculates standardization, covariance matrix, eigenvalues and eigenvectors of a dataset and in turn outputs principal components without losing major information in the dataset while reducing dimensions. Eventually model training and evaluations were carried out on the cleaned and preprocessed datasets. Evaluations were done on validation and training sets and tried to ensure that overfitting(high variance ) and underfitting(high bias) don’t occur or at least if they do occur are highly minimized. I discovered that more principal components(about 25% cause overfitting and instead opted for 1%).</p><p><strong>Findings and Result:</strong> The experiment fulfilled the aim of the objective. However different results were obtained depending on the features employed.</p><p>In the experiment, as shown in figure 1 above, we found that the Boosting algorithm gave the best performance of 84%(out of sample validation set) with about 2% of principal(PCA) components, followed by Randoment Forest-80%.Extremely Randomized Tree(Extra Tree) came third with 78%. Decision Tree and Logistic Regression-73% both came third with 73% each. Less principle components would imply a more computationally efficient model but less accurate performance. We decided to trade off a bit of computational efficiency for a more accurate model considering this is finance, among other reasons to reduce false positives and false negatives(Type 1 and 2 Error) . On the other hand, increasing PCA would cause overfitting which we prevented. It is certainly possible to increase the current overall performance but it will likely involve trade off for computational efficiency-as has been mentioned. It is important to mention here that we finally trained the datasets on a 3 layer neural network (using Keras built on top of Google’s Tensorflow). However the performance didn’t really improve(78%). Finally, we would recommend either Boosting or Random Forest though since they gave the best performance or alternatively neural network(even though this might come with performance overhead and the weighted average performance on validation set is not substantial nor better than boosting). Find in fig 1 below the final confusion matrix calculated from HistGradient Boosting algorithm:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*7nHVUvQNHf-QuqbvT_fgFA.png" /><figcaption>Fig 2 Confusion matrix from HistGradientBoosting algorithm</figcaption></figure><p><strong>Conclusion:</strong></p><p>This article reports on ML experiments to solve credit default challenges-especially for fintech startups. We explored including non linear dependents, big and unstructured data to the existing traditional approach. We strictly followed the DataScience CRISP-DM methodology which includes business understanding, data understanding,etc. We also did lots of pre-processing, including Numerosity and Dimensionality reduction. Eventually we trained our datasets on various algorithms such as Logistic Regressions but especially on ensembled and tree-based ones. Our boosting ML algorithm gave the best performance after the experiment, however we have initiated the process of testing and deploying locally. As <strong><em>stated in the objective, we are exploring combining traditional-statistical-logistic regression</em></strong> calculation(as discussed and agreed with local fintech startup) with machine learning tree-based approach(boosting) to get a final(but more transparent and interpretable) score that puts the potential client in a credit score bracket.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56fe9fbd5d38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Credit Risks Scoring Using ML-Part 1]]></title>
            <link>https://medium.com/@AfamO/credit-risks-scoring-using-ml-part-1-f01f35cf5ef5?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f01f35cf5ef5</guid>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[credit-risk-assessment]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Fri, 21 Apr 2023 08:53:06 GMT</pubDate>
            <atom:updated>2023-04-21T08:53:06.308Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Credit Risks Scoring Using ML-Part 1</strong></p><p><strong><em>Abstract</em></strong></p><p>A lot of fintech and financial institutions have recently risen up to the challenge of financial inclusion in Nigeria via innovative products especially credit access. However as with every innovative product, there are risks with given credit access and existing solutions to resolving this risk are far from adequate. Sometimes it’s tedious, error prone and manual. In this work we present and validate not just the traditional linear based approaches but propose a machine learning solution to more accurately and holistically assess an applicant&#39;s ’s ability to repay borrowed loan. In particular we propose a tree-based approach to augment and enhance traditional methods.</p><p><strong><em>Introduction/Identify/Define Problem:</em></strong></p><p><strong><em>Cost resulting from risks is one of the most important aspects in the overall cost measurements of financial institutions(especially banks,fintechs). Thus, even a little increment in credit risk modeling can translate into substantial and impactful cost reductions and savings </em>. </strong>Moreover, Digital banking and fintechs in particular have recently brought not just unprecedented benefits but lots of innovations to traditional African and Nigerian financial ecosystems allowing people to stay at the comfort of their homes and use their innovative products such as digital payments, credit access,etc. They have risen to the challenge of meeting not just the financial inclusion policy of the Central Bank of Nigeria (CBN) but also the low access to credit problem-4 out of 10 MSMES(Guardian Newspaper,2021) that had been plaguing the country. However these laudable disruptive innovations have on the other hand brought lots of risks such as inability to properly profile the customers, gain deeper insights and make data driven decisions regarding borrower’s creditworthiness. Though there are existing solutions which often rely on manually but tedious and error prone data-mining techniques, or relying on traditional (The Fair, Isaac Corporation)FICO based model to credit scoring, but research has shown that they are grossly inadequate and have low predictive power among other reasons they-according to DeepSenses.AI(2021)- focus mainly on linear relationships (often making use of logistic regression which understandably helps interpretability). Moreover these legacy systems don’t rely on non linear data, such as big data and social media behavioral patterns of potential borrowers to further gain more predictive insights.</p><p><strong>ML Types and Algorthms:</strong></p><p>I used Supervised machine learning specifically multi-class classification. This is simply due to 3 different scores levels/labels/classes for any prediction(as found in my datasets): They are <strong>good, bad or standard </strong>classes. Specifically I explored Logistics Regression on one hand and on the other hand tree based algorithms such as Decision Trees and HistGradientBoosting classifier, other ensemble methods such as Random Forest and Extremely Randomized Trees. Finally I compared the results of the 4 tree based algorithms to select the best using the appropriate confusion matrix based matrices such as f-score, recall, etc.</p><p><strong>End of part 1</strong></p><p><strong>To be continued……</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f01f35cf5ef5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOME TOP DATA SCIENCE TOOLS AND RESEARCH AREAS]]></title>
            <link>https://medium.com/@AfamO/some-top-data-science-tools-and-research-areas-2f543f36a523?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f543f36a523</guid>
            <category><![CDATA[kaggle]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[tensorflow]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Mon, 16 Jan 2023 15:53:02 GMT</pubDate>
            <atom:updated>2023-01-16T15:53:02.508Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>ABSTRACT</strong></p><p>To encourage both industry practitioners and academics, I present some top data science tools widely used in the industry and some research areas for academics and prospective PhD students to further explore. Data Science -which combines the methods of Computer Science,Statistics and Mathematics to systematically gain meaningful insights from data is certainly- a new field. However it has made huge success lately, with lots of tools in its arsenal. This work tries to highlight some of the top ones. It also tries to highlight some research areas. The goal is to simultaneously equip both the prospective professionals with little experience or/and time, mid and senior level professionals in the industry and academics with the needed tools for advancing the field of Data Science.</p><p><strong>INTRODUCTION</strong></p><p>As mentioned in the abstract, Data Science systematically collects, preprocesses, analyses, finds correlations,draws inferences and insights from a wide range of data. The goal is certainly to add value , especially making it easier for business leaders and other stakeholders to make predictions and informed decisions, develop new products and apply these insights in a wide array of industries such as Health, Business, Industrial Automations, Finance, Aviation, etc.</p><p>In the process of doing this, there is an absolute need for robust and efficient tools to be developed and made known in order to facilitate the work of Data Scientists. And in truth a lot of these tools are already available but may not be equally known by new, average or intending Data Scientists. This work intends to highlight some of the top ones .The average business leader such as Chief Executive Officer or aspiring startup founder can find this guide -especially the tools for automating Machine Learning tasks- useful for validating his/her ideas and for faster prototyping.</p><p>Also while doing Data Science,some challenging and not-sufficiently explored research areas have emerged over the years, prospective researchers are encouraged to take them up .This work in addition plans to highlight some of these <strong>research areas.</strong></p><p>Due to space constraints, I will not highlight all the top tools and research areas, but only some of them. Furthermore, for the same reason-space constraint- I will not give lots of details but only highlights while encouraging the interested reader to further explore them.</p><p>This paper will be making extensive reference to the 2021 and 2022 survey results of the Kaggle Community called <strong><em>State of Machine Learning and Data Science Report 2021 and 2022 </em></strong>. It will also be making reference to 2020’s Harvard Data Science Review(HDSR)’s published journal <strong><em>10 Research Challenge Areas in Data Science by Jeanette M. Wing</em>. </strong>The same journal was also published by Columbia’s University in 2019. It is important to note that a good number of works have been done in addressing some of the challenge areas, but certainly not all.</p><p><strong>SOME TOP TOOLS OF DATA SCIENCE</strong></p><p>It would be good to clarify the term “tools” in this case, though python, SQL and R programming languages are certainly the first of the top tools, with python leading according to the two successive surveys. However in this paper, I will take for granted that the reader is already aware of them. Hence I will highlight the lesser known but nevertheless top tools, frameworks, libraries and others. I will also not mention others like pandas, numpy, for the similar reason-they are usually mentioned in introductory Data Science/ Python Programming courses..</p><ol><li><strong>Scikit-Learn: </strong>Just like 2020 and 2021, the two previous years, this library was the top with at least 80% of data scientists using it according to Kaggle(2022). This simple and efficient tool for predictive data analysis, built on NumPy, Scipy and Matplotlib is used for classifications,regressions and clustering algorithms. It’s also useful for Model Selection, Dimensionality Reduction and Pre-processing. For more information and getting started, visit <a href="https://scikit-learn.org/stable/index.html">scikit-learn: machine learning in Python — scikit-learn 1.1.2 documentation</a></li><li><strong>Tensor FrameWork:</strong> In 2021, Kaggle certainly affirmed this as a leader in terms of Data Science frameworks, second only to Scikit-learn. Developed by Google, this free and open source-software python framework is used for Deep Learning. You can use pre-trained models or alternatively train your own. It’s very helpful not only for training models but also for preparing data, deploying models and implementing MLOps(a kind of DevOps for ML and running models in production). You can also run it on a device(android, iOS) as well as a browser. For more information, and getting started visit <a href="https://www.tensorflow.org/">TensorFlow</a>.</li><li><strong>Keras: </strong>This was slightly behind TensorFlow in the 2021 report. A simplified and high-level and deep learning Application Programming Interface (API),used to implement neural networks, written in python and is good for rapid prototyping and experimentation, provides user friendly interface and is beginner friendly. Developed also by Google and can be integrated with TensorFlow. It’s easier to learn due to its modularity. Used by Uber, Netflix, Square, etc. For more information and getting started visit <a href="https://keras.io/">https://keras.io/</a>.</li><li><strong>Pytorch: </strong>As of last year, this continues to grow year-over-year. This is also an open source machine learning framework that “accelerates the path from research prototyping to production deployment” according to its website. Developed by Meta(formerly Facebook).This is very good for research and fast prototyping. Loved by researchers. In fact a recent study-<a href="https://paperswithcode.com/trends">https://paperswithcode.com/trends</a> (2022)- attests that 58% of research papers that contain codes use Pytorch. It features scalable and distributed training of models, extensive ecosystem of tools and libraries and great cloud support: AWS, GCP and Microsoft Azure. Visit <a href="https://pytorch.org/">https://pytorch.org/</a> to learn more and get started.</li><li><strong>Google AutoML: </strong>Among automated machine learning frameworks, this is the leader as of 2021 report. Developed by Google. According to <a href="https://cloud.google.com/automl">https://cloud.google.com/automl</a> (2022), “AutoML enables developers with limited machine learning expertise to train high-quality models specific to their business needs. Build your own custom machine learning model in minutes”. Professionals with little expertise in machine learning can also use it. Go to <a href="https://cloud.google.com/automl">https://cloud.google.com/automl</a> to learn more and for getting started. Among closest competitors in this category and from the FANG big tech family, there is Azure Automated Machine Learning and Amazon SageMaker Autopilot, these two come respectively in second and third positions. The leader can find more information about them.</li><li><strong>Other Top Automated ML frameworks :</strong> With the exception of FANG, there are also H2O Driverless AI,Databricks Auto ML,DataRobot ML which are ranked in that order-as of 2021- in terms of popularity and user adoptions.</li><li><strong>Other Tools: </strong>In 2022: Colab was the leading notebook, VSCode grew in adoption-used by over 50% of working data scientists, while Transformer architecture gained in popularity for deep learning models. In 2021: As regards databases products and enterprise Big Data, MySQL,PostgreSQL and Microsoft SQL Server were at the top and in that order. Just like previous year, the most commonly used algorithms and methods were: Linear and Logistic regression, followed by Decision Tree and Random Forests. Once again, due to space constraints, it will not be possible to give details about these tools or even highlight all for instance there are other Data Engineering tools such as Hadoop, MapReduce, etc.</li></ol><p><strong>SOME RESEARCH AREAS OF DATA SCIENCE</strong></p><ol><li><strong>Is Data Science a Discipline</strong>: It’s certainly a field but is it a Discipline?This debate is still ongoing. Typically every Discipline has an underlying object or deep motivation driving its research. For example, Computer is what is computerable, Biology- what’s the origin of life,</li><li><strong>Scientific understanding of learning, especially deep learning algorithms: </strong>We still lack scientific understanding of how deep learning works so well, produces one result and not the other, nor its mathematical properties of its model.</li><li><strong>Video Analytics: </strong>It’s easy to analyze and draw insights from textual and image data, but what of videos? How can data scientists let companies discover a customer’s need from the videos he/she shares?</li><li><strong>Privacy Concerns/Biases/Noise: </strong>Typically lots of data sets mean more accuracy in model predictions, but this raises ethical concerns regarding how the data are collected and more so conclusions are drawn from the data- I mean are they bias proof? What of Noise? According to Joab (2020), a data smoothing approach involves using an algorithm to eliminate noise from the data set. However a lot of work still needs to be done in this area.</li><li><strong>Causal Reasoning: </strong>Beyond just finding correlations and patterns among variables, what of causal inferences? “Data scientists are just beginning to explore multiple causal inference, not just to overcome some of the strong assumptions of univariate causal inference, but because most real-world observations are due to multiple factors that interact with each other” Jeannette(2020) quoting Wang &amp; Blei(2018)</li><li><strong>Highly-Priced Data.: </strong>Some datasets are very valuable due to the fact that they contain rare events, are expensive to collect, etc. “For each of these different kinds of costly/rare data, we need new data science methods and algorithms, taking into consideration the domain and intended uses of the data.” Jeanette(2020).</li><li>Others include-but are not limited to- <em>Multiple Heterogeneous sources of data,</em> <em>Energy-Efficient Computing systems for data-intensive applications</em></li></ol><p><strong>CONCLUSION</strong></p><p>Data Science, though a new field, has made unprecedented progress in the last few years with lots of tools in its disposal to help professionals, industrial practitioners and researchers seamlessly carry out their work of systematically uncovering insights from data, so as to add desirable values to varieties of industries and use cases. However since those tools are enormous, this 4 page work has tried to highlight some of the key ones based on Kaggle’s 2021 and 2022 survey, especially highlighting frameworks and tools such as Scikit-Learn, TensorFlow, Keras, AutoML,Colab MySQL, PostgreSQL.</p><p>The work also ended by briefly mentioning some research areas for an interested researcher to look into so as to aid the advance of this novel and interest field.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f543f36a523" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Finance?]]></title>
            <link>https://medium.com/obico/what-is-finance-9b10bdf8aeed?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b10bdf8aeed</guid>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[investment]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[financial-consultation]]></category>
            <category><![CDATA[banking-advice]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Fri, 30 Dec 2016 09:37:52 GMT</pubDate>
            <atom:updated>2016-12-30T09:37:52.872Z</atom:updated>
            <content:encoded><![CDATA[<p>A:<br>“Finance” is a broad term that describes two related activities: the study of how money is managed and the actual process of acquiring needed funds. Because individuals, businesses and government entities all need funding to operate, the field is often separated into three sub-categories: personal finance, corporate finance and public finance.<br>All three categories are concerned with activities such as pursuing sound investments, obtaining low-cost credit, allocating funds for liabilities, and banking. Yet each has its own specific considerations. For example, individuals need to provision for retirement expenses, which means investing enough money during their working years and ensuring that their asset allocation fits their long-term plans. A large company, on the other hand, may have to decide whether to raise additional funds through a bond issue or stock offering. Investment banks may advise the firm on such considerations and help them market the securities.</p><p>Source: <a href="http://www.investopedia.com/ask/answers/12/finance.asp">http://www.investopedia.com/ask/answers/12/finance.asp</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b10bdf8aeed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/obico/what-is-finance-9b10bdf8aeed">What Is Finance?</a> was originally published in <a href="https://medium.com/obico">Obico</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Contact Me]]></title>
            <link>https://medium.com/obico/contact-me-f1c472fcdc1?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1c472fcdc1</guid>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Fri, 30 Dec 2016 09:34:43 GMT</pubDate>
            <atom:updated>2016-12-30T09:34:43.758Z</atom:updated>
            <content:encoded><![CDATA[<p>You can contact me at obicok@gmail.com</p><p>Phone: 2348033569687</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1c472fcdc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/obico/contact-me-f1c472fcdc1">Contact Me</a> was originally published in <a href="https://medium.com/obico">Obico</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About Me]]></title>
            <link>https://medium.com/obico/about-me-51b4cdbbf910?source=rss-178d714aa6d4------2</link>
            <guid isPermaLink="false">https://medium.com/p/51b4cdbbf910</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[investment-banking]]></category>
            <category><![CDATA[obiora-okonkwo]]></category>
            <category><![CDATA[banking]]></category>
            <category><![CDATA[financial-consultancy]]></category>
            <dc:creator><![CDATA[Okonkwo Afam]]></dc:creator>
            <pubDate>Fri, 30 Dec 2016 09:31:25 GMT</pubDate>
            <atom:updated>2016-12-30T09:31:25.923Z</atom:updated>
            <content:encoded><![CDATA[<p>I am a financial expert with many years of <em>banking experience</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51b4cdbbf910" width="1" height="1" alt=""><hr><p><a href="https://medium.com/obico/about-me-51b4cdbbf910">About Me</a> was originally published in <a href="https://medium.com/obico">Obico</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>