<?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 Aaditya Ahire on Medium]]></title>
        <description><![CDATA[Stories by Aaditya Ahire on Medium]]></description>
        <link>https://medium.com/@aaditya.ahire20?source=rss-124a0ea5c57e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kqEdughGDp-bsT8LJ5lMOw.jpeg</url>
            <title>Stories by Aaditya Ahire on Medium</title>
            <link>https://medium.com/@aaditya.ahire20?source=rss-124a0ea5c57e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:20:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aaditya.ahire20/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[Role of Deep Learning in Natural Language Processing]]></title>
            <link>https://medium.com/@aaditya.ahire20/role-of-deep-learning-in-natural-language-processing-121ca6472c72?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/121ca6472c72</guid>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Wed, 01 May 2024 13:44:51 GMT</pubDate>
            <atom:updated>2024-05-01T13:44:51.843Z</atom:updated>
            <content:encoded><![CDATA[<p>Aaditya Ahire, Tejaswini Andhare, Samiksha Dongre</p><h3>The Basics of Deep Learning and NLP</h3><p>Deep Learning and NLP intricately combine artificial intelligence and linguistic analysis to enable computer systems to understand, interpret, and generate human language. Leveraging the power of neural networks, Deep Learning algorithms learn from a vast amount of data, allowing them to uncover complex patterns and structures in language. This integration revolutionizes various NLP applications, including machine translation, sentiment analysis, and question answering systems. Deep Learning models such as recurrent neural networks (RNNs) and transformers have significantly improved NLP tasks, achieving state-of-the-art results by capturing the contextual nuances and dependencies of language. These models are trained on large language corpora, enabling them to generate coherent and contextually relevant responses. By harnessing the power of Deep Learning, NLP algorithms can now effectively process and understand human language, opening up new possibilities for communication and interaction with intelligent machines.</p><p>To fully comprehend the intersection of Deep Learning and NLP, it is essential to understand the underlying components. Deep Learning models for NLP tasks are typically composed of multiple layers of neural networks. These layers process input text data by learning sequential patterns, hierarchical representations, and semantic embeddings. For example, in language translation, Deep Learning models utilize encoder-decoder architectures, where the input sequence is encoded into an intermediate representation and then decoded to generate the target language. By using attention mechanisms, these models dynamically focus on relevant words and phrases during the decoding process, ensuring accurate translations. The advanced techniques employed in Deep Learning models enable NLP algorithms to capture the context, syntax, and semantics of human language, enabling them to perform at a level that was previously unattainable.</p><p>Building on the foundation of Deep Learning and NLP, recent advancements have focused on fine-tuning language models through self-supervised learning approaches such as masked language modeling and next sentence prediction. These techniques allow models to learn from vast amounts of unlabeled data, further enhancing their ability to understand and generate human language. Additionally, pre-training these models on large-scale corpora helps them acquire extensive linguistic knowledge, enabling better performance on downstream NLP tasks. Fine-tuning allows these models to adapt to specific tasks with smaller labeled datasets, resulting in more accurate and efficient NLP systems.</p><p>To fully leverage the capabilities of Deep Learning in NLP, it is crucial to carefully curate and preprocess the training data. High-quality, diverse datasets with extensive coverage enable the models to learn robust representations of language. Balancing the size of the training data and computational resources is important to avoid overfitting or insufficient model training. Additionally, regular model evaluation and optimization are necessary to ensure consistent and reliable performance.</p><p>Like a linguist on steroids, deep learning in NLP takes language comprehension to a whole new level.</p><h3>Defining Deep Learning</h3><p>Deep learning is an AI subset that replicates the human brain’s neural networks to analyze and process complex data. It involves training deep neural networks with huge amounts of labeled data. Computers can then make accurate forecasts and do tasks like natural language processing (NLP).</p><p>In NLP, deep learning algorithms recognize patterns and associations, to extract meaning from unstructured text data. They use techniques like recurrent neural networks (RNNs) and convolutional neural networks (CNNs) to understand language better; allowing for applications such as sentiment analysis, text classification and machine translation.</p><p>Deep learning in NLP is outstanding because it can represent words as dense vectors known as word embeddings. These capture the relationship between words and help enhance various NLP tasks. By taking advantage of gigantic pre-trained models like BERT or GPT-3, developers can reach top-notch results in areas like question answering or text generation.</p><p>Advice: When using deep learning and NLP, you must have a diverse and labeled dataset to train your models well. The quality and size of the dataset are extremely crucial to get the best performance.</p><h3>Understanding Natural Language Processing (NLP)</h3><p><strong>Natural Language Processing (NLP)</strong> is a branch of <strong>Artificial Intelligence</strong> that focuses on how computers and humans communicate with each other. It requires complex algorithms and models that enable computers to understand, analyze, and produce human language efficiently and meaningfully.</p><p>NLP techniques include:</p><ul><li><strong>Sentiment analysis</strong>, which analyses social media posts for sentiment expressed</li><li><strong>Named entity recognition</strong>, which recognizes people, organizations, or locations in text</li><li><strong>Machine translation</strong>, which translates one language to another</li><li><strong>Text classification</strong>, which categorizes documents by content</li></ul><p>Additionally, NLP comprises tasks such as language production, summarization, question answering, and conversational agents. It is used in <em>customer service chatbots, voice assistants, language translation apps, and sentiment analysis tools</em>.</p><p>However, NLP has its difficulties, such as ambiguity in language, context-specific meanings, and slang and colloquialisms. But, <strong>Recurrent Neural Networks (RNNs)</strong> and <em>Transformer models like BERT and GPT-3</em> have advanced deep learning techniques to help overcome these issues.</p><p>It is vital to stay updated with the latest developments in NLP to benefit from its capabilities for business and research. Don’t miss out on the opportunities provided by NLP; use them now to gain better communication and problem-solving abilities.</p><h3>Key Applications of Deep Learning in NLP</h3><p>Deep learning techniques have revolutionized the field of <strong>Natural Language Processing (NLP)</strong> by enabling the development of advanced applications. These applications leverage the power of deep learning algorithms to extract meaningful insights from text data, enabling a wide range of use cases in various domains.</p><p>One key application of deep learning in NLP is <strong>sentiment analysis</strong>. By training deep learning models on large datasets of labeled text, these models can accurately detect and classify the sentiment expressed in a piece of text, whether it is positive, negative, or neutral. This has numerous applications in <em>customer feedback analysis, brand monitoring, and social media analytics</em>.</p><p>Another important application of deep learning in NLP is <strong>machine translation</strong>. Deep learning models such as <strong>neural machine translation (NMT)</strong> can be trained to automatically translate text from one language to another. This technology has significantly improved the quality of machine translation systems, enabling more accurate and fluent translations.</p><p><strong>Information extraction</strong> is another area where deep learning shines in NLP. Deep learning models can be trained to extract structured information from unstructured text, such as named entities (e.g., person names, organization names) and relations between entities. This has applications in various fields, including information retrieval, question answering systems, and knowledge graph construction.</p><p>Furthermore, deep learning is also being applied in NLP tasks such as <strong>text generation, text summarization, and conversational agents</strong>. These applications leverage the power of deep learning algorithms to generate human-like text, summarize large documents, and engage in natural language conversations with users.</p><p>Overall, the key applications of deep learning in NLP are <strong>sentiment analysis, machine translation, information extraction, text generation, text summarization, and conversational agents</strong>. These applications have the potential to transform industries and improve human-computer interactions.</p><p>In order to stay ahead in this rapidly evolving field, it is essential for organizations to embrace deep learning techniques in their NLP applications. By harnessing the power of deep learning, organizations can unlock valuable insights from text data, improve customer experiences, and gain a competitive edge in the market. Don’t miss out on the opportunity to leverage deep learning in NLP and stay ahead of the competition.</p><p>Analyzing human sentiment and opinions with deep learning — now machines can understand your feelings better than your therapist, and without the expensive hourly rate!</p><h3>Challenges and Limitations of Deep Learning in NLP</h3><p>Natural Language Processing (NLP) has its own set of challenges and limitations when it comes to incorporating deep learning techniques. These challenges can hinder the effectiveness and performance of deep learning models in NLP tasks. Here, we will discuss the obstacles faced in the application of deep learning models to NLP problems.</p><ul><li><strong>Lack of Sufficient Training Data:</strong> The scarcity of labeled training data in NLP is a major hurdle for deep learning models. Annotated data is crucial for training models effectively, and the lack of it can lead to poor performance and generalization.</li><li><strong>Ambiguity and Polysemy in Language:</strong> NLP deals with the inherent ambiguity and polysemy present in human language. Deep learning models struggle with disambiguation, as determining the precise meaning of words and phrases becomes challenging.</li><li><strong>Contextual Understanding:</strong> Deep learning models often struggle to capture the contextual nuances in language. Understanding the intended meaning requires contextual information, which can be difficult to incorporate effectively into NLP models.</li><li><strong>Out-of-Distribution and Adversarial Examples:</strong> Deep learning models are vulnerable to out-of-distribution and adversarial examples, where slight variations or malicious intent can lead to incorrect predictions. This poses a threat to the reliability and robustness of NLP models.</li><li><strong>Dependency on Large-Scale Computing Resources:</strong> Deep learning models, particularly those utilizing neural networks with multiple layers, require significant computational resources to train and infer. This reliance on powerful hardware can limit the accessibility and practicality of deploying NLP solutions.</li><li><strong>Interpretability and Explainability:</strong> Deep learning models are often considered black boxes, as they lack transparency and interpretability. Understanding the rationale behind their predictions is a crucial requirement, especially in sensitive applications such as legal or medical domains.</li></ul><h3>Conclusion</h3><p>Deep learning has <strong>revolutionized NLP</strong> in recent years. It has improved accuracy and efficiency of various tasks, from <strong>machine translation</strong> to <strong>sentiment analysis</strong>. <strong>RNNs, CNNs, and transformers</strong> are being used.</p><p><strong>Machine translation</strong> has advanced thanks to deep learning models and large-scale parallel corpora. They model language structure and generate high-quality translations.</p><p><strong>Sentiment analysis</strong> is another application of deep learning, which extracts meaningful features from text data and provides valuable insights.</p><p>Other NLP tasks, such as <strong>named entity recognition, text summarization, and question-answering systems</strong>, benefit from deep learning techniques too.</p><p>For optimal model performance, it is crucial to use the right training data. <strong>Fine-tuning pre-trained models on domain-specific data enhances accuracy even further</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=121ca6472c72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resource Allocation in Project Management]]></title>
            <link>https://medium.com/@aaditya.ahire20/resource-allocation-in-project-management-71bb361e3d22?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/71bb361e3d22</guid>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Fri, 01 Dec 2023 12:29:58 GMT</pubDate>
            <atom:updated>2023-12-01T12:29:58.708Z</atom:updated>
            <content:encoded><![CDATA[<p>By- CS, Group 37</p><p>Authors:- <a href="https://medium.com/u/cf2929421997">AARYA MANE</a>, <a href="https://medium.com/u/124a0ea5c57e">Aaditya Ahire</a>, <a href="https://medium.com/u/19ea74021c6b">Dongre Samiksha</a>, <a href="https://medium.com/u/665d70629a4b">Shruti Hiremath</a></p><h3>What is Resource Allocation in Project Management?</h3><p>Resource allocation in project management is the technique of employing and utilizing available resources efficiently and effectively to accomplish project objectives. The process involves determining, allocating, and managing resources such as equipment, budget, materials, human resources, and time throughout the project lifecycle.</p><p>Businesses usually have a limited amount of resources, so it’s critical that they utilize those resources efficiently to reduce waste and increase return on investment. Although allocating resources is a crucial first step in project planning, managers also keep an eye on resource utilization over the course of a project and redistribute resources as appropriate.</p><p>Resource allocation in project management is crucial due to various reasons, including:</p><ul><li>Time management,</li><li>Optimal resource utilization,</li><li>Cost control,</li><li>Team collaboration,</li><li>Risk mitigation,</li><li>Prioritization and decision-making,</li><li>Performance tracking.</li></ul><p>The elements of resource allocation consist of identification, planning, assignment, optimization, and tracking to ensure efficient utilization and successful project execution. The <a href="https://www.knowledgehut.com/project-management-certifications">best Project Management courses</a> will help you get globally recognized certifications and understand allocation in project management better.</p><h3>Types of Resource Allocation Methods</h3><p>Typically, there are four types of resource allocation methods. They are as follows:</p><h3>Type 1: The Critical Path Method</h3><p>The critical path method (CPM) of resource allocation helps with project planning by identifying the resources that will be required at each stage. This form of resource allocation has a preventative stance, assisting in the early identification of details to help avert issues and resource reallocation later on in the project. It’s crucial to remember that this approach works best with projects that are more likely to follow a certain pattern.</p><h3>Type 2: The Critical Chain Method</h3><p>The Critical Chain Method is a project management strategy that concentrates on controlling and distributing resources based on the critical chain of the project, which is the longest chain of interdependent tasks.</p><p>By taking into account uncertainties and buffers, it seeks to maximize resource use and project schedule. This strategy aids in preventing resource bottlenecks and enhances overall project performance by identifying and safeguarding the essential chain.</p><h3>Type 3: Resource Leveling</h3><p>Resource leveling is a technique used in resource allocation to match the availability of resources with the demand for them over the course of a project. Providing a more equitable distribution of resources entails changing the project schedule by postponing or extending operations.</p><p>The goal is to avoid overusing or underusing resources, maximize resource use, and reduce project delays. Resource leveling contributes to the upkeep of a more effective and manageable project workflow by easing resource demands.</p><h3>Type 4: Resource Smoothing</h3><p>In resource allocation, resource smoothing is a technique used to manage scarce resources while keeping the project on schedule. It entails changing resource allocation while working within the confines of predetermined project deadlines.</p><p>The main goal is to maximize resource consumption while making sure that key jobs have the resources they require. Resource smoothing tries to allocate resources effectively without prolonging or delaying the project’s total duration, in contrast to resource leveling, which modifies the project timetable.</p><p>To successfully execute a project, it aids in finding a balance between resource availability and project timeframes. Here, the <a href="https://www.knowledgehut.com/project-management/pmp-certification-training">PMP certification course</a> will help you maximize your learning and make resource allocation smoother.</p><h3>Benefits of Resource Allocation</h3><p>Resource allocation for a project is beneficial in various ways. It helps in project planning and organization. Creating a plan for an activity beforehand will ensure effective team collaboration and help it perform exceptionally well. Resource allocation plays a crucial role in strategy implementation, ensuring that resources are strategically allocated to support the execution of organizational strategies.</p><p>Given below are some of the coveted benefits of resource allocation in project management:</p><ol><li><strong>Ensures Successful Project Completion</strong></li></ol><p>For any project to be successful, it’s crucial that it has the right resources. Business leaders or project leads can allocate appropriate labor, money, materials, and equipment to meet goals successfully.</p><p><strong>2. Project Submission within a Stipulated Time and Budget</strong></p><p>If business leaders ensure proper resource availability during the initiation stage of work processes, it can aid the team to finish the project within budget and required time. Not only will this help in brand awareness, but it will also lead to client satisfaction.</p><p><strong>3. Cost Reduction</strong></p><p>Resource allocation planning will assist a company in discovering and allocating the best resources for a project at reasonable prices. They can boost profitability, identify the most cost-effective strategies, and produce significant returns on investments.</p><p><strong>4. Enhance Employee Skill Sets</strong></p><p>Assigning team members or human resources to various types of tasks can aid in their professional growth and skill development. This may enhance their capacity to support a company’s goals and mission.</p><p><strong>5. Boost Employee Productivity</strong></p><p>It’s well known that when workers have the right opportunities and resources to finish tasks, they usually engross themselves completely in it with great enthusiasm and perform better. Such employees often have high productivity levels and work efficiently in teams.</p><p><strong>6. Enhance Products and Services</strong></p><p>Companies may create high-quality, competitively priced goods and services if they have access to the right resources. Such product improvements can foster a practice of time-focused resource allocation that ultimately smoothes the product timeline.</p><p>This makes resource allocation in strategy implementation a critical factor that ensures the optimal utilization of resources to execute organizational strategies effectively.</p><h3>How to Build Resource Allocation in Project Management?</h3><p>The resource allocation process involves four stages as follows:</p><p><strong>Step 1: Build a Project Plan</strong></p><p>Create a project plan first, defining the concept, objectives, and team for the project. Assign emphasis areas, stages, and activities to the project and develop a work breakdown structure for it. You can then use this to create a general timetable for each deliverable.</p><p><strong>Step 2: Identify Resource Requirements</strong></p><p>After you have created a task table, analyze the resource requirements for each component. They can be classified as either human or non-human resources. In the case of human resources, be specific about the abilities and talents required of team members. Set down the essential hardware and supply requirements for non-human resources. When you record these resource requirements, simultaneously estimate the budget for each project or project phase.</p><p><strong>Step 3: Discover Resources and Funding</strong></p><p>Once you have estimated your resource requirement, use the right software to determine the availability of internal and external resources to your company. You may need to rent equipment, hire new employees or make other decisions to obtain assistance for the project.</p><p>Incorporate the expenses associated with these resources into the comprehensive financial plans of your project and organization.</p><p><strong>Step 4: Allocate Resources and Funding Based on Plan</strong></p><p>After you’ve gathered your resources, distribute them in accordance with your plan. Ensure that every corporate leader is fully aware of the resources at their disposal. Using dashboards and reports, keep track of resource utilization and performance, and make any necessary plan adjustments.</p><p>For instance, you could want to swap out resources or reallocate them to a project with a high priority.</p><h3>What are the Common Problems of Resource Allocation?</h3><p>While resource allocation in project management, the project/resource managers may encounter the following challenges:</p><ul><li><strong>Resource Overallocation:</strong> When more resources are used for a task or activity than available or required, it results in inefficiency, higher costs, and a higher risk of team member burnout.</li><li><strong>Resource Underutilization:</strong> Allocating resources to tasks or activities that do not fully exploit their capabilities results in resource underutilization, which wastes resources and lowers productivity.</li><li><strong>Outdated Software:</strong> Although some businesses continue to use outdated software for their resource management’s central organizational structure, using cloud-based software may be more advantageous. This enables project managers to make adjustments in real time, prevent disputes and misunderstandings, and conserve time and resources thanks to computer automation features.</li><li><strong>Differences in Resource Availability:</strong> Each project may experience unanticipated changes in the availability of human or non-human resources because workers may become sick, equipment may malfunction, or other problems may arise. Make backup plans for these scenarios in advance so you can deal with them right away and easily overcome these difficulties.</li><li><strong>Alterations in Project Scope:</strong> Each project may encounter unforeseen changes in the project scope and availability of human or non-human resources due to employee sickness, equipment failure, or other issues. Create backup plans for these eventualities in preparation so you can handle them quickly and get through these challenges.</li><li><strong>Lack of Communication:</strong> Effective communication is key in ensuring the success of a project, and it’s important for managers to make sure everyone involved has access to resource plans and requirements. Consider using cloud-based project management software to share documents, calendars, and schedules and allow team members to collaborate in real-time.</li><li><strong>Improper Resource Monitoring and Control: </strong>Poor tracking and monitoring of resource usage and performance can lead to inefficient resource allocation and make it harder to find and fix problems.</li></ul><h3>Resource Allocation Plan Examples</h3><p>Let us look into the resource allocation examples:</p><p>You can use the following resource allocation plan examples when allocating funds for a project: Examining examples of resource allocation strategies will help you get ready for your own strategy, even if they vary depending on the goals and priorities of a company. Here are three instances of the procedure:</p><h3>Example 1: Human Resource Allocation Plan</h3><p>Here’s an example of the IT industry.</p><p>To guarantee the effective use of software developers, John is allocated 50% of the resources for a software development project running from January to April, Lisa 30%, and Michael 20%.</p><h3>Example 2: Budget Resource Allocation Plan</h3><p>During a marketing campaign from September to November, the marketing budget is divided as follows: 40% goes to digital advertising, 30% to print advertising, 20% to event sponsorship, and 10% to content creation.</p><h3>Example 3: Equipment Resource Allocation Plan</h3><p>Excavator A is allotted 60% of the work in a construction project that is anticipated to last from May to August, and Excavator B is allotted 40% of the work.</p><h3>Conclusion</h3><p>Resource allocation in project management is a crucial component that can make or break a project’s success. Project managers can maximize productivity, meet project deadlines, manage costs, and reduce risks by efficiently identifying, planning, and assigning resources.</p><p>❤ ❤ Thanks for reading this article ❤❤</p><p>If I got something wrong? Let me know in the comments. I would love to improve.</p><p>Clap 👏 If this article helps you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71bb361e3d22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning For Sentiment Analysis]]></title>
            <link>https://medium.com/@aaditya.ahire20/machine-learning-for-sentiment-analysis-5ecfa5ddbd5b?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ecfa5ddbd5b</guid>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Mon, 27 Nov 2023 08:27:36 GMT</pubDate>
            <atom:updated>2023-11-27T16:09:31.488Z</atom:updated>
            <content:encoded><![CDATA[<p>By- CS, Group 18</p><p>Authors:- <a href="https://medium.com/u/cf2929421997">AARYA MANE</a>, <a href="https://medium.com/u/124a0ea5c57e">Aaditya Ahire</a>, <a href="https://medium.com/u/19ea74021c6b">Dongre Samiksha</a>, <a href="https://medium.com/u/665d70629a4b">Shruti Hiremath</a></p><h3>Introduction to Sentiment Analysis</h3><p>A sentiment is a concept or feeling that someone expresses in words. With that in mind, sentiment evaluation is the process of predicting/extracting those ideas or feelings. We want to understand if the sentiment of a piece of writing is positive, negative, or neutral. precisely what we imply through positive/negative sentiment depends on the problem we’re looking to resolve.</p><p>You Must have given feedback to e-commerce websites about their product. That’s where sentiment analysis comes into play.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/0*v2tk8D1RvUMrlW9Q.png" /><figcaption>Source: MonkeyLearn</figcaption></figure><p>Sentiment analysis is the technique of using natural language processing, textual content analysis, and statistics to research customer sentiment. The pleasant groups apprehend the sentiment of their clients — what humans are pronouncing, how they’re saying it, and what they imply. client sentiment can be determined in tweets, feedback, critiques, or other places where people mention your brand. Sentiment evaluation is the area of understanding these emotions with software programs, and it’s a must-recognize for developers and commercial enterprise leaders in a contemporary workplace.</p><h3>What is Sentiment Analysis Used for?</h3><p>In today’s environment where we suffer from data overload (although this may mean better or deeper understanding), companies may have a lot of customer feedback collected. For humans, however, it is still difficult to process it in person without any form of error or bias.</p><p>In many cases, well-meaning companies find themselves unaware of it. You know you need the information to inform your decision-making. And you know you don’t have them. But you do not know how to find them.</p><p>The emotional analysis provides answers to the issues that are most important Because emotional analysis can be done automatically, decisions can be made based on a significant amount of data instead of an obvious sense that is not always right.</p><p>Because of these things sentimental analysis is being used at various places, like for brand monitoring, customer service, market research and analysis, and at various places.</p><h3>How Sentiment Analysis is done?</h3><p>There are two basic types for sentiment analysis</p><ol><li>Rule-based sentiment analysis</li><li>Machine Learning-based Sentiment Analysis</li></ol><h3>Rule-Based Sentiment Analysis</h3><p>This is a realistic way to analyze the text without training or using machine learning models. The result of this approach is to create a set of rules based on the text labeled positive/negative/neutral. These rules are also known as dictionaries. Therefore, the Law-based approach is called the Lexicon-based approach.</p><p>Widely used lexicon-based approaches are TextBlob, VADER, SentiWordNet.</p><blockquote><em>TextBlob</em></blockquote><p>TextBlob is a python library for Natural Language Processing (NLP).TextBlob actively uses Natural Language ToolKit (NLTK) to achieve its tasks. For lexicon-based approaches, a sentiment is defined by its semantic orientation and the intensity of each word in the sentence. This requires a pre-defined dictionary classifying negative and positive words. Generally, a text message will be represented by a bag of words. After assigning individual scores to all the words, the final sentiment is calculated by some pooling operation like taking an average of all the sentiments.</p><p>TextBlob returns the <strong>polarity</strong> and <strong>subjectivity</strong> of a sentence. Polarity lies between [-1,1], -1 defines a negative sentiment and 1 defines a positive sentiment. Negation words reverse the polarity. TextBlob has semantic labels that help with fine-grained analysis. For example — emoticons, exclamation marks, emojis, etc. Subjectivity lies between [0,1]. Subjectivity quantifies the amount of personal opinion and factual information contained in the text. The higher subjectivity means that the text contains personal opinions rather than factual information. TextBlob has one more parameter — intensity. TextBlob calculates subjectivity by looking at the ‘<strong>intensity</strong>’. Intensity determines if a word <em>modifies</em> the next word. For English, adverbs are used as modifiers (‘very good’).</p><blockquote><em>VADER</em></blockquote><p><strong>VADER (Valence Aware Dictionary for Sentiment Reasoning)</strong> is a model used to analyze sensitive text emotions in both polarities (good/bad) and emotional (strength) emotion. It is available in the NLTK package and can be used directly on labeled text data.</p><p>VADER’s emotional analysis is based on a dictionary that shows the lexical features of emotional stability known as emotional points. Text sensitivity can be obtained by summarizing the intensity of each word in the text.</p><p>For example- Words like ‘love’, ‘enjoy’, ‘rejoice’, ‘love’ all convey positive emotions. And VADER is wise enough to understand the basic meaning of these words, such as “did not like” as a negative statement. It also understands capital emphasis and punctuation, such as “HAPPY”.</p><h3>Machine Learning-Based Sentiment Analysis</h3><p>Here one has to train a model to recognize the sentiment primarily based on the phrases and their order the usage of a sentiment-labeled training set. This technique depends largely on the kind of algorithm and the quality of the training data used.</p><p>Let’s look at an example that involves stock trading. One takes news headlines and narrows them to lines that mention the particular organization that we are interested in and then gauge the polarity of the sentiment inside the text.</p><p>One way to make this method fit other sorts of problems is to measure polarity across different dimensions. you could study specific emotions. How irritated was the individual when they were writing the text? How much worry is conveyed in the text?</p><p>Now For clear understanding, we will see in detail how can we use Machine Learning Algorithms for Sentiment Analysis.</p><p>There are a number of complex strategies and algorithms used to instruct and train equipment to perform emotional analysis. There is good and bad in each other. However, when used together, they can produce extraordinary results. Below are some of the most widely used algorithms.</p><blockquote><strong><em>Linear Regression</em></strong></blockquote><p>Linearity is a mathematical algorithm used to predict the value of Y, given the X-values. Using machine learning, data sets are scanned to show relationships. The relationship is then placed next to the X / Y axis, with a straight line passing through them to predict further relationships.</p><p>The dropline calculates how the X input (words and phrases) corresponds to the Y output (polarity). This will determine where words and phrases fall within the range of polarity from “really good” to “really bad” and everywhere in between.</p><blockquote><strong><em>Support Vector Machine</em></strong></blockquote><p>The vector support machine is another moderated machine learning module, similar to the reversal of the line but more advanced. SVM uses algorithms to train and separate text within our emotional polarity model, taking action beyond X / Y speculation.</p><p>For a simple visual explanation, we will use two markers: red and blue, which have two data elements: X and Y. We will train our classifier to produce red or blue X / Y coordinate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/0*SUEA2zwkyDTwzpva.png" /><figcaption>Source: MonkeyLearn</figcaption></figure><p>SVM then provides us with a hyperplane that better separates tags. On both sides, this is simply a line (like the back of a line). Anything on one side of the line is red and anything on the other side is blue. For emotional analysis, this will be both positive and negative.</p><p>To increase machine learning, the leading hyperplane is the one that has the largest distance between each marker:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/0*LELrzp_DnV4I7SOl.png" /><figcaption>Source: MonkeyLearn</figcaption></figure><p>However, as data sets become more complex, it may not be possible to draw a single line to divide data into two categories:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/0*FahuUBUrUR0J1gxb.png" /><figcaption>Source: MonkeyLearn</figcaption></figure><p>With the use of SVM, the more complex the data, the more accurate the prediction will be. Consider the above in three dimensions, plus the Z-axis, so it becomes a circle.</p><p>The map has been restored to two dimensions with a moving hyperplane, it looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*SuCzfbOLFVydrMPf.png" /><figcaption>Source: MonkeyLearn</figcaption></figure><p>Simply put, SVM allows for more accurate machine reading because it is more diverse.</p><blockquote><strong><em>Naive-Bayes</em></strong></blockquote><p>Naive Bayes is the simplest and fastest classification algorithm for a large chunk of data. In various applications such as spam filtering, text classification, sentiment analysis, and recommendation systems, Naive Bayes classifier is used successfully. It uses the Bayes probability theorem for unknown class prediction.</p><p><strong>Naive Bayes algorithm intuition</strong></p><p>The Bayes theorem is used by the Naive Bayes Classifier to forecast membership probabilities for each class, such as the likelihood that a given record or data point belongs to that class. The most likely class is defined as the one having the highest probability. The Maximum A Posteriori (MAP) is another name for this.</p><p>For a hypothesis with two occurrences A and B, the MAP is</p><pre>MAP (A) = max (P (A | B))        = max (P (B | A) * P (A))/P (B)        = max (P (B | A) * P (A)</pre><p>Naïve Bayes classifier is one of the supervised classification techniques which classifies the text/sentence that belongs to a particular class. It is the probabilistic algorithm which calculates the probability of each word in the text/sentence and the word with the highest probability is considered as output.</p><ol><li>Let us consider a document a</li><li>A document a with a set of classes B = { b1, b2, … , bn}</li><li>Consider a training set having m documents that are pre-determined that belong to a particular class.</li></ol><p>Now we train our classification algorithm using this training set and we get trained classifiers. By using this trained classifier we can classify the new document.</p><p>While standard naive Bayes text classification can work well for sentiment analysis, some small changes are generally employed that improve performance.</p><p>First, for sentiment classification and a number of other text classification tasks, whether a word occurs or not seems to matter more than its frequency. Thus it often improves performance to clip the word counts in each document at b1. This variant is called binary NB multinomial naive Bayes or binary NB.</p><blockquote><strong><em>Deep Learning</em></strong></blockquote><p>Deep learning is a subfield of machine learning that aims to calculate data as the human brain uses “artificial neural networks.”</p><p>Deep learning is <em>hierarchical</em> machine learning. In other words, It is multi-level and allows a machine to automatically ‘chain’ a number of human-created processes together. By allowing multiple algorithms to be used progressively while moving from step to step, deep learning is able to solve complex problems in the same way humans do.</p><h3>Conclusion</h3><p>These are just some widely used machine learning algorithms. There are many Machine learning algorithms that can be used with sentiment analysis. Even two different algorithms can be combined and a person can work on that new algorithm which is also termed as hybrid sentiment analysis.</p><p>❤ ❤ Thanks for reading this article ❤❤</p><p>If I got something wrong? Let me know in the comments. I would love to improve.</p><p>Clap 👏 If this article helps you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ecfa5ddbd5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Role of Mathematics in Image Processing]]></title>
            <link>https://medium.com/@aaditya.ahire20/role-of-mathematics-in-image-processing-69943132066b?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/69943132066b</guid>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Thu, 12 Oct 2023 09:37:36 GMT</pubDate>
            <atom:updated>2023-10-12T09:37:36.416Z</atom:updated>
            <content:encoded><![CDATA[<p>By- CS, Group 12</p><p>Authors:- <a href="https://medium.com/u/124a0ea5c57e">Aaditya Ahire</a>, <a href="https://medium.com/u/cf2929421997">AARYA MANE</a>, <a href="https://medium.com/u/9883131c3ed7">Akshita Manwatkar</a>, <a href="https://medium.com/u/665d70629a4b">Shruti Hiremath</a></p><p>What is the <strong>Role of Mathematics in Image Processing</strong>?</p><p>During the previous decade, there has been increased integration of the fields of <strong>Image Processing</strong> (a subject of Computer Sciences) and those of Mathematics. Mathematics is quite inherent and deeply connected to various core Image Processing tasks: just like, De-noising, De-blurring, Enhancement, Segmentation and Edge Detection etc. The study of such Image Processing tasks provides a unique opportunity of incorporating <strong>Mathematical tools and techniques</strong> to address several of the <strong>Image Processing applications</strong> in various scientific fields of study.</p><p>Multiple Mathematical Techniques are used, i.e. for Image Filtering in the Spatial domain (using first- and second order partial derivatives, the gradient, Laplacian, and their discrete approximations by finite differences, averaging filters, order statistics filters, convolution), and in the frequency domain (Fourier transform, low-pass and high-pass filters), zerocrossings of the Laplacian, etc.</p><p>Most commonly used Image Processing tasks include; Image Restoration, Image Segmentation, Image Enhancement, De-Blurring, De-noising, etc Mathematics is quite inherent and deeply connected to various core Image Processing tasks: just like, De-noising, De-blurring, Enhancement, Segmentation and Edge Detection etc. The study of such Image Processing tasks provides a unique opportunity of incorporating Mathematical tools and techniques to address several of the Image Processing applications in various scientific fields of study.</p><h3>1) Histogram Equalization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFfC7FmJqR3nBEy5E0OZKw.png" /></figure><p>The operation of histogram equalization is used to reassign grey values in the image, such that the histogram of the resultant image is (theoretically) flat. I say theoretically because practically, image intensities are discrete, and it may not be possible to reassign values equally across greyscale. Practically speaking, this also means that the contrast is enhanced in the image, which is most of the times, a good thing, depending on your application. By contrast enhancement, we mean that intermediate greyscale intensities that were not well represented in the image earlier, are now distributed better, and the intensities that occurred with very high frequency are de-emphasized. Mostly the histogram isn’t perfectly flat and perfectly distributed after equalization, and the mean will be close to the middle grey level. Closer to the middle grey level after histogram equalization than it was earlier.</p><h3>2) Spatial Linear Filters</h3><p>There are two classes of spatial linear filters: (i) smoothing linear spatial filters (ii) sharpening linear spatial filters</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*-gEwRno_E9AJV2Y9pBwBVw.jpeg" /></figure><p>Smoothing linear spatial filters Smoothing is known to cause local averaging (or blurring), which is similar to spatial summation or spatial integration. During the smoothing process, small details and noise get lost, but sharp edges become blurry. Sharpening and smoothing operations result in opposite effects. Using a smoothing, a blurry image f is made sharper, where the edge of the image f would get enhanced</p><p>Sharpening linear spatial filters Sharpening linear filters for image enhancement uses the Laplacian technique. It is assumed that image function f has second-order partial derivatives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*gbjIH5Ux6ZWxz_uUwkEuuw.png" /></figure><h3>3) Laplacian Distribution</h3><p>The Laplacian distribution is one of the most commonly used approaches used for performing image analysis. Since the Laplacian approach uses invariant Gaussian kernels, there are known issues with regard to the inability to represent the edges of images suitably. Hence, this approach is not recommended for edge centric operations like preservation of image edges, image, smoothing and tone mapping.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*gPiZseblFz0rgUsXBsJ_jQ.png" /></figure><p>Laplacian operator is also known as a derivative operator which is used to find edges in an image. The major difference between Laplacian and other operators like Prewitt, Sobel, Robinson and Kirsch is that these all are first-order derivative masks but Laplacian is a second-order derivative mask. In this mask we have two further classifications one is Positive Laplacian Operator and other is Negative Laplacian Operator. Another difference between Laplacian and other operators is that unlike other operators Laplacian didn’t take out edges in any particular direction but it takes out edges in the following classification. • Inward Edges • Outward Edges</p><p>Original Image Histogram</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*84t7abNgfo5VZwoK7jkvWw.png" /></figure><p>Laplace Image Histogram</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*1G0Q9DCGbUgXIOPleQvHQQ.png" /></figure><p>Mathematics plays a fundamental and indispensable role in image processing, providing the theoretical foundation and computational tools necessary to analyze and manipulate images. Here are some key aspects of how mathematics is essential in image processing:</p><ol><li>Representation of Images:</li></ol><ul><li>Images are typically represented as 2D or 3D arrays of pixel values. Mathematics provides the framework for representing and understanding these arrays, which is essential for image storage, manipulation, and analysis.</li></ul><p>2. Image Transformations:</p><ul><li>Mathematics underpins various image transformations, such as Fourier transforms, wavelet transforms, and other domain conversions. These transformations enable the analysis of images in different domains, facilitating tasks like compression, filtering, and feature extraction.</li></ul><p>3. Filtering and Enhancement:</p><ul><li>Image filters, used for tasks like noise reduction and edge enhancement, are often based on mathematical operations (e.g., convolution). Mathematical algorithms and concepts help design and implement effective filters to enhance image quality and extract relevant information.</li></ul><p>4. Image Restoration and Reconstruction:</p><ul><li>Mathematical models and algorithms are employed to restore degraded or corrupted images. Techniques like deblurring and inpainting use mathematical optimization and statistical approaches to recover the original information in the image.</li></ul><p>5. Segmentation and Feature Extraction:</p><ul><li>Image segmentation involves dividing an image into meaningful parts, while feature extraction involves identifying important characteristics. Mathematical techniques, such as clustering algorithms, edge detection, and morphological operations, are used to accomplish these tasks.</li></ul><p>6. Geometric and Spatial Transformations:</p><ul><li>Mathematics is utilized to perform geometric transformations like rotation, scaling, translation, and affine transformations. These operations are crucial for aligning images, correcting distortions, and matching patterns.</li></ul><p>7. Pattern Recognition and Classification:</p><ul><li>Mathematical methods, including machine learning algorithms and statistical analysis, are applied for pattern recognition and classification tasks in image processing. These techniques help in identifying objects, shapes, or patterns within images.</li></ul><p>8. Quantitative Analysis:</p><ul><li>Mathematics enables the quantification and measurement of various image properties, such as intensity, texture, color, and shapes. These measurements are vital for tasks like object counting, image comparison, and statistical analysis.</li></ul><p>9. Data Compression:</p><ul><li>Techniques like JPEG and PNG compression use mathematical algorithms to reduce the size of image data while preserving essential image information. Mathematics plays a significant role in these compression algorithms.</li></ul><p>In summary, mathematics provides the theoretical foundation, algorithms, and tools necessary to analyze, process, and interpret images effectively in a wide range of applications, from medical imaging and computer vision to entertainment and communication.</p><p><strong>Conclusion:-</strong></p><p>By this, we come to the tip of this text on Role of Mathematics in Image Processing. We hope you enjoyed reading this text. we have got to see the various topics like Histogram Equailization, Spatial Linear Filters, Laplacian Distribution which will facilitate you and have a quick insight on this subject.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69943132066b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dark Web]]></title>
            <link>https://medium.com/@aaditya.ahire20/dark-web-a16ed1038c7c?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a16ed1038c7c</guid>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Thu, 13 Apr 2023 10:15:54 GMT</pubDate>
            <atom:updated>2023-05-03T10:09:56.576Z</atom:updated>
            <content:encoded><![CDATA[<p>By- CS-A, Batch-3, Group TY16</p><p>Authors:- <a href="https://medium.com/u/124a0ea5c57e">Aaditya Ahire</a>, <a href="https://medium.com/u/cf2929421997">AARYA MANE</a>, <a href="https://medium.com/u/2cac739513b0">Abubakar Bagban</a>, <a href="https://medium.com/u/19ea74021c6b">Dongre Samiksha</a></p><h4>What Is the Dark Web?</h4><p>An disquisition of what the dark web is can begin by understanding its origins. Developed to help anonymize government intelligence dispatches, the dark web takes advantage of network routing capabilities designed originally to cover intelligence data online via the use of special outfit and programs. A Tor Cybersurfer or an unnoticeable Internet Protocol( I2P) setup must be configured to allow anonymous online exertion for dark websites to be accessible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*ugJjQWrNV8amp63RcXsKBQ.jpeg" /></figure><p><strong>What is Deep Web?</strong></p><p>The” deep web” includes everything on the Net that’s word defended, paywalled or indeed just defended from crawling by a point’srobots.txt train, which altogether regard for anywhere between 96 and 99 of the content of the Net will noway be set up on any conventional hunt machine. For case, when you log in to your favorite videotape streaming point or check your bank account balance online, that is the deep web at work.</p><h4>Dark Web Services</h4><p>The dark web also presents the option of paying for sensitive data and playing services rather of malware and contagion packages that bear the buyer to have a advanced position of moxie. Security pen Matias Porolli lists these services in” Cybercrime Black requests Dark Web Services and Their Prices” on WeLiveSecurity:</p><ul><li><strong>Ransomware as a service</strong> — Preconfigured ransomware vended on a yearly or periodic base</li><li><strong>Selling access to waiters — </strong>could potentially refer to the act of offering or selling bribes or other unethical incentives to waiters in order to gain unauthorized access to restricted areas or information.</li><li><strong>Renting structure</strong> — renting a structure on the dark web could potentially involve illegal activities such as money laundering, drug trafficking, or other criminal acts.</li><li><strong>Selling PayPal and credit card accounts.</strong></li></ul><p><strong>Difference Between Dark Web and Deep Web</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-qbnpwi82kINNttnkIdLZQ.jpeg" /></figure><p>“ Deep web” and” dark web” are NOT exchangeable terms. Although the entire dark web is part of the deep web, it is not true in rear. Simply put, the deep web is any part of the Net that isn’t listed by hunt machines. This includes websites that gate their content behind paywalls, word- defended websites and indeed the contents of your dispatch. The dark web, on the other hand, uses encryption software to give indeed lesser security.</p><h4>How Cyber Security Professionals Navigate the Dark Web</h4><p>For cyber security labor force, especially those who deal directly with guarding sensitive systems against cyber attacks, understanding the dark web can help them study the ways of the adversary, so to speak.</p><p>Dark web cyber trouble intelligence mining is the process by which the more inapproachable corners of the internet are trolled for practicable intelligence to strengthen cyber security. In SecurityIntelligence’s” 7 Ways to Identify Darknet Cyber Security Risks,” tech pen Jasmine Henry points out that dark web- grounded arising pitfalls and vulnerabilities can be anatomized to cover against pitfalls before they can strike.</p><p>Those who work in the cyber security assiduity moment are entering a field where lifelong literacy practices are precious. Cyber culprits move presto and introduce new hacks daily. Through the dark web, still, cyber security professionals can probe their ways and learn how to fight their moves before they can launch their attack.</p><h4><strong>What is the dark web used for?</strong></h4><p>The dark web can be used for good and bad purposes. Generally, visiting the darknet isn’t illegal unless there’s country- position suppression. still, China and some other countries have banned use of The Onion Router, precluding their citizens from penetrating the network.</p><p>Legal uses of the dark web can include effects like anonymous information sharing for academic exploration and background verifications. Also, some major social media and news media spots are on the dark web so druggies can pierce and read them anonymously.</p><p>Illegal uses of the darknet include buying and dealing stolen information like stoner login credentials, sensitive particular information like social security figures, payment card information; selling and buying of medicines; and child pornography.</p><h4><strong>What does the dark web mean for cyber security?</strong></h4><p>Monitoring the dark web for information that can be used to target your business helps get ahead of pitfalls. Stolen login credentials are of particular concern, representing 37 of breaches Verizon anatomized in its 2020 Data Breach examinations Report. Illegal dark web forums and commerce vend stolen credentials, other stolen information, and malware. vicious actors use the stolen information to target businesses to gain network access for ransomware attacks and further.</p><ul><li>Phishing emails can use stolen business information to appear more authentic</li><li>Credential filling attacks use stolen login credentials in bulk to take advantage of word exercise and occasional word updates.</li></ul><h4><strong>The Risks of the Dark Web</strong></h4><p>The dark web is a common gathering place for hackers and other cybercriminals, which can make browsing the dark web a parlous exertion. Callers to the dark web should exercise extreme caution when downloading lines, as they may infect your bias with contagions, malware, trojans, ransomware or other vicious lines. At a minimum, druggies should insure that their cybersecurity defenses are actuated and over- to- date.</p><p>That said, numerous of the actors on the dark web are largely professed digital adversaries who can fluently outthink introductory security measures. As a leading cybersecurity seller, Crowd Strike cautions all associations and individualities to refrain from using the dark web.</p><h4>Hidden Services of Dark Web</h4><p>Hidden services are a key feature of the dark web that allow users to create and access websites and online services anonymously. Hidden services are websites that can only be accessed through the Tor network, which is an encrypted network that allows users to browse the internet anonymously.</p><p>Here are some examples of hidden services on the dark web:</p><ol><li>Silk Road: One of the most well-known hidden services on the dark web was Silk Road, which was an online marketplace for illegal drugs and other illicit goods and services. Silk Road was shut down by law enforcement in 2013, but other similar marketplaces have since emerged.</li><li>The Hidden Wiki: The Hidden Wiki is a directory of hidden services on the dark web, which provides links to various websites and services that can only be accessed through the Tor network.</li><li>SecureDrop: SecureDrop is a secure platform for whistleblowers and journalists to share sensitive information anonymously. The platform allows users to submit documents and communicate securely without fear of being tracked or identified.</li><li>Dread: Dread is a dark web forum that is similar to Reddit, where users can discuss a wide range of topics, including drugs, hacking, and politics. Dread has become a popular platform for illegal activities and has been linked to several high-profile cybercrimes.</li><li>Cryptocurrency Exchanges: Cryptocurrency exchanges such as BitMixer and BitBlender allow users to exchange Bitcoin and other cryptocurrencies anonymously. These services are often used by cybercriminals to launder money and make anonymous transactions.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WAfPuvZ-2wFilVKxMyEGhg.jpeg" /></figure><h4>Conclusion</h4><p>By this, we come to the tip of this text on Dark Web. We hope you enjoyed reading this text. we have got to see the various topics like What is Dark Web, What is Deep Web, Dark Web Services, How Cyber Security Professionals Navigate the Dark Web, Risks of Dark Web, Uses of Dark Web and Difference between Dark Web and Deep Web which will facilitate you and have a quick insight on this subject.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a16ed1038c7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Greedy Algorithm]]></title>
            <link>https://medium.com/@aaditya.ahire20/greedy-algorithm-a38adab0c9f9?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a38adab0c9f9</guid>
            <category><![CDATA[greedy-algorithms]]></category>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Mon, 21 Nov 2022 15:24:09 GMT</pubDate>
            <atom:updated>2022-11-25T06:14:35.190Z</atom:updated>
            <content:encoded><![CDATA[<p>By- CS-A, Batch-3, Group TY16</p><p>Authors:- <a href="https://medium.com/u/124a0ea5c57e">Aaditya Ahire</a>, <a href="https://medium.com/u/cf2929421997">AARYA MANE</a>, <a href="https://medium.com/u/2cac739513b0">Abubakar Bagban</a>, <a href="https://medium.com/u/19ea74021c6b">Dongre Samiksha</a></p><p><strong>What is Greedy Algorithm?</strong></p><p>A <strong>Greedy Algorithm</strong> is an approach for solving a problem by selecting the best option available at the moment. It doesn’t worry whether the current best result will bring the overall optimal result.</p><p>The algorithm never reverses the earlier decision even if the choice is wrong. It works in a top-down approach. This algorithm may not produce the best result for all the problems. It’s because it always goes for the local best choice to produce the global best result.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a8LqmJC44bONNMcqeH2Mpg.png" /></figure><p><strong>History of Greedy Algorithm</strong></p><ul><li>Edsger Dijkstra proposed the concept of greedy algorithms to generate minimum spanning trees. He wanted to short the routes in Amsterdam.</li><li>Greedy algorithms were used for multiple walk graph problems in the 1950s.</li><li>American researchers, Cormen, Rivest, and Stein in 1970 put forward a proposal for recursive substructuring of greedy solutions in their book “ Introduction to algorithms”.</li><li>Many networking protocols like open-shortest-path-first (OSPF) use a greedy approach to minimize time spent on the network.</li></ul><p><strong>We can determine if the algorithm can be used with any problem if the problem has the following properties:-</strong></p><ol><li><strong>Greedy Choice Property</strong></li></ol><p>If an optimal solution to the problem can be found by choosing the best choice at each step without reconsidering the previous steps once chosen, the problem can be solved using a greedy approach. This property is called greedy choice property.</p><p>The choice made by a greedy algorithm may depend on choices made so far, but not on future choices or all the solutions to the subproblem. It iteratively makes one greedy choice after another, reducing each given problem into a smaller one. In other words, a greedy algorithm never reconsiders its choices. This is the main difference from dynamic programming, which is exhaustive and is guaranteed to find the solution. After every stage, dynamic programming makes decisions based on all the decisions made in the previous stage and may reconsider the previous stage’s algorithmic path to the solution.</p><p><strong>2. Optimal Substructure</strong></p><p>If the optimal overall solution to the problem corresponds to the optimal solution to its subproblems, then the problem can be solved using a greedy approach. This property is called optimal substructure.</p><p>Typically, a greedy algorithm is used to solve a problem with optimal substructure if it can be proven by induction that this is optimal at each step. Otherwise, provided the problem exhibits overlapping subproblems as well, divide-and-conquer methods or dynamic programming may be used. If there are no appropriate greedy algorithms and the problem fails to exhibit overlapping subproblems, often a lengthy but straightforward search of the solution space is the best alternative.</p><h4><strong>Greedy Algorithms have 5 pillars in general:</strong></h4><ol><li>A set of candidates from which a solution is derived.</li><li>A function that selects the best candidate for inclusion in the solution.</li><li>A feasibility function that determines whether or not a candidate can contribute to a solution.</li><li>An objective function is a function that assigns a value to a solution or partial solution.</li><li>A solution function that will let us know when we’ve found a complete solution.</li></ol><h4>Greedy Algorithms offer both benefits and drawbacks:</h4><ul><li>It is quite simple to devise a greedy algorithm (or even numerous greedy algorithms) for a given task.</li><li>It will be considerably easier to analyze the run time of greedy algorithms than it will be for other techniques (like Divide and conquer). It’s unclear whether the Divide and conquer strategy is speedy or sluggish. This is because the size of the problem shrinks as the number of subproblems grows at each level of recursion.</li><li>The tricky thing is that understanding accuracy issues for greedy algorithms is substantially more complex. Even if the algorithm is correct, proving why it is correct is difficult. Proving the correctness of a greedy algorithm is more of an art than a science. It necessitates a great deal of imagination.</li></ul><h4><strong>Greedy Approach</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/0*uzoXE-z9dJAXs-cq.png" /></figure><p>1. Let’s start with the root node <strong>20</strong>. The weight of the right child is <strong>3</strong> and the weight of the left child is <strong>2</strong>.</p><p>2. Our problem is to find the largest path. And, the optimal solution at the moment is <strong>3</strong>. So, the greedy algorithm will choose <strong>3</strong>.</p><p>3. Finally the weight of an only child of <strong>3</strong> is <strong>1</strong>. This gives us our final result 20+3+1=24.</p><p>However, it is not the optimal solution. There is another path that carries more weight (20+2+10=32) as shown in the image above.</p><p><strong>Applications of Greedy Algorithm-</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*AmvYJS8X29f6-CjF8HFsiw.jpeg" /></figure><h3>Different Types of Greedy Algorithm</h3><ul><li>Selection sort</li><li>Knapsack Problem</li><li>Minimum Spanning Tree</li><li>Single-Source Shortest Path Problem</li><li>Job Scheduling Problem</li><li>Prim’s Minimal Spanning Tree Algorithm</li><li>Kruskal’s Minimal Spanning Tree Algorithm</li><li>Dijkstra’s Minimal Spanning Tree Algorithm</li><li>Huffman Coding</li><li>Ford-Fulkerson Algorithm</li></ul><p><strong>Conclusion:-</strong></p><p>By this, we come to the tip of this text on Greedy Algorithm. We hope you enjoyed reading this text. we have got to see the various topics like Greedy Choice Property, Optimal Substructure, Greedy Algorithm Pillars, Different Types of Greedy Algorithm which will facilitate you and have a quick insight on this subject.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a38adab0c9f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Program Analysis]]></title>
            <link>https://medium.com/@aaditya.ahire20/program-analysis-83920dad71a5?source=rss-124a0ea5c57e------2</link>
            <guid isPermaLink="false">https://medium.com/p/83920dad71a5</guid>
            <category><![CDATA[program-analysis]]></category>
            <dc:creator><![CDATA[Aaditya Ahire]]></dc:creator>
            <pubDate>Sun, 05 Jun 2022 10:01:18 GMT</pubDate>
            <atom:updated>2022-06-28T18:47:48.572Z</atom:updated>
            <content:encoded><![CDATA[<p>By- CS-A, Batch-3, Group SY16</p><p>Authors:- <a href="https://medium.com/u/124a0ea5c57e">Aaditya Ahire</a>, <a href="https://medium.com/u/cf2929421997">AARYA MANE</a>, <a href="https://medium.com/u/554f4b627374">Adarsh Acharya</a>, <a href="https://medium.com/u/2cac739513b0">Abubakar Bagban</a></p><h3>What is Program Analysis?</h3><p>In technology, <strong>Program Analysis</strong> is that the process of automatically analyzing the behavior of computer programs regarding a property like correctness, robustness, safety and liveness. Program analysis concentrate on two major areas: program optimization and program correctness. the primary focuses on improving the program’s performance while reducing the resource usage while the latter focuses on ensuring that the program does what it’s purported to do.</p><p>Program analysis are often performed without executing the program (static program analysis), during runtime (dynamic program analysis) or in a very combination of both.</p><p><strong>Program Analysis </strong>is an automatic tool whose input is that the ASCII text file or the executable code of a program and therefore the output is that the observation of characteristics of the program. It gives various characteristics of the program like its size, complexity, adequacy of commenting, adherence to programming standards and lots of other characteristics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*daTgIM0CsgGww40z.jpg" /></figure><p><strong>How Program Analysis Tools are used and why is it necessary?</strong></p><p>A program analysis tool implies an automatic tool that takes the ASCII text file or the executable code of a program as information and produces reports with reference to some significant attributes of the program, for instance, its size, multifaceted nature, sufficiency of remarking, adherence to programming gauges, and so on.</p><p>We can arrange these into two general classes of program investigation devices.</p><ol><li><strong>Static program analysis tools</strong></li><li><strong>Dynamic program analysis tools</strong></li></ol><p><strong>Classification of Program Analysis Tools:</strong><br>Program Analysis Tools are classified into two categories:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/0*ip3VSBL4g4ByEksU.png" /></figure><ol><li><strong>Static Program Analysis Tools:</strong></li></ol><p>Static Program Analysis Tool is such a program analysis tool that evaluates and computes various characteristics of a product without executing it. Normally, static program analysis tools analyze some structural representation of a program to achieve a particular analytical conclusion. Basically some structural properties are explored using static program analysis tools.</p><p>static analysis can discover vulnerabilities during the event phase of the program. These vulnerabilities are easier to correct than those found during the testing phase since static analysis results in the foundation of the vulnerability.</p><p>Incorrect optimizations are highly undesirable. So, within the context of program optimization, there are two main strategies to handle computationally undecidable analysis:</p><ol><li>An optimizer that’s expected to finish in an exceedingly relatively short amount of your time, like the optimizer in an optimizing compiler, may use a truncated version of an analysis that’s bound to complete during a finite amount of your time, and sure to only find correct optimizations.</li><li>A third-party optimization tool is also implemented in such the simplest way on never produce an incorrect optimization, but also in order that it can, in some situations, continue running continually until it finds one (which may never happen). during this case, the developer using the tool would need to stop the tool and avoid running the tool on it piece of code again (or possibly modify the code to avoid tripping up the tool).</li></ol><p>However, there’s also a 3rd strategy that’s sometimes applicable for languages that aren’t completely specified, such as C. An optimizing compiler is at liberty to get code that does anything at runtime — even crashes — if it encounters ASCII text file whose semantics are unspecified by the language standard in use.</p><h4>Control-flow:</h4><p>The purpose of control-flow analysis is to get information about which functions will be called at various points during the execution of a program. The collected information is represented by a control-flow graph (CFG) where the nodes are instructions of the program and therefore the edges represent the flow of control. By identifying code blocks and loops CFG becomes a start line for compiler made optimizations.</p><h4>Data-flow analysis:</h4><p>Data-flow analysis could be a technique designed to assemble information about the values at each point of the program and the way they modify over time. this method is usually utilized by compilers to optimize the code. one in all the foremost known samples of data-flow analysis is taint checking which consists of considering all variables which contain user supplied data — which is taken into account “tainted”, i.e. insecure — and preventing those variables from getting used until they need been sanitized. this system is usually wont to prevent SQL injection attacks. Taint checking will be done statically or dynamically.</p><h4>Abstract interpretation:</h4><p>Abstract interpretation allows the extraction of knowledge a couple of possible execution of a program without actually executing the program. This information are often employed by compilers to appear for possible optimizations or for certifying a program against certain classes of bugs.</p><h4><strong>Applications Of Static Program Analysis Tools:</strong></h4><p>A Static analysis tool by Grammatech not only lets a user find a computer error, but it also helps find out domain-related coding errors. It also allows customizing checkpoints and also built-in checks will be configured as per the necessity.</p><h4><strong>2. Dynamic Program Analysis Tools:</strong></h4><p>Dynamic Program Analysis Tool is such sort of program analysis tool that need the program to be executed and its actual behavior to be observed. A dynamic program analyzer basically implements the code. It adds additional statements within the ASCII text file to gather the traces of program execution. When the code is executed, it allows us to watch the behavior of the software for various test cases. Once the software is tested and its behavior is observed, the dynamic program analysis tool accomplish a post execution analysis and produces reports which report the structural coverage that has been achieved by the entire testing process for the program.</p><p>The results of dynamic program analysis tools are within the style of a histogram or a chart. It describes the structural coverage obtained for various modules of the program. The output of a dynamic program analysis tool is stored and printed easily and provides evidence that complete testing has been done. The results of dynamic analysis is that the extent of testing performed as white box testing. If the testing result’s not satisfactory then more test cases are designed and added to the test scenario. Also dynamic analysis helps in liquidation of redundant test cases.</p><p>Dynamic analysis can use runtime knowledge of the program to extend the precision of the analysis, while also providing runtime protection, but it can only analyze one execution of the matter and might degrade the program’s performance thanks to the runtime checks.</p><h4>Testing:</h4><p>Software should be tested to confirm its quality which it performs because it is meant to during a reliable manner, which it won’t create conflicts with other software that will function alongside it. The tests are performed by executing the program with an input and evaluating its behavior and also the produced output.</p><h4>Monitoring:</h4><p>Program monitoring records and logs different forms of information about the program like resource usage, events, and interactions, so it will be reviewed to seek out or pinpoint causes of abnormal behavior. Furthermore, it are often accustomed perform security audits. Automated monitoring of programs is usually mentioned as runtime verification.</p><h4>Program slicing:</h4><p>For a given subset of a program’s behavior, program slicing consists of reducing the program to the minimum form that also produces the chosen behavior. The reduced program is termed a “slice” and could be a faithful representation of the initial program within the domain of the desired behavior subset. Generally, finding a slice is an unsolvable problem, but by specifying the target behavior subset by the values of a group of variables, it’s possible to get approximate slices employing a data-flow algorithm. These slices are usually utilized by developers during debugging to locate the source of errors.</p><h4><strong>Applications Of Dynamic Program Analysis Tools:</strong></h4><p>Dynamic Program analysis tools simplify the method of understanding how your complex application runs so as to troubleshoot problems, isolating memory and performance issues, and debug your live application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/0*ujjnrpGiIQysIyJo" /></figure><h4>Program analysis tools are supported four reasoning techniques:</h4><p>(1) deduction from code to concrete runs</p><p>(2) observation of concrete runs</p><p>(3) induction from observations into abstractions</p><p>(4) experimentation to seek out causes for specific effects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*Jxb6EBgLUBVs0jL60jBdGA.jpeg" /><figcaption>Program Analysis Techniques</figcaption></figure><h4><strong>What is program analysis architecture?</strong></h4><p>Programming &amp; Analysis focuses on the primary phase of a project, often cited as pre-design. during this experience area, you’ll complete tasks associated with researching and evaluating client requirements, code and zoning regulations, and site data to develop recommendations on the feasibility of a project.</p><h4><strong>What are the steps of program analysis?</strong></h4><ul><li>Analyze the matter with precision</li><li>Create a prototype and experiment with it until all requirements are completed</li><li>Design an algorithm for the task using the tools of the info structure</li><li>Verify the algorithmic steps</li><li>Analyze the algorithm for checking its requirements</li><li>Code the algorithm to any suitable programming language</li><li>Test and evaluate the code</li><li>Refine and remake the preceding steps until the software is complete</li><li>Optimize the code to enhance performance</li><li>Maintain the appliance that you just have designed so it meets the upcoming client’s and users need</li></ul><h4><strong>Who Needs Program Analysis?</strong></h4><p>Three primary consumers of program analysis:</p><ul><li>Compilers</li><li>Software Quality Tools</li><li>Integrated Development Environments (IDEs)</li></ul><h4>Results of Program Analysis</h4><p>The data comes from the program itself, and test oracle techniques that use program analysis are usually supported some assumptions of program correctness or program faults.</p><p>A popular quite program analysis accustomed generate oracles is mutation analysis. The program under test is injected with mutations (i.e., small code changes) to form faulty program versions (called “mutants”), and also the mutants are tested using the test cases for the initial program to work out whether or not they are often killed within the test. A mutant is killed if the test cases reveal a deviation of the mutant from the initial program. Mutation analysis are often viewed as a sort of dynamic analysis and is usually wont to evaluate the standard of test suites in terms of their effectiveness in killing mutants. Recently, some researchers have exploited mutation analysis to make test oracles . By using mutation analysis, these techniques don’t require historical versions or correct versions and might detect errors within the current version without requiring early versions as in regression testing. However, the key assumption of mutation analysis is that the mutants are good indicative of real program faults.</p><p><strong>Conclusion:</strong></p><p>By this, we come to the tip of this text on Program Analysis. We hope you enjoyed reading this text. we’ve got seen the various topics like Program Analysis Steps, Dynamic Analysis, Static Analysis and techniques of Program Analysis which will facilitate your have a quick insight on this subject.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83920dad71a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>