<?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 Juhi Pandey on Medium]]></title>
        <description><![CDATA[Stories by Juhi Pandey on Medium]]></description>
        <link>https://medium.com/@juhipandey4?source=rss-5c08b709d354------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JpiKQRuUVhxtsdF_sRmSNQ.png</url>
            <title>Stories by Juhi Pandey on Medium</title>
            <link>https://medium.com/@juhipandey4?source=rss-5c08b709d354------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:21:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@juhipandey4/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[The Rise of Federated Learning in a Post-COVID World| Understanding its Significance]]></title>
            <link>https://medium.com/@juhipandey4/the-rise-of-federated-learning-in-a-post-covid-world-understanding-its-significance-4e208f721c90?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e208f721c90</guid>
            <category><![CDATA[centralization]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[federated-learning]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Sat, 29 Jun 2024 13:33:13 GMT</pubDate>
            <atom:updated>2024-06-30T16:53:18.725Z</atom:updated>
            <content:encoded><![CDATA[<p>Federated Learning is gaining prominence, particularly influenced by the pandemic, which increased dependence on devices due to social distancing, lockdown measures, restricted mobility, and accessibility challenges. Its impact is most profound in healthcare, where sensitive individual data is abundant. With the ease of deploying IoT sensor devices, Federated Learning systems have significantly contributed to health monitoring and discovering new trends, patterns, and anomalies in human body data. These intelligent IoT devices in Federated Learning architectures can promptly notify users of changes in health conditions or adverse environmental factors affecting health.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WA265CV8o5-iLq4N_QMZFg.jpeg" /></figure><h3><strong>Overview</strong></h3><p>Federated learning allows multiple edge devices, such as smart watches , smartphones or IoT devices, to collaboratively learn a shared prediction model while keeping their data decentralized. This is achieved through a series of steps:</p><ul><li><strong>Initialization</strong>: A global model is initialized.</li><li><strong>Local Training</strong>: Each device performs local training on its own data.</li><li><strong>Model Aggregation</strong>: The updated models from each device are aggregated to form a global model.</li><li><strong>Iterative Refinement</strong>: The global model is refined iteratively as devices continue to train locally.</li></ul><h3><strong>Applications</strong></h3><p>Federated learning is particularly useful in scenarios such as:</p><ul><li><strong>Healthcare</strong>: Training models using data from hospitals without sharing patient records.</li><li><strong>IoT Networks</strong>: Enhancing models based on data from distributed IoT devices.</li><li><strong>Finance</strong>: Analyzing transaction data across different banks while preserving privacy.</li></ul><h3><strong>Workflow</strong></h3><ul><li><strong>Data Distribution</strong>: Data remains on local devices, ensuring privacy.</li><li><strong>Model Training</strong>: Devices train local models using their data.</li><li><strong>Model Aggregation</strong>: Aggregated models are computed without sharing raw data.</li><li><strong>Model Deployment</strong>: Final model updates are deployed to devices for inference.</li></ul><p><strong><em>Code Examples</em></strong></p><p><strong><em>Regression Example: Predicting Heart Rate</em></strong></p><p>This FL setup is using simulated heart rate data from three devices (smart watches). It employs LinearRegression from scikit-learn for regression tasks. Initially, features (e.g., age) and corresponding simulated heart rates (y_device1, y_device2, y_device3) are generated for each device (X_device1, X_device2, X_device3).</p><p>Local regression models (model_device1, model_device2, model_device3) are trained independently on each device’s data using the train_local_model function. The secure_aggregation function averages the coefficients and intercepts of these models to update the global model (global_model).</p><p>Finally, the global model makes predictions (y_pred) for a new input (X_new).</p><pre># Import necessary libraries<br>import numpy as np<br>from sklearn.linear_model import LinearRegression<br><br># Simulated heart rate data for three devices (smart watches)<br>X_device1 = np.random.rand(50, 1) * 10  # Features (e.g., age) for device 1<br>y_device1 = 60 + 10 * np.random.randn(50, 1)  # Simulated heart rate for device 1<br><br>X_device2 = np.random.rand(50, 1) * 10  # Features (e.g., age) for device 2<br>y_device2 = 65 + 8 * np.random.randn(50, 1)  # Simulated heart rate for device 2<br><br>X_device3 = np.random.rand(50, 1) * 10  # Features (e.g., age) for device 3<br>y_device3 = 70 + 12 * np.random.randn(50, 1)  # Simulated heart rate for device 3<br><br># Model initialization (global model)<br>global_model = LinearRegression()<br><br># Federated learning: Model training on each device<br>def train_local_model(X, y):<br>    model = LinearRegression()<br>    model.fit(X, y)<br>    return model<br><br>model_device1 = train_local_model(X_device1, y_device1)<br>model_device2 = train_local_model(X_device2, y_device2)<br>model_device3 = train_local_model(X_device3, y_device3)<br><br># Secure aggregation (average models)<br>def secure_aggregation(models):<br>    global_coefs = np.mean([model.coef_ for model in models], axis=0)<br>    global_intercept = np.mean([model.intercept_ for model in models])<br>    global_model.coef_ = global_coefs<br>    global_model.intercept_ = global_intercept<br><br># Aggregate local models<br>secure_aggregation([model_device1, model_device2, model_device3])<br><br># Example prediction<br>X_new = np.array([[5.0]])  # Example prediction input<br>y_pred = global_model.predict(X_new)<br>print(&quot;Predicted heart rate:&quot;, y_pred[0])<br>&gt;&gt;Predicted heart rate: [64.74424685]</pre><p><strong><em>Classification Example: Categorizing Health Risk</em></strong></p><p>This FL setup is using simulated heart rate data from three devices (smart watches). It utilizes RandomForestClassifier from scikit-learn for classification tasks. First, each device’s data (X_device1, y_device1, etc.) is generated using make_classification.</p><p>Local models (model_device1, model_device2, model_device3) are trained independently on each device. A secure_aggregation function averages the feature importances of these models. The aggregated feature importances are then used to initialize and train a global model (global_model) on combined data (X_train, y_train).</p><p>Finally, the global model makes predictions (y_pred) on new data (X_new).</p><pre># Import necessary libraries<br>import numpy as np<br>from sklearn.datasets import make_classification<br>from sklearn.ensemble import RandomForestClassifier<br><br># Simulated heart rate data for three devices (smart watches)<br>X_device1, y_device1 = make_classification(n_samples=50, n_features=10, random_state=42)<br>X_device2, y_device2 = make_classification(n_samples=50, n_features=10, random_state=10)<br>X_device3, y_device3 = make_classification(n_samples=50, n_features=10, random_state=23)<br><br># Federated learning: Model training on each device<br>def train_local_model(X, y):<br>    model = RandomForestClassifier(random_state=42)<br>    model.fit(X, y)<br>    return model<br><br>model_device1 = train_local_model(X_device1, y_device1)<br>model_device2 = train_local_model(X_device2, y_device2)<br>model_device3 = train_local_model(X_device3, y_device3)<br><br># Aggregate local models (example of aggregation)<br>def secure_aggregation(models):<br>    # Aggregate model parameters or metrics<br>    # Here, we can average feature importances as an example<br>    avg_feature_importances = np.mean([model.feature_importances_ for model in models], axis=0)<br>    return avg_feature_importances<br><br># Secure aggregation of model parameters or metrics<br>avg_feature_importances = secure_aggregation([model_device1, model_device2, model_device3])<br>print(&quot;Average Feature Importances:&quot;, avg_feature_importances)<br><br># Example prediction with global model (here we retrain the model on aggregated data)<br>X_train = np.concatenate((X_device1, X_device2, X_device3))<br>y_train = np.concatenate((y_device1, y_device2, y_device3))<br><br># Initialize global model<br>global_model = RandomForestClassifier(random_state=42)<br><br># Fit the global model with aggregated data<br>global_model.fit(X_train, y_train)<br><br># Example prediction<br>X_new = np.random.rand(1, 10)  # Example prediction input<br>y_pred = global_model.predict(X_new)<br>print(&quot;Predicted class:&quot;, y_pred[0])<br>&gt;&gt;&gt;Average Feature Importances: [0.02031794 0.08218004 0.13078678 0.13443017 0.01779321 0.29887527<br>&gt;&gt;&gt;0.03418578 0.02396728 0.14178681 0.11567672]<br>&gt;&gt;&gt;Predicted class: 1</pre><p>These examples demonstrate how federated learning can be applied to both regression (predicting continuous heart rate) and classification (categorizing heart rate into health categories) tasks using simulated data from multiple smart watches. Adjustments can be made based on specific data characteristics and requirements.</p><p>For those interested in exploring the implementations discussed in this post, you can find the complete Python code on my GitHub repository:</p><p><a href="https://github.com/JuhiPandey/Federated-Learning-/tree/main">GitHub - JuhiPandey/Federated-Learning-</a></p><p>I’ve aimed to keep the explanations simple and accessible, ensuring that everyone can grasp the fundamentals of federated learning.Stay tuned for more in-depth posts where I’ll delve deeper into advanced concepts and practical applications.</p><p>Feel free to dive into the code to see how federated learning models are trained across distributed devices and aggregated securely for global model updates.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e208f721c90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Balancing Nature and Technology: Integrating Indigenous Knowledge in AI Sustainability]]></title>
            <link>https://medium.com/@juhipandey4/balancing-nature-and-technology-integrating-indigenous-knowledge-in-ai-sustainability-c082008578a9?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/c082008578a9</guid>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[sustainable-farming]]></category>
            <category><![CDATA[indigenous]]></category>
            <category><![CDATA[ethical-ai]]></category>
            <category><![CDATA[sustainable-ai]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Tue, 01 Aug 2023 12:17:53 GMT</pubDate>
            <atom:updated>2023-08-01T12:17:53.439Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to building a sustainable future, one invaluable resource lies in the wisdom of Indigenous communities. Indigenous knowledge is the collective wisdom passed down through generations, enriched with a deep understanding of the natural world and its delicate balance. Integrating Indigenous knowledge into AI development can offer unique perspectives, ethical considerations, and sustainable solutions that benefit both humanity and the environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y99gg8HPhvpkQbgR.jpg" /></figure><p>This knowledge often centers on a holistic understanding of nature, acknowledging the interconnectedness of all living beings and the environment. Unlike conventional AI, which focuses on specific tasks, incorporating Indigenous perspectives can lead to AI systems that consider the broader implications of their actions on ecosystems and communities. By embracing this approach, AI can be designed to support sustainable practices that respect the delicate balance of the Earth.</p><p>For those who may not be familiar with Indigenous Knowledge, it consists of centuries of accumulated wisdom and practice that prioritize harmony with nature.</p><p>Here are few examples-</p><p><strong>Sustainable Agriculture</strong>: Indigenous communities have developed sophisticated agricultural practices that emphasize harmony with nature. For instance, some Indigenous groups practice polyculture, which involves growing multiple crops together in a way that complements and sustains the soil’s fertility, reduces pests, and conserves water resources.</p><p><strong>Rainwater Harvesting</strong>: It is an ancient practice that has its roots in Indigenous knowledge and traditional wisdom. Indigenous communities across different regions of the world have been practicing rainwater harvesting for centuries as a sustainable method of water management. They observed the natural cycle of rain and understood the importance of capturing and storing rainwater for various purposes, including drinking water, irrigation, and livestock needs.</p><p><strong>Environmental Stewardship</strong>: Indigenous communities have <strong>a</strong> <strong>longstanding</strong> <strong>relationship</strong> <strong>with</strong> their ancestral lands and <strong>have</strong> a <strong>deep</strong> respect for the environment. Their traditional knowledge often includes sustainable land management techniques, such as controlled burning to prevent wildfires and promote healthy ecosystems.</p><p><em>By combining traditional agricultural practices with advanced AI technologies, farmers can optimize resource usage, increase yields, and promote ecological balance.</em></p><p>For example -</p><ol><li><strong>Precision Agriculture:</strong> Where AI can analyze data from soil sensors, weather forecasts, and historical farming practices to create precision agriculture techniques. By applying the right amount of water, fertilizers, and pesticides precisely where and when they are needed, farmers can reduce waste, minimize environmental impact, and improve crop yields.</li><li><strong>Organic Farming and Soil Health</strong>: Indigenous knowledge often includes traditional organic farming practices that prioritize soil health and fertility. AI can analyze soil data, recommend organic soil enrichment techniques, and support the transition to sustainable and regenerative farming practices.</li></ol><p><em>By integrating Indigenous knowledge with AI technologies, we can enhance our understanding of ecological systems, promote sustainable practices, and preserve biodiversity and can manage the environment effectively.</em></p><p>For example -</p><ol><li>AI can analyze historical indigenous knowledge related to disasters and combine it with real-time data to predict and prepare for potential hazards. This allows for better disaster response and better planning to protect communities and ecosystems.</li><li>Ecosystem Restoration: Integrating Indigenous knowledge of traditional land management practices with AI can aid in ecological restoration projects. AI can analyze historical data, identify native species, and predict suitable areas for reforestation and habitat restoration, contributing to ecosystem rehabilitation.</li></ol><p>Now a days <strong>the</strong> <strong>search</strong> for ethical applications has become <strong>essential.</strong></p><p><em>Ethical AI applications can work wonders with the integration of Indigenous knowledge by promoting inclusive and culturally sensitive solutions.</em></p><p>Indigenous wisdom emphasizes respect for diverse worldviews, ecological awareness, and social justice principles, which can guide AI algorithms to avoid biases, prioritize sustainability, and address societal disparities. By infusing AI with Indigenous insights, we can create transformative applications that protect privacy, respect data sovereignty, and foster equitable outcomes, paving the way for a brighter and more harmonious future for all of humanity.</p><h3>AI in the Court of Law</h3><p>Many Indigenous cultures advocate for social justice and reducing inequalities. By integrating these values into AI ethics, we can create applications that identify and address societal disparities, leading to more equitable access to resources and opportunities. UNESCO<strong> adopted the UNESCO Recommendation on the Ethics of Artificial Intelligence.</strong></p><h3><strong>Cultural Sensitivity</strong></h3><p>Indigenous knowledge emphasizes cultural sensitivity and respect for diverse worldviews. By integrating this wisdom into AI algorithms, we can avoid biases and ensure that AI applications are inclusive and respectful of different cultures and communities.</p><p>Final thoughts……</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*yGGJM1RtJo02BScIQImK-Q.png" /></figure><p><strong><em>Using the wisdom from Indigenous communities can help make AI better. By combining their knowledge with AI technology, we can create fair and inclusive solutions. Indigenous knowledge about the environment, weather, and traditional practices can help AI find solutions for protecting nature, sustainable farming, and dealing with disasters. This mix of advanced technology and traditional wisdom can lead to AI that respects our diverse cultures, takes care of the environment, and makes life better for everyone.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c082008578a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SR CNN - Taking the error out of business]]></title>
            <link>https://medium.com/@juhipandey4/sr-cnn-taking-the-error-out-of-business-a8b3cfa54835?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8b3cfa54835</guid>
            <category><![CDATA[cnn]]></category>
            <category><![CDATA[spectral-residual]]></category>
            <category><![CDATA[srcnn]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[anomaly-detection]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Mon, 19 Jul 2021 09:26:27 GMT</pubDate>
            <atom:updated>2021-07-19T09:26:27.068Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*9cZT01t2nLzQ9haQSz85rQ.png" /><figcaption>Source: Google</figcaption></figure><p>Imagine an organization that makes effective use of its data by monitoring its ebbs and flows in its data KPI and metrics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mqPUILKarV_U6OR_IbSWDg.png" /><figcaption>Source:Google</figcaption></figure><p>​Imagine an organization that is able to detect deviations in its data (called anomalies) catch these anomalies in time and detect and rectify the underlying reasons for such anomalies​</p><p>What kind of architecture and algorithms would you need to have such an effective anomaly detection mechanism in the organization?</p><blockquote>For example -in Devops identifying anomalies means-</blockquote><blockquote>•Detecting anomalies in logs</blockquote><blockquote>•Detecting anomalies in metrics</blockquote><blockquote>•Monitoring “unknown unknowns”</blockquote><blockquote>•Detecting anomalies across data types</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*G0fiKFKzjHxRGaTxQagMRg.png" /></figure><h4><strong><em>“You are basically asking the machine to decide what doesn’t look “normal” by finding patterns or clusters within the data”</em></strong></h4><p>Accurate anomaly detection leads to prompt troubleshooting, which helps to avoid revenue loss and maintain brand reputation. Anomaly detection is also capable of handling rapidly changing data by monitoring and analyzing data patterns leading to lower chances of lack of detection of adverse incidents.</p><p>Anomalies can serve as points of investigation for change in market behavior. It will help marketers to identify key changes within volume and revenue and compare them to past trends. are three kinds of anomalies — point, contextual, collective.</p><p>Anomaly detection algorithms mostly tend to be two types -machine learning and statistical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YjdoOoJb2QYHpOolZdLgmw.png" /><figcaption>Source : Google</figcaption></figure><p>However, these approaches are either too time-consuming or parameter-dependent. As a result, we want to create a more competitive unsupervised technique that prioritizes accuracy, efficiency, and generality at the same time.</p><p><strong>Anomaly Detection Challenges</strong></p><blockquote>Lack of Labels</blockquote><blockquote>Generalization</blockquote><blockquote>Efficiency</blockquote><p>To tackle the aforementioned problems, our goal is to develop an anomaly detection approach that is accurate, efficient, and general.</p><p>Here come SR-CNN, that</p><ul><li>Borrows the Spectral Residual model from the visual saliency detection domain to anomaly detection application. It is an efficient unsupervised algorithm, which demonstrates outstanding performance and robustness in the visual saliency detection tasks</li></ul><p><em>The </em><strong><em>spectral residual </em></strong><em>algorithm consists of three major steps:</em></p><ul><li>Fourier Transform to get the log amplitude spectrum</li><li>Calculation of spectral residual</li><li>Inverse Fourier Transform that transforms the sequence back to the spatial domain</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPdqf7VA0uBMKKM1QUgyHA.png" /><figcaption>Source: Google</figcaption></figure><ul><li>And then trains CNN through automatically generated anomalies and achieves significant performance enhancement over the original SR model. Because the anomalies used for CNN training is fully synthetic, the SR-CNN approach remains unsupervised and establishes a new state-of-the-art performance when no manually labeled data is available.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*cj7RjDaQQpsoov22ntd7Xg.png" /><figcaption>Source : Google</figcaption></figure><blockquote>For Azure Anomaly Detector API different algorithms used are — Fourier Transformation, Extreme Studentized Deviate (ESD), STL Decomposition , Dynamic Threshold, Z-score detector (statistical) and <a href="https://techcommunity.microsoft.com/t5/AI-Customer-Engineering-Team/Overview-of-SR-CNN-algorithm-in-Azure-Anomaly-Detector/ba-p/982798">SR-CNN</a></blockquote><p>In PowerBI software anomaly detection SR-CNN algorithm has been introduced as a preview. We, therefore, chose this algorithm because it is a cutting-edge algorithm for helping a business problem of anomaly detection.</p><p><strong>Benefits of SR CNN</strong></p><p>SR is unsupervised, efficient, and has good generality.</p><ul><li>The problem becomes much easier based on the output of the SR model.</li><li>We can train CNN on the SR output using fully synthetic data with simple synthetic rules.</li></ul><p>References:</p><p><a href="https://arxiv.org/abs/1906.03821">https://arxiv.org/abs/1906.03821</a></p><p><a href="https://github.com/microsoft/anomalydetector">https://github.com/microsoft/anomalydetector</a></p><p><a href="https://techcommunity.microsoft.com/t5/ai-customer-engineering-team/overview-of-sr-cnn-algorithm-in-azure-anomaly-detector/ba-p/982798">https://techcommunity.microsoft.com/t5/ai-customer-engineering-team/overview-of-sr-cnn-algorithm-in-azure-anomaly-detector/ba-p/982798</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8b3cfa54835" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Churn is similar to Gravity!]]></title>
            <link>https://medium.com/@juhipandey4/churn-is-similar-to-gravity-f7243426e2da?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7243426e2da</guid>
            <category><![CDATA[customer-attrition]]></category>
            <category><![CDATA[churn]]></category>
            <category><![CDATA[customer-behavior]]></category>
            <category><![CDATA[churn-prediction]]></category>
            <category><![CDATA[attrition-rate]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Mon, 19 Jul 2021 08:45:34 GMT</pubDate>
            <atom:updated>2021-07-19T10:23:13.635Z</atom:updated>
            <content:encoded><![CDATA[<h3>“When something rises, you must battle hard to keep it from falling”</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Z7-Z3WOzuc_fCOiAzKHAdQ.jpeg" /><figcaption>Source: Google</figcaption></figure><blockquote>Remember how your cutstomers used to stick with you through thick and thin, as well as the occasional steak dinner or sporting event? Those days are long gone. Every day, you’re earning your customer’s continuous loyalty.</blockquote><p>“Which of my customers are at risk?” is one of today’s critical issues for business leaders.</p><p>This question came up to me from the business, and here’s what happened next:</p><p><strong>What was the dilemma?</strong></p><ul><li>The business used to define churning customers as any customer who experienced a year-over-year decline in the time period being measured, even if it was merely a single-digit KPI value decline.</li><li>They were keeping track of their churn rate over time and were creating churn reduction goals.</li></ul><p><strong>Obstacles to overcome-</strong></p><ul><li>Because the current definition was ambiguous, it did not take into account prior or expected behavior when determining whether a business was “churning.” ​</li><li>The customer was likely to overlook classifying fragments of customers as “churners,” which causes confusion in the quantification of churn and makes it difficult to determine whether the organization’s churning alleviation efforts are having a significant impact on overall churning.</li></ul><p><strong>The request was​</strong></p><ul><li><strong>How can they enhance the process for identifying and quantifying churn?</strong></li></ul><p><strong>Message from Business</strong></p><ul><li>We want to redefine churn by developing a model that takes into account both genuine and predicted churn. This way, we can distinguish between customers who have genuinely churned and those who are experiencing expected KPI changes. This will allow us to better understand the impact of churn on the business, as well as our progress in reducing churn.</li><li>The model will also emphasize the necessity of educating other marketing initiatives, as one of the model’s outputs will be behavioral clustering, which can be used for focusing on goals and gaining deeper insights into performance determinants.</li></ul><p><strong>Proposed Methodology</strong>​</p><p>The proposed methodology takes earlier purchasing trends and behavior into account when recognizing “churning” customers and considers following other important factors as well-</p><ul><li>Bussiness must first bucket customers based on their prior purchase behavioral patterns and likely future value in order to better measure churn. This will enable businesses to compare current purchasing trends to what they should expect based on customer&#39;s behavioral categories.</li><li>Requires an RFM model (Recency, Frequency, Monetary Value), and LTV (Lifetime Value) model, and other variables.​</li><li>What constitutes churn in one group of customers may differ from what constitutes churn in another.</li><li>A customer who “bubbles” in and out of volume, for example, will have different requirements for being classified as a churner than a customer with a history of consistent volume and high LTV. ​</li><li>The methodology will narrow down which decliners are genuinely churning, the churn % should provide a clearer picture of how churn mitigation efforts are affecting overall churn.</li></ul><p><strong><em>Are you curious as to what we did?</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/1*Weq0iGIhQvZ_fKcM37u2zA.jpeg" /><figcaption>Source: Google</figcaption></figure><p>We realized that churn prevention isn’t the only factor that determines a customer’s entire potential worth.</p><h3>We began by precisely classifying customers and identifying important churn habits, and then proceeded to the following steps:</h3><p>1.Additional research on business approach was conducted, which assisted in the classification of customers into different buckets.</p><p>2.Define the category of Churn Reasons.</p><p>3.Through data, identify non-controllable KPI shifts.</p><p>4.Engage Sales to Get High-Value Insights.</p><p>Redefining churn starts with precisely classifying customers and identifying relevant churn behaviors, with churn pull-down categories focusing on a few high-level buckets to show controllable vs. non-controllable factors.</p><blockquote>Our suggested AI model attempts to reliably and efficiently capture all distinct consumer behaviors, as well as trends in revenue, volume, recency, frequency, and other critical feature distributions.</blockquote><p>These clusters will allow us to compare current purchasing trends to what is projected based on their behavior category.</p><ul><li><strong><em>We started with A Pattern Diagnostic Tool that -</em></strong></li></ul><blockquote><em>1. Examins data at the monthly level</em></blockquote><blockquote><em>2.Performs Time-series clustering that determines how monthly volume patterns explain the data.</em></blockquote><blockquote><em>3.Gethers information from the clusters to help marketing professionals.</em></blockquote><blockquote><em>4.Generates results!</em></blockquote><p>Clusters possessed the following characteristics based on different customers-</p><p><strong><em>High-Value Customers</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*UFR9y3W2SCBHspQnC07ayQ.png" /></figure><p><strong><em>Low-Value Customers</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*0v9K371oLODd4ty-SBs-Eg.png" /></figure><p><strong><em>Grower</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*ZQkwnNySBZw6q_4anbxZZA.png" /></figure><p><strong><em>Bubbler</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*xTw8pKvYe2uoqqHEwWpupQ.png" /></figure><p><strong><em>Decliner</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/441/1*ArPf7mRU3DNOWJcB7W5Elw.png" /></figure><p><strong><em>Real Churner</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*SL_jxLjhSlbzhMvINa7a7Q.png" /></figure><p>We began with various time series clustering methods, such as tslearn, trendypy, and DTAI, before moving on to SOM.</p><blockquote><strong><em>We chose SOM because other algorithms failed to produce converged clusters and were inefficient in terms of speed.</em></strong></blockquote><p>Now it’s time to get technical??</p><blockquote>In my upcoming blog, I will go through SOM in detail. Keep an eye out!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7243426e2da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Product sense for non- product manager]]></title>
            <link>https://medium.com/@juhipandey4/product-sense-for-non-product-manager-45038d4b8c0b?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/45038d4b8c0b</guid>
            <category><![CDATA[circles-method]]></category>
            <category><![CDATA[product-metrics]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product-sense]]></category>
            <category><![CDATA[aarm-method]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Wed, 18 Dec 2019 08:37:25 GMT</pubDate>
            <atom:updated>2019-12-18T08:37:25.607Z</atom:updated>
            <content:encoded><![CDATA[<h4>How good you are at thinking of, prioritizing, and designing features of a product.</h4><p>There are a lot of varieties of product questions, but they’re pretty easy to spot — “What’s your favorite website and what features would you add to it”, “Design a calendar app for a fisherman”, “How would you make a better toaster”.</p><p>The thing that might not be obvious is that there’s a right way to answer these questions, and it probably goes against your first instinct. You don’t want to just start spitting out ideas — you need to take a structured approach to the problem, and <strong>you need to start with the customer</strong>.</p><p>This doesn’t mean focus groups or asking the customer what they want. Instead it means to think about what kind of person will be using the product, and why? What are the use cases? For example, for the toaster you might think about people who are in a rush and care primarily about speed, people who are foodies and want quality, and people in commercial businesses who want quantity and consistency.</p><p>Stating these cases explicitly explains the assumptions behind your features and helps make sure you’ve considered all the aspects of a product. It also helps avoid one of the biggest mistakes people make — designing the product just for themselves. When you start to talk about features, you’ll want to tie them back to the use cases. You want to pick important features and explain why they’re important — how they will change the customer’s lives.</p><p>Here’s a framework I use to answer these questions</p><ul><li>Who are the customers?</li><li>What are their use cases? / Why are they using this product?</li><li>How well is the product doing for their use cases? Are there obvious weak spots?</li><li>What features would improve those weak spots?</li><li>How could this product get more users?</li></ul><p>I always follow two methods at very start-</p><h3><strong>CIRCLES Method</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/0*wx33nTRyG4CN2hQi.png" /></figure><p><strong>It is a framework on what makes a complete, thoughtful response to any design question</strong>.</p><p>The <strong>5W’s &amp; H</strong> also help product manager in asking a right question in the Comprehend Situation stage and gather information about the problem before jumping into solution or some conclusion.</p><ul><li><strong>W</strong>hat is it?</li><li><strong>W</strong>ho is it for?</li><li><strong>W</strong>hy do they need it?</li><li><strong>W</strong>hen is it available?</li><li><strong>W</strong>here is it available?</li><li><strong>H</strong>ow does it work?”</li></ul><h3>Tip on using the CIRCLES Method™</h3><p>We often struggle with design questions because we’re uncomfortable exploring customers and needs without a solution. If that’s the case, it’s okay to have a solution in mind and lead your CIRCLES Method™ discussion toward it.</p><h3><strong>AARM Method</strong></h3><p>It is an analytical framework that defines the metrics for a product. This four letter acronym refers to acquisition, activation, retention, and monetization:</p><ul><li><strong>A</strong>cquisition: Tracking customer signups for a service. The bar for signing up for a service has gotten lower and lower, thanks to the popularity of free signup and pay later “freemium” models. The typical acquisition metric to track is lazy registrations or app downloads.</li><li><strong>A</strong>ctivation: Getting users that have completed a lazy registration to register fully. For a social networking site like Google+, this may include uploading a photo or completing their profile page.</li><li><strong>R</strong>etention: Getting users to use the service often and behave in a way that helps the user or business. Key metrics include adding more information to their profile page, checking the news feed frequently or inviting friends to try the service.</li><li><strong>M</strong>onetization: Collecting revenue from users. It could include the number of people who are paying for the service or the average revenue per user (ARPU).</li></ul><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45038d4b8c0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is event-level data?]]></title>
            <link>https://medium.com/@juhipandey4/what-is-event-level-data-50f170f34ece?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/50f170f34ece</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[types-of-data-sets]]></category>
            <category><![CDATA[data-manipulation]]></category>
            <category><![CDATA[data-mining]]></category>
            <category><![CDATA[event-level-data]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Wed, 18 Dec 2019 08:09:40 GMT</pubDate>
            <atom:updated>2019-12-18T08:09:40.955Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>Information about change that occurs at a point in time.</em></strong></blockquote><h4>Example-”Event-level data can be any event you want to track, from a page view on a website to opening a refrigerator door.”</h4><p>Event-level data is one of the richer forms of data. Many attributes can be gleaned from it that help to explain the state of something or someone at a specific time. Event-level data is all about actions. It is what users, customers, and consumers do and when they do it. It includes everything from the pages they visit on a website to the history of purchases they have made. For example, a business could use event data to see how impactful a recent promotion was. They could identify how many first-time customers were enticed by it, how much more it encouraged customers to buy, whether it influenced former customers to buy new products, and so much more.</p><p>For the average business, over a longer period of collecting event data (customer actions) like clicking on an ad, walking into a retail location, and updating a profile, can be both tracked and then analysed. When all of these actions, or events, are strung together, they help companies to have a clear picture of their customer and how to effectively market to them.</p><p><strong>Event data</strong> is information that occurs at a point in time. This is commonly collected and used for automation, calculations, communication, decision making and integration.</p><p>The following are examples of event data.</p><p><strong>Analytics</strong></p><p>A website records events such as page views and user actions and visualizes this data in an analytics tool. For example, a website might send an event when a user plays a video on a page.</p><p><strong>Ecommerce</strong></p><p>An ecommerce site issues an event when a customer puts something in their shopping card. This can trigger a variety of real time processes such as calculating suggested products for the customer.</p><p>It is possible to do analysis directly on this event stream, it is common to:</p><p>1. Join event-level data with other data sets (e.g. customer data)</p><p>2. Aggregate event-level data into smaller data sets (e.g. sessions)</p><p>3. Apply business logic (e.g. user segmentation)</p><p>We call this process <strong><em>data modeling</em>.</strong></p><p><strong><em>The BENEFITS of event-level data:</em></strong></p><p><strong>1. Higher Fidelity:</strong> Event-level data is, as previously stated, one of the richer types of data. It can provide a fuller picture of both consumers and their habits. And, because of this, the data tends to be more trustworthy. It gives users objective facts that help with reliable business strategy formulation. Additionally, when businesses own their own event-level data, there is a higher level of both granularity and clarity that they can use with more confidence.</p><p><strong>2. More Flexibility:</strong> Event-level data is simply more flexible. The raw data that is captured enables users to perform just about any type of analytics on it, meaning more and better insights for businesses.</p><p><strong>3. Foundation For New Products:</strong> Event-level data allows companies to serve their customers better. They can use the data to build apps that can effectively engage users in real-time. Apps that can ask users for more information or ones that can suggest actions or products — and not in a way that the user finds annoying, but helpful. And it goes beyond just creating a more engaging app. Businesses can use event-level data to see hidden patterns and then develop new and better experiences and products, ones that will help to generate more revenue.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50f170f34ece" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep learning is so cool…!!]]></title>
            <link>https://medium.com/@juhipandey4/deep-learning-is-so-cool-63ff6f4f8277?source=rss-5c08b709d354------2</link>
            <guid isPermaLink="false">https://medium.com/p/63ff6f4f8277</guid>
            <category><![CDATA[backpropagation]]></category>
            <category><![CDATA[basics]]></category>
            <category><![CDATA[forward-propagation]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Juhi Pandey]]></dc:creator>
            <pubDate>Sat, 12 Jan 2019 11:34:04 GMT</pubDate>
            <atom:updated>2019-01-12T11:34:04.900Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*ZUC-T0U9Bi61E5kccnlpIw.png" /></figure><p>So what exactly is deep learning? How does it work? And most importantly, why should you even care?</p><p><strong>What is Machine Learning?</strong></p><p>Before we dive into deep learning, I want to take a step back and talk a little bit about the broader field of “machine learning” and what it means when we say that we’re programming machines to <em>learn</em>.</p><p>Sometimes we encounter problems for which it’s really hard to write a computer program to solve. For example, let’s say we wanted to program a computer to recognize hand-written digits:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/0*UyAyBtlAQyRr1cFZ.gif" /></figure><p>You could imagine trying to devise a set of rules to distinguish each individual digit. Zeros, for instance, are basically one closed loop. But what if the person didn’t perfectly close the loop. Or what if the right top of the loop closes below where the left top of the loop starts?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/194/0*tS068Uhz3x8LWnOr.png" /></figure><p>In this case, we have difficulty differentiating zeros from sixes. We could establish some sort of cutoff, but how would you decide the cutoff in the first place? As you can see, it quickly becomes quite complicated to compile a list of heuristics (i.e., rules and guesses) that accurately classifies handwritten digits.</p><p>And there are so many more classes of problems that fall into this category. Recognizing objects, understanding concepts, comprehending speech. We don’t know what program to write because we still don’t know how it’s done by our own brains. And even if we did have a good idea about how to do it, the program might be horrendously complicated.</p><p>So instead of trying to write a program, we try to develop an algorithm that a computer can use to look at hundreds or thousands of examples (and the correct answers), and then the computer uses that experience to solve the same problem in new situations. Essentially, our goal is to teach the computer to solve by example, very similar to how we might teach a young child to distinguish a cat from a dog.</p><p>One of the big challenges with traditional machine learning models is a process called <em>feature extraction</em>. Specifically, the programmer needs to tell the computer what kinds of things it should be looking for that will be informative in making a decision. Feeding the algorithm raw data rarely ever works, so feature extraction is a critical part of the traditional machine learning workflow. This places a huge burden on the programmer, and the algorithm’s effectiveness relies heavily on how insightful the programmer is. For complex problems such as object recognition or handwriting recognition, this is a huge challenge.</p><p><strong><em>Deep learning is one of the only methods by which we can circumvent the challenges of feature extraction. This is because deep learning models are capable of learning to focus on the right features by themselves, requiring little guidance from the programmer. This makes deep learning an extremely powerful tool for modern machine learning.</em></strong></p><p><strong>Terms you should know and what they mean —</strong></p><p><strong>Neuron(Node) </strong>— It is the basic unit of a neural network. It gets certain number of inputs and a bias value. When a signal(value) arrives, it gets multiplied by a weight value. If a neuron has 4 inputs, it has 4 weight values which can be adjusted during training time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*6aaAu20L9F2qfYGIK8Jssg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*H2GFATdntBwfKcR4Kuc5mw.png" /><figcaption>Operations at one neuron of a neural network</figcaption></figure><p><strong>Connections</strong> — It connects one neuron in one layer to another neuron in other layer or the same layer. A connection always has a weight value associated with it. Goal of the training is to update this weight value to decrease the loss(error).</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*5zQUUvTbSTJyGQH_qdB2hA.png" /></figure><p><strong>Bias(Offset)</strong> — It is an extra input to neurons and has it’s own connection weight. This makes sure that even when all the inputs are none (all 0’s) there’s gonna be an activation in the neuron.</p><p>The weight shows the effectiveness of a particular input. More the weight of input, more it will have impact on network.</p><p>On the other hand Bias is like the intercept added in a linear equation. It is an additional parameter in the Neural Network which is used to adjust the output along with the weighted sum of the inputs to the neuron. Therefore Bias is a constant which helps the model in a way that it can fit best for the given data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*0NKtEk20-qnaLkwOa8DlnA.png" /></figure><p><strong>Activation functions</strong> — Activation functions are an extremely important feature of the artificial neural networks. They basically decide whether a neuron should be activated or not. Whether the information that the neuron is receiving is relevant for the given information or should it be ignored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/0*Cf_JevZ-Gdcupfg6.png" /></figure><p>The activation function is the non linear transformation that we do over the input signal. This transformed output is then sen to the next layer of neurons as input.Can we do without an activation function?</p><p>Now the question which arises is that if the activation function increases the complexity so much, can we do without an activation function?</p><p>When we do not have the activation function the weights and bias would simply do a linear transformation. A linear equation is simple to solve but is limited in its capacity to solve complex problems. A neural network without an activation function is essentially just a linear regression model. The activation function does the non-linear transformation to the input making it capable to learn and perform more complex tasks. We would want our neural networks to work on complicated tasks like language translations and image classifications. Linear transformations would never be able to perform such tasks.</p><p>Popular types of activation functions —</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*p_hyqAtyI8pbt2kEl6siOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*YL2a2dbDQ5754h_ktDj8mQ.png" /><figcaption>Basic Neural Network Layout</figcaption></figure><p><strong>Input Layer </strong>— This is the first layer in the neural network. It takes input signals(values) and passes them on to the next layer. It doesn’t apply any operations on the input signals(values) &amp; has no weights and biases values associated. In our network we have 4 input signals x1, x2, x3, x4.</p><p><strong>Hidden Layers — </strong>Hidden layers have neurons(nodes) which apply different transformations to the input data. One hidden layer is a collection of neurons stacked vertically(Representation). In our image given below we have 5 hidden layers. In our network, first hidden layer has 4 neurons(nodes), 2nd has 5 neurons, 3rd has 6 neurons, 4th has 4 and 5th has 3 neurons. Last hidden layer passes on values to the output layer. All the neurons in a hidden layer are connected to each and every neuron in the next layer, hence we have a fully connected hidden layers.</p><p><strong>Output Layer </strong>— This layer is the last layer in the network &amp; receives input from the last hidden layer. With this layer we can get desired number of values and in a desired range. In this network we have 3 neurons in the output layer and it outputs y1, y2, y3.</p><p><strong>Input Shape </strong>— It is the shape of the input matrix we pass to the input layer. Our network’s input layer has 4 neurons and it expects 4 values of 1 sample. Desired input shape for our network is (1, 4, 1) if we feed it one sample at a time. If we feed 100 samples input shape will be (100, 4, 1). Different libraries expect shapes in different formats.</p><p><strong>Weights(Parameters)</strong> — A weight represent the strength of the connection between units. If the weight from node 1 to node 2 has greater magnitude, it means that neuron 1 has greater influence over neuron 2. A weight brings down the importance of the input value. Weights near zero means changing this input will not change the output. Negative weights mean increasing this input will decrease the output. A weight decides how much influence the input will have on the output.</p><p><strong>Forward Propagation — </strong>Forward propagation is a process of feeding input values to the neural network and getting an output which we call predicted value. Sometimes we refer forward propagation as inference. When we feed the input values to the neural network’s first layer, it goes without any operations. Second layer takes values from first layer and applies multiplication, addition and activation operations and passes this value to the next layer. Same process repeats for subsequent layers and finally we get an output value from the last layer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*S-FQtnzUxIBFpObg.png" /><figcaption>Forward Propagation</figcaption></figure><p><strong>Back-Propagation</strong> — After forward propagation we get an output value which is the <em>predicted value</em>. To calculate error we compare the predicted value with the <em>actual output value</em>. We use a <em>loss function</em> (mentioned below) to calculate the <em>error value</em>. Then we calculate the derivative of the <em>error value</em> with respect to each and every weight in the neural network. Back-Propagation uses chain rule of Differential Calculus. In chain rule first we calculate the derivatives of <em>error value</em> with respect to the <em>weight values</em> of the last layer. We call these derivatives, <em>gradients</em> and use these <em>gradient</em> values to calculate the <em>gradients</em> of the second last layer. We repeat this process until we get <em>gradients</em> for each and every weight in our neural network. Then we subtract this <em>gradient value</em> from the <em>weight value</em> to reduce the <em>error value</em>. In this way we move closer (descent) to the <em>Local Minima</em>(means minimum loss).</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*KOoCMnuItbHKq5Xx.png" /><figcaption>Backward Propagation</figcaption></figure><p><strong>Learning rate </strong>— When we train neural networks we usually use <em>Gradient Descent</em> to optimize the weights. At each iteration we use back-propagation to calculate the derivative of the loss function with respect to each weight and subtract it from that weight. Learning rate determines how quickly or how slowly you want to update your <em>weight</em>(parameter) <em>values</em>. Learning rate should be high enough so that it won’t take ages to converge, and it should be low enough so that it finds the local minima.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*KMFZ18bMx52li0fF.gif" /></figure><p><strong>Accuracy</strong> — Accuracy refers to the closeness of a measured value to a standard or known value.</p><p><strong>Precision </strong>— Precision refers to the closeness of two or more measurements to each other. It is the repeatability or reproducibility of the measurement.</p><p><strong>Recall(Sensitivity)</strong> — Recall refers to the fraction of relevant instances that have been retrieved over the total amount of relevant instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*84IJcXboAmF_ey5w.png" /></figure><p><strong>Convergence</strong> — Convergence is when as the iterations proceed the output gets closer and closer to a specific value.</p><p><strong>Regularization </strong>— It is used to overcome the over-fitting problem. In regularization we penalize our loss term by adding a L1 (LASSO) or an <em>L</em>2(Ridge) norm on the weight vector <em>w</em> (it is the vector of the learned parameters in the given algorithm).</p><p>L(Loss function) + <em>λN</em>(<em>w</em>) — here λ is your <strong><em>regularization term </em></strong>and N(w) is L1 or L2 norm</p><p><strong>Normalization</strong> — Data normalization is the process of rescaling one or more attributes to the range of 0 to 1. Normalization is a good technique to use when you do not know the distribution of your data or when you know the distribution is not Gaussian (a bell curve). It is good to speed up the learning process.</p><p><strong>Fully Connected Layers </strong>— When activations of all nodes in one layer goes to each and every node in the next layer. When all the nodes in the Lth layer connect to all the nodes in the (L+1)th layer we call these layers fully connected layers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*3qcXynldqRM8BUbZ-1sh8Q.png" /><figcaption>Fully Connected Layers</figcaption></figure><p><strong>Loss Function/Cost Function — </strong>The loss function computes the error for a single training example. The cost function is the average of the loss functions of the entire training set.</p><ul><li>‘<em>mse’</em>: for mean squared error.</li><li>‘<em>binary_crossentropy’</em>: for binary logarithmic loss (logloss).</li><li>‘<em>categorical_crossentropy’</em>: for multi-class logarithmic loss (logloss).</li></ul><p><strong>Model Optimizers</strong> — The optimizer is a search technique, which is used to update weights in the model.</p><p><strong>Performance Metrics</strong> — Performance metrics are used to measure the performance of the neural network. Accuracy, loss, validation accuracy, validation loss, mean absolute error, precision, recall and f1 score are some performance metrics.</p><p><strong>Batch Size </strong>— The number of training examples in one forward/backward pass. The higher the batch size, the more memory space you’ll need.</p><p><strong>Training Epochs</strong> — It is the number of times that the model is exposed to the training dataset.</p><p>One <strong>epoch</strong> = one forward pass and one backward pass of <em>all</em> the training examples.</p><p>Below are few useful topics that you need to drink and digest before you start Deep Learning/Machine Learning :) —</p><ul><li>Linear algebra: Vector and matrix operations.</li><li>Probability and statistics</li><li>Calculus especially differential calculus.</li><li>Numerical optimization</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63ff6f4f8277" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>