<?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 Vanessa Alumasa on Medium]]></title>
        <description><![CDATA[Stories by Vanessa Alumasa on Medium]]></description>
        <link>https://medium.com/@alumasavanessa?source=rss-714619f6f744------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*K83PgH-qj6Goto8o6kTh0A.jpeg</url>
            <title>Stories by Vanessa Alumasa on Medium</title>
            <link>https://medium.com/@alumasavanessa?source=rss-714619f6f744------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 00:21:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alumasavanessa/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[Of Brainwashing and Indoctrination]]></title>
            <link>https://alumasavanessa.medium.com/of-brainwashing-and-indoctrination-350c318e2370?source=rss-714619f6f744------2</link>
            <guid isPermaLink="false">https://medium.com/p/350c318e2370</guid>
            <category><![CDATA[control]]></category>
            <category><![CDATA[subconscious]]></category>
            <category><![CDATA[mindset]]></category>
            <category><![CDATA[indoctrination]]></category>
            <category><![CDATA[brainwashing]]></category>
            <dc:creator><![CDATA[Vanessa Alumasa]]></dc:creator>
            <pubDate>Sat, 06 May 2023 13:07:26 GMT</pubDate>
            <atom:updated>2023-05-06T13:07:26.452Z</atom:updated>
            <content:encoded><![CDATA[<p>Do you have control of your thoughts, words and actions? How aware are you of your belief system, your thought process and actions taken?</p><p><strong>What is Brainwashing and Indoctrination?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*c-qTosFMWxYEBpZ1" /><figcaption>Photo by <a href="https://unsplash.com/@freewalkingtoursalzburg?utm_source=medium&amp;utm_medium=referral">Free Walking Tour Salzburg</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Brainwashing is a process in which an individual’s thoughts, beliefs and behaviors are altered through intense and repeated psychological manipulation.<br>This can involve physical isolation, sleep deprivation, sensory deprivation and various forms of torture.<br>The goal is to breakdown and destroy and individual’s sense of self and replace it with a new set of beliefs and values.</p><p>Indoctrination, on the other hand, is a more subtle process that involves the repitition of specific ideas and beliefs until they become engrained in an individual’s psyche. <br>This is mainly accomplished through various forms of education, media and socialization.<br>The goal is to create a loyal and obedient follower, who will not question the group’s ideologies, beliefs or authority.</p><p>Both brainwashing and indoctrination directly impress upon the subconscious mind.</p><p><strong>The subconscious mind vs The conscious mind:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-Mog-Lj4js4PBvp6" /><figcaption>Photo by <a href="https://unsplash.com/@ina79?utm_source=medium&amp;utm_medium=referral">Ina RH</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The subconscious mind is the storehouse of all our thoughts, beliefs and emotions. It is the creative power that responds to the thoughts and feelings we impress upon it.<br>The conscious mind, on the other hand, is the analytical part that processes information and makes decisions based on logic and reason.</p><p>The subconscious mind is therefore more powerful than the conscious mind. It is the key to our words, actions and choices. Every action, word and thought we have ever had was already formed in our subconscious mind before it was exhibited.</p><p>The subconscious mind does not distinguish between reality and imagination — it takes wholly, what is impressed upon it.<br>Today, we are being bombarded with words, images, videos and music that create impressions in our subconscious brains; without our control.</p><p><strong>Why does Brainwashing and Indoctrination Happen?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WrBqtV-VR9_6Fqzy" /><figcaption>Photo by <a href="https://unsplash.com/@luancabralbr?utm_source=medium&amp;utm_medium=referral">Luan Cabral</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Brainwashing and indoctrination often occur in environments where individuals are vulnerable; seeking meaning and belonging. <br>This could include people who are dealing with personal crises and mental health illnesses, those who are searching for spiritual fulfillment, or those who feel disenfranchised by society.<br>Perpetrators of brainwashing and indoctrination often use a combination of fear, intimidation, and rewards to manipulate their victims. <br>They may create a sense of community and belonging, offer promises of spiritual enlightenment or personal fulfillment, or use threats of punishment to control their followers.<br>These tactics create impressions directly onto the subconscious mind through repetition and intense rituals; an individual may not be consciously aware of the behavioral changes occurring in his or her life.</p><p><strong>How to Identify Brainwashing and Indoctrination</strong></p><p>It can be difficult to identify brainwashing and indoctrination, especially if the victim is unaware that it is happening. However, there are some common signs to look out for:</p><p>1.The individual becomes isolated from friends and family.<br>2. They exhibit extreme changes in behavior, beliefs, or personality.<br>3. They become emotionally dependent on the group or the individual.<br>4. They exhibit a heightened sense of loyalty to the group or the individual.<br>5. They exhibit a lack of critical thinking or skepticism.<br>6. They exhibit a lack of autonomy or independence.</p><p><strong>How to Overcome Brainwashing and Indoctrination</strong></p><p>Overcoming brainwashing and indoctrination is a challenging but yet achievable process that requires time, effort, and support. <br>Here are some steps that can be taken:</p><p>1. Recognize that brainwashing and indoctrination have taken place.<br>2. Seek support from family, friends, or mental health professionals.<br>3. Engage in activities that promote critical thinking and independent thought.<br>4. Take steps to rebuild self-esteem and self-confidence.<br>5. Create a plan for leaving the group or the said individual.<br>6. Seek legal assistance if necessary.</p><p><strong>Conclusion: To be Free, To be Aware and To be in Control</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ocY5Q7cSP9jJwj-I" /><figcaption>Photo by <a href="https://unsplash.com/@zorzf?utm_source=medium&amp;utm_medium=referral">Zo Razafindramamba</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Having recognized that our subconscious mind is significantly involved in creating the life we currently live in; then therein lies the secret to our desired outcomes.<br>We must be persistent and consistent in our efforts to impress positive and true desires upon the subconscious mind. In so doing, we are in control of our outward lives through controlling our inward thoughts.<br>We can achieve and change any thoughts and habits by relentless determination and unwavering faith.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=350c318e2370" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AUTOMATIC KENYAN LICENSE PLATE DETECTION AND RECOGNITION SYSTEM]]></title>
            <link>https://alumasavanessa.medium.com/automatic-kenyan-license-plate-detection-and-recognition-system-4d0787e535f5?source=rss-714619f6f744------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d0787e535f5</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Vanessa Alumasa]]></dc:creator>
            <pubDate>Thu, 17 Dec 2020 12:20:22 GMT</pubDate>
            <atom:updated>2020-12-17T12:20:22.249Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*KWWgagOB7E9RiwXx0fbFRg.jpeg" /></figure><p>This project provides a solution to detection and recognition of license plates in Kenya which stems from a traffic monitoring system that is inadequate in automatically detecting and recognizing license plates.</p><p>Presently, whenever a vehicle is flagged on the road for, among other reasons, violating traffic rules, hit and run accidents or even for emergency responses, a police officer has to manually write it down, then type it back into the system for owner and registration information, or to communicate to colleagues…etc.</p><p>My solution seeks to automate the detection of the license plate of images of vehicles which are captured by the system, segment and recognize the characters of the plates, and give a textual output that can be digitally processed further.</p><p>An automatic license plate detection and recognition solution reduces human error and creates efficiency in aiding in the retrieval of information.</p><p>Automatic License Plate Detection and Recognition widely uses <em>computer vision</em>, which is a field of <em>artificial intelligence </em>that is trained to mimic human vision. E.g. <em>teaching a machine to determine the age of a person or different fruits in an image.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aMJt4pY3hUD6yJZn" /><figcaption>Photo by <a href="https://unsplash.com/@arunavat99?utm_source=medium&amp;utm_medium=referral">Arunava</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Computer vision tasks can be solved through deep neural networks because typical machine learning models can’t provide accurate computer vision algorithms without the downside of long and expensive computational time and a lot of resources. Therefore, I shall explore a deep learning algorithm approach; train and test a convolutional neural network to recognize the characters in a license plate.</p><p><strong>A Brief Introduction to Deep Learning:</strong></p><p>Deep learning and deep neural networks create powerful computer vision algorithms because of the design of their neural network architectures. Deep learning algorithms automatically extract complex linear and non-linear feature relationships to discover good representation at multiple levels of abstraction.</p><p>The key aspect of deep learning is that the layers of features are not human-designed but learned from data using a general-purpose learning procedure by the neural network.</p><p><strong>On to the project:</strong></p><p>This project article documents the implementation of deep neural algorithms and metrics used, collection and verification of results and solutions on extracting license plate numbers, segmenting characters and training a convolutional neural network; that builds an automatic license plate recognition system.</p><p>I will use the pretrained model, Wpod-Net, and Computer Vision with OpenCV.</p><p>There are 3 parts to this project:</p><p><em>Part 1: </em>Implementation of the pre-trained model, Wpod-Net, to detect and extract license plates of Kenyan vehicle images.</p><p><em>Part 2: </em>Character segmentation with OpenCV</p><p><em>Part 3: </em>Train a Neural Network to predict the segmented characters obtained from the extracted license plate</p><p><em>Here are the major tools and libraries I used in Jupyter Notebook:</em></p><p>· Python</p><p>· NumPy</p><p>· Matplotlib</p><p>· TensorFlow</p><p>· Keras</p><p>· OpenCV</p><p>Also, here is a brief description and functionality of the above listed libraries:</p><p>· <strong>os.path / glob:</strong> An operating system interface package for Python, used to work with directories and the file system.</p><p>· <strong>local_utils</strong>: A Python script that contains several functions which will be used to process data from Wpod-Net.</p><p>· <strong>NumPy</strong>: A library that supports multi-dimensional arrays and matrices operation for processing in neural networks, and OpenCV.</p><p>· <strong>Matplotlib</strong>: A library that enables plotting and visualization of data and images.</p><p>· <strong>Keras</strong>: An open source neural network library working with TensorFlow.</p><p>I will use the package: <em>model_from_json</em> from Keras library to load the model to the architecture in JSON format.</p><p>· <strong>cv2</strong>: OpenCV is a Computer Vision library that will be used to perform image processing techniques.</p><p><strong>Part 1: Preprocessing and Extraction of Images</strong></p><p>In this first part, I’ll preprocess vehicle images and obtain the license plates from the images using the pretrained Wpod-Net model, that was created by Sergio Montazzolli Silva and Claudio Rosito Jung.</p><p>Wpod-Net is a powerful computer vision model based on Keras, that is able to adequately detect and extract license plates. Wpod-Net is able to majorly detect standard license plates, and if the image is blurry or is hidden by obstacles, the model might fail to detect and recognize with accuracy.</p><p>To load this model, I’ll create a helper function called <em>load_model</em> to open and read the pretrained Wpod-Net model which is JSON form. I will also load the weights in this helper function.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5881b3e900459d261d22dcd09d6b856b/href">https://medium.com/media/5881b3e900459d261d22dcd09d6b856b/href</a></iframe><p>Once the model has been loaded successfully, I will preprocess the images using a helper function called <em>preprocess_image </em>that takes an image path and the Boolean option to resize as arguments. This function uses OpenCV to read the images, converts the color to RGB and normalizes the pixels to the range of 0 and 1. If the argument to resize is True, the function resizes the images to the dimensions of 224X224 pixels. The preprocessed images are returned for visualization.</p><p>I will visualize 9 images of my vehicle dataset of Kenyan license plate images scrapped from the internet.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9b3295a27f5052642762f9b0103dd708/href">https://medium.com/media/9b3295a27f5052642762f9b0103dd708/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GajufffQCKHT3i6yX76gRQ.png" /><figcaption>Kenyan license plates</figcaption></figure><p>A function called <em>get_plate</em> is used to forward and image through the model and return the plate’s image and coordinates. If there’s an error <em>“No license plate has been found!”</em> will be output.</p><p>Here is the output of the <em>get_plate </em>function on an image:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kM4_aowiJ971IicgBmu3fw.jpeg" /><figcaption>Detected Kenyan license plate image_1</figcaption></figure><blockquote>Summary of part1: I have extracted the license plate and its coordinates from a vehicle image using pre-trained model, Wpod-Net.</blockquote><p><strong>Part 2: Character Segmentation</strong></p><p>Here I will segment the characters from the license plate extracted in Part 1.</p><p>Implementation of some image processing on the extracted license plate:</p><p>1. Converting it to a standard image of an 8-bit scale to reduce computational power required for processing.</p><p>2. Converting it to a grayscale image since color is insignificant in character segmentation.</p><p>3. Blur the image to remove noise and unnecessary information.</p><p>4. Perform image thresholding; so that any smaller pixel value than the threshold will be converted to 255, and any larger pixel value than the threshold will be converted to 0. This is called <em>inverse binary thresholding.</em></p><p>5. Implementing dilation to increase the white contours of each character of the image that were formed through inverse binary thresholding.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b4b36731edaf0f92faa4ab17f408270a/href">https://medium.com/media/b4b36731edaf0f92faa4ab17f408270a/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mGEw7K8jdjqzwOBLTxoViw.png" /><figcaption>Images of the preprocessed license plate</figcaption></figure><p>To determine the contours of the license plate characters, I will use OpenCV’s function called <em>findContours</em>. A contour is a simple curve that joins all continuous points along a boundary that share the same color and intensity. At this point, I appreciate why I converted the image to grayscale, and performed image thresholding and dilation.</p><p>The <em>sort_contours </em>helper function, as the name suggests, will sort contours found from left to right, for legibility. Height and width filters are then created to select only contours with the given set of height and width limits.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b93e7b2b8c26ba403788e0c09bbfafb1/href">https://medium.com/media/b93e7b2b8c26ba403788e0c09bbfafb1/href</a></iframe><p>Finally, I’ll draw boundaries using OpenCV on all contours that pass these filters, apply binary thresholding on each determined contour and append them to a list. This function will output the length of the list as the number of characters segmented. I will also output the image of the segmented characters in the list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMnMAr4NQi_Bz_UgIzfIGw.png" /><figcaption>Detected 7 characters.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jhaRvuZ8lk8YMFJCxroOvw.png" /><figcaption>Segmented characters in binary form.</figcaption></figure><blockquote>Summary of Part 2: I have segmented the characters of the license plate and drawn bounding boxes on them, and displayed the segmented characters in a grid.</blockquote><p><strong>Part 3: Character Recognition by training a Convolutional Neural Network</strong></p><p>Here is a visualization of the characters dataset that contains 37623 images with 36 classes. This dataset is really huge because each class has different font-type variations of an individual character. The classes represent the 26 alphabetical characters and 10 numerical characters. These classes will be used to train the convolutional neural network to predict characters in the segmented license plate characters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k8mHmhPQqP0yPaXJ9mVpig.jpeg" /><figcaption>A sample of dataset characters for training and validation.</figcaption></figure><p>I will perform several data preprocessing techniques;</p><p>1. Reduce the image size to 80x80 to allow for a higher accuracy.</p><p>2. Perform label encoding to the labels to enable equal representation among them.</p><p>3. Split the dataset into training and validation datasets to avoid overfitting.</p><p>4. Perform image augmentation using small basic transformation techniques e.g. rotating, shifting height and weight, zooming and stretching etc.</p><p><em>Pay careful attention during image augmentation to avoid vertical or horizontal rotation of numbers such as “6” to “9”. The model would be trained wrongly!</em></p><p>Then I will construct the MobileNets architecture with pre-trained weights on the ImageNet dataset. The model is imported directly from the Keras library.</p><p>· I have changed the last output layer to have the size of the encoded labels columns, which is 36. This layer will output the predicted probability of each of the 36 classes through the <em>softmax </em>activation function.</p><p>· Then initializing the learning rate and decay value; and compiling the model with loss function and metrics: categorical cross entropy and accuracy, respectively.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/044b4d01e920c585d5caf22f0448841a/href">https://medium.com/media/044b4d01e920c585d5caf22f0448841a/href</a></iframe><p>I will train and evaluate the model with these hyperparameters:</p><p>· I selected a large batch size (300) to reduce my computational power expense, but at the risk of reducing the performance of my model. This is a trade-off one must contend with during training.</p><p>· I have used 20 epochs to increase training, and counter the large batch size effect; hence improve my model’s performance.</p><p>· I will implement some callback functions to monitor the metrics:</p><p>o <em>EarlyStopping </em>will stop the training process if validation loss does not improve after 5 epochs, while <em>ModelCheckpoint</em><strong> </strong>will save weights of the model every time the validation loss is improved.</p><p>o The model acquired 97% accuracy on the validation set, at the end of the training process.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/80bacca7c0f5a48757b5982af01aaee7/href">https://medium.com/media/80bacca7c0f5a48757b5982af01aaee7/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gg6zwm_vL3daeFOhlq_vEw.png" /><figcaption>97% accuracy achieved on the last epoch.</figcaption></figure><p>Here is a visualization of the training and validation: loss and accuracy, that also shows no overfitting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2QAWYpqg9vEnrrlWnOgCZw.jpeg" /><figcaption>High accuracy and minimum loss for the validation curves.</figcaption></figure><p>I will save the model architecture and the weights achieved during training, to avoid having to build it up from scratch again.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb1e394cfdf04c8456240df81829fc6c/href">https://medium.com/media/fb1e394cfdf04c8456240df81829fc6c/href</a></iframe><p>To obtain a prediction, I will first load the saved model architecture, the saved weights after training and the original label classes (<em>not the encoded labels</em>).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb43d0b7e6dd95d9dbb0271e3ce912a1/href">https://medium.com/media/eb43d0b7e6dd95d9dbb0271e3ce912a1/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*QhguZoLhRwp2STBPJW-1cg.png" /><figcaption>Trained model, character recognition weights and classes loaded.</figcaption></figure><p>I will also implement the loaded label classes to inverse one-hot encoding label obtained from model to digital characters and loop over each segmented character image in the list, <em>crop_characters</em>, and display each segmented character in a grid along with its corresponding predicted label as its title.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/758ca10d3dd065261d7d3e70aa8137fe/href">https://medium.com/media/758ca10d3dd065261d7d3e70aa8137fe/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wOoAU4zbLheIGqMksbd4jQ.png" /><figcaption>100% accurate prediction.</figcaption></figure><p>Here are other successful predictions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qq6CSXutTWJy4Z4-tBPLPw.jpeg" /><figcaption>Kenyan license plate image_2</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6h6V7n7KFSGTNQcb5QJ8Lg.png" /><figcaption>image_2 100% recognition</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RyH-4B_yn5zxhW7fuUuTLw.jpeg" /><figcaption>Kenyan license plate image_3</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJ6d9WXZCZxfyZVXH_1GcA.png" /><figcaption>image_3 100% recognition</figcaption></figure><blockquote>Conclusion:</blockquote><p>This model clearly has room for improvement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N57lu2wDE7GrdpyTuNVKgQ.jpeg" /><figcaption>Kenyan license plate image_4</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1gi1_ajYXh9JRWg4ZQ_O7Q.png" /><figcaption>An inaccurate recognition.</figcaption></figure><p>It can be seen that the model has either under-trained on “4”s or over-trained on “A”s.</p><p>One way to effect an improvement would be to perform class balancing on the characters dataset before training, so that the model doesn’t train more on other characters and less on others.</p><p>Any other improvement suggestions are welcome in the comments section. Thank you!</p><blockquote>Generally, in conclusion, this project has sufficiently achieved its objective by automatically detecting and recognizing Kenyan license plates.</blockquote><h4><strong><em>What’s next?</em></strong></h4><p>Further applications to this project can be made to automatically trigger events e.g. <em>message or email notifications, alarms, increment statistical records, update payment expenses…etc. </em>when particular vehicle license plates are recognized from a database.</p><p>More applications? Great! Let’s hear them out in the comments.</p><h4>Resources and References</h4><ol><li><a href="http://sergiomsilva.com/pubs/alpr-unconstrained/">Wpod-Net Paper</a></li><li><a href="https://machinelearningmastery.com/what-is-deep-learning/">Deep Learning</a></li><li><a href="https://towardsdatascience.com/intuitively-understanding-convolutions-for-deep-learning-1f6f42faee1">Convolution Neural Network</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d0787e535f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PROBABILITY AND STATISTICS CONCEPTS FOR DATA SCIENCE]]></title>
            <link>https://medium.com/analytics-vidhya/probability-and-statistics-concepts-for-data-science-91556dcbba1c?source=rss-714619f6f744------2</link>
            <guid isPermaLink="false">https://medium.com/p/91556dcbba1c</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Vanessa Alumasa]]></dc:creator>
            <pubDate>Tue, 27 Oct 2020 13:49:21 GMT</pubDate>
            <atom:updated>2020-11-03T16:29:46.949Z</atom:updated>
            <content:encoded><![CDATA[<p>In the field of data science, probability and statistics are significant prerequisites. A good understanding of the fundamental concepts is highly important to enable a data scientist to perform mathematical analysis on both quantitative and qualitative data.</p><p>In this post, I am going to define some basics of probability and statistics in data science to get you started.</p><p><strong><em>Probability.</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cosSHxLa-Z6ODb88" /><figcaption>Photo by <a href="https://unsplash.com/@rihok?utm_source=medium&amp;utm_medium=referral">Riho Kroll</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong><em>What is probability?</em></strong></p><p>Probability describes the likelihood that an event or occurrence will happen.</p><p>Probability is the calculation for how likely it is for that event to happen. The more likely it is for an event to occur, the higher its probability.</p><p>Uncertainty is directly correlated with randomness in the world, and it can be useful to determine the chances of particular events occurring.</p><p>In data science, probability distributions of data are used to analyze, predict and develop models that are efficient in aiding data-focused decisions.</p><p><strong><em>Here are some top probability theory definitions that can get you started:</em></strong></p><p>1. An<strong> experiment</strong> is a repeatable test that can have various outcomes.</p><p>2. The <strong>sample space</strong> is the set of all elementary outcomes from the experiment.</p><p><em>Elementary outcomes</em> are outcomes from an experiment that cannot be broken down into smaller outcomes.</p><p>3. An <strong>event</strong> is a subset of the sample space containing a number of elementary outcomes.</p><p>4. An <strong>impossible event</strong> is an event that can never happen, its probability is 0.</p><p>5. A <strong>certain event</strong> is an event that will definitely happen, its probability is equal to 1.</p><p>6. <strong>Mutually exclusive events</strong> are events that cannot occur simultaneously in the same experiment.</p><p>7. <strong>Independent events</strong> are events where the occurrence of one does not affect the probability of the other.</p><p>8. <strong>Random variables</strong> are variables that take a random value that cannot be predicted before the experiment is performed.</p><p>9. The <strong>probability distribution of random variables</strong> is a table that contains all of the random variable’s possible values and the probability of their occurrence.</p><p>10. The <strong>expected value of a random variable</strong> is a numerical value which the random variable will tend towards over multiple repetitions of the experiment, calculated as the sum of all values of the random variable multiplied by their probability:</p><p>Expected value formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*Ceb4ySYli70Gy8nRhc6_4g.png" /></figure><p>11. <strong>Variance of random variables</strong> is a measure of the dispersion of random variable values, which can be found using the formula:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*v5fGB-gDH3VbiKMqpjWdEA.png" /></figure><p>12. <strong>Binomial experiments</strong> are experiments with two possible outcomes; a success and a failure.</p><p><strong><em>Statistics</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X-aQbo9MUOfIhppA" /><figcaption>Photo by <a href="https://unsplash.com/@isaacmsmith?utm_source=medium&amp;utm_medium=referral">Isaac Smith</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong><em>What is statistics?</em></strong></p><p>Statistics is the study of collection, organization, analysis and interpretation of data.</p><p>In data science, the core statistical concepts are foundational in algorithms that are found in various libraries in programming.</p><p><strong><em>Here are some common statistical concepts used widely:</em></strong></p><p>1. <strong>Classification</strong></p><p>Classification is the assignment of categories to a data set to allow for more accurate analysis and prediction.</p><p>A major classification technique is <em>logistic regression.</em></p><p>2. <strong>Linear Regression</strong></p><p>Linear Regression is a statistical method used to predict the target variable by finding the line of best fit of the linear relationship of variables.</p><p>3. <strong>Resampling Methods</strong></p><p>Resampling is the process of repeatedly drawing samples from an original data set. These samples are used to compute the expected probability value of the original data.</p><h4>Descriptive statistics coupled with probability theory can be largely crucial in making data-driven decisions.</h4><p><strong>Here are some theory definitions of descriptive statistics to get you started as well:</strong></p><p>1. <strong>Quantitative </strong>(numerical) variables take numeric values.</p><p>2. <strong>Qualitative</strong> (categorical) variables take non-numeric values.</p><p>3. A <strong>continuous variable</strong> is a quantitative variable that can take any numeric value in some range (e.g. any value between 0 and 1)</p><p>4. A <strong>discrete variable</strong> is any variable that is not continuous on any range (e.g. a variable that takes the integer values from 0 to 100)</p><p>5. <strong>Frequency density</strong> a value equal to the height of a histogram column whose area reflects the relative frequency of a continuous variable.</p><p>6. <strong>Mean</strong></p><p>Mean describes the algebraic metric of location of data.</p><p>Mean is denoted by <strong>µ </strong>and is calculated by finding the average of all the data points.</p><p><strong>7.</strong> <strong>Median</strong></p><p>Median describes the structural metric of location of data.</p><p>Median is calculated by finding the middle of all the data points arranged in ascending order.</p><p>8. The <strong>standard deviation</strong> describes the measure of how “spread out” the data is from the mean.</p><p>Standard deviation is the square root of the average of the squared differences from the population mean.</p><p>A low standard deviation shows that the values are closer to the mean of the data, whereas, a high standard deviation shows that the values are spread out over a wide range.</p><p>Standard deviation formula is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*7e4DZeEaqxgHOVFGtEYgvw.png" /></figure><p>9. <strong>Variance</strong> describes the average of the squared differences from the population mean.</p><p>Variance is the square of standard deviation, and interchangeably, standard deviation is the square root of variance.</p><p>Variance formula is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*hrxpNjzsCMcT1Ps5sZuWBg.png" /></figure><p>So far, we have defined some of the basic fundamentals of probability and statistics that are truly significant in data science.</p><p>Let’s take a look at <em>probability distributions</em>.</p><p><strong><em>Probability Distributions</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uxCONOZH5AZWkHgv" /><figcaption>Photo by <a href="https://unsplash.com/@lukechesser?utm_source=medium&amp;utm_medium=referral">Luke Chesser</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Probability distributions indicate the likelihood that a random variable can take a specific value, x.</p><p>Probability distributions describe the dispersion of the probability values of a random variable.</p><p>There are two types of probability distributions:</p><p>i. Discrete probability distributions for discrete variables</p><p>ii. Probability density functions for continuous variables</p><p>With a focus on probability density functions, a well-known probability density function is the <strong>Gaussian Distribution</strong>, also known as the <strong>Normal distribution</strong>.</p><p>The normal distribution has a symbolic characteristic of the ‘bell curve’.</p><p>The density of a normal distribution is dependent on two parameters: the <em>mean</em> and the <em>standard deviation</em>.</p><p>Gaussian distribution also occurs as <strong>a Central limit theorem (CLT)</strong>, where many independent random variables, added together, give a normal distribution.</p><p>The normal distribution function formula is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*LagkEwOD-Kny8q9IYzQb5g.png" /></figure><p>This is a great first step to a whole staircase of probability and statistical concepts of data science. Practice and additional information will get you going through your learning curve.</p><p>Happy learning!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91556dcbba1c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/analytics-vidhya/probability-and-statistics-concepts-for-data-science-91556dcbba1c">PROBABILITY AND STATISTICS CONCEPTS FOR DATA SCIENCE</a> was originally published in <a href="https://medium.com/analytics-vidhya">Analytics Vidhya</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>