<?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 Jagath Karra on Medium]]></title>
        <description><![CDATA[Stories by Jagath Karra on Medium]]></description>
        <link>https://medium.com/@jagathprasad0?source=rss-53b71ecb4939------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*byOMcMTdXO5tyT4eVxrJSw.jpeg</url>
            <title>Stories by Jagath Karra on Medium</title>
            <link>https://medium.com/@jagathprasad0?source=rss-53b71ecb4939------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 03:09:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jagathprasad0/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[GraphQL with Mediator Pattern.]]></title>
            <link>https://jagathprasad0.medium.com/graphql-with-mediator-pattern-8c3876137a19?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c3876137a19</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[cqrs-pattern]]></category>
            <category><![CDATA[net-core-6]]></category>
            <category><![CDATA[mediator-pattern]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Fri, 24 Jan 2025 06:58:42 GMT</pubDate>
            <atom:updated>2025-01-24T06:58:42.929Z</atom:updated>
            <content:encoded><![CDATA[<p>We are creating a graphQL with hotchocolate and MediateR libraries with .net core api.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*JuTqYztQ9SCDE998i67cOg.png" /></figure><p>using CQRS pattern for QueryHandler and CommandHandler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6zNHiJTKq-pFmP4ACdDojg.png" /></figure><p>configuring Hotchocolate and MediaR in middleware in Program.cs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJJ6ysRtGC4bDuQEj65DfQ.png" /></figure><p>creating a schema for Query and Mutation using Hotchocolate and with IMediator interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j053CeMG622b424toTubRA.png" /></figure><p>its working fine I am able to create Production application. you can find the below github url for source code.</p><p><a href="https://github.com/JagathPrasad/graphql_mediator_cqrs">https://github.com/JagathPrasad/graphql_mediator_cqrs</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c3876137a19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.Net Core Custom Service Lifetimes.]]></title>
            <link>https://jagathprasad0.medium.com/net-core-custom-service-lifetimes-4e5195ca6c3f?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e5195ca6c3f</guid>
            <category><![CDATA[ioc-container]]></category>
            <category><![CDATA[net-core-6]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[dependency-injection]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sun, 13 Aug 2023 12:48:19 GMT</pubDate>
            <atom:updated>2023-08-22T18:13:01.547Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of blogs will be telling you, how to use Dependency Injection with Lifetimes, not clear how it works.</p><h3>Dependency Injection</h3><p>Dependency Injection (DI) is a design pattern used to implement IoC. It allows the creation of dependent objects outside of a class and provides those objects to a class through different ways. Using DI, we move the creation and binding of the dependent objects outside of the class that depends on them.</p><p>.NET supports the dependency injection (DI) software design pattern, which is a technique for achieving Inversion of Control (IoC) between classes and their dependencies. Dependency injection in .NET is a built-in part of the framework, along with configuration, logging, and the options pattern.</p><h3>Service Lifetimes</h3><p>There are 3 types of lifetimes supported by ASP.NET Core for the dependency injection,</p><p><strong><em>Transient Service<br>Scoped Service<br>Singleton Service</em></strong></p><h3>Transient</h3><p>Services are created each time they are requested. It gets a new instance of the injected object, on each request of this object. For each time you inject this object is injected in the class, it will create a new instance.</p><h3>Scoped</h3><p>Services are created on each request (once per request). This is most recommended for WEB applications. So for example, if during a request you use the same dependency injection, in many places, you will use the same instance of that object, it will make reference to the same memory allocation.</p><h3>Singleton</h3><p>Services are created once for the lifetime of the application. It uses the same instance for the whole application.</p><h3>Custom Service Lifetimes</h3><p>Above information are common in all blogs, here I am showing you to create your custom service lifetimes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*-_40Nn6BkGqMIj72o-cU6Q.png" /><figcaption>DIServiceCollection is my custom Service Lifetime class</figcaption></figure><p>Above image using different types of custom lifetimes like Singleton and Transient in different ways.</p><p>How these lifetimes are creating, based on the dynamic instance creation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*OdPEeYUKBoy9-ny8onP18Q.png" /><figcaption>Dynamic instance Creation</figcaption></figure><p>using “<strong><em>Activator.CreateInstance”</em></strong> is dynamic instance creator, based on this lifetime maintains the instance memory.</p><p>for source code, please check below github url.</p><p><a href="https://github.com/JagathPrasad/depency_injection">https://github.com/JagathPrasad/depency_injection</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e5195ca6c3f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microservice Architecture .Net Core]]></title>
            <link>https://jagathprasad0.medium.com/microservice-architecture-net-core-d1b9abeeb191?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1b9abeeb191</guid>
            <category><![CDATA[message-broker]]></category>
            <category><![CDATA[microservice-architecture]]></category>
            <category><![CDATA[ocelots]]></category>
            <category><![CDATA[api-gateway]]></category>
            <category><![CDATA[net-core]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sun, 16 Jul 2023 17:28:18 GMT</pubDate>
            <atom:updated>2025-02-04T09:26:49.682Z</atom:updated>
            <content:encoded><![CDATA[<h3>Microservice Architecture .Net Core</h3><p>What are Microservices?</p><p>Microservices are an architectural and organizational approach to software development where software is composed of small independent services that communicate over well-defined APIs. These services are owned by small, self-contained teams.</p><p>Microservices architectures make applications easier to scale and faster to develop, enabling innovation and accelerating time-to-market for new features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rKnIARdyKPzR6KzfPbuMkw.png" /></figure><h3>Monolithic vs. Microservices Architecture</h3><p>With monolithic architectures, all processes are tightly coupled and run as a single service. This means that if one process of the application experiences a spike in demand, the entire architecture must be scaled. Adding or improving a monolithic application’s features becomes more complex as the code base grows. This complexity limits experimentation and makes it difficult to implement new ideas. Monolithic architectures add risk for application availability because many dependent and tightly coupled processes increase the impact of a single process failure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*egtS5YSa8w8WzXRVkcfc3g.png" /></figure><p>With a microservices architecture, an application is built as independent components that run each application process as a service. These services communicate via a well-defined interface using lightweight APIs. Services are built for business capabilities and each service performs a single function. Because they are independently run, each service can be updated, deployed, and scaled to meet demand for specific functions of an application</p><h3>What Is an API Gateway?</h3><p>When building microservices-based applications, an API Gateway is needed to have a central place where authentication, throttling, orchestration, etc., is implemented. Without an API Gateway in place, you might typically implement each of these in each service, and hence maintaining them for each service would be a daunting task at hand. An API Gateway decouples the service producer from its consumer, providing a security layer since you need not expose your microservices directly.</p><p>As soon as it receives a request, it breaks it into multiple requests (if needed) and then routes them to the appropriate downstream microservice. You can take advantage of an API Gateway to centralize, manage, and monitor the non-functional requirements of an application, orchestrate the cross-functional microservices, and reduce roundtrips. By managing requests consistently, an API Gateway can help reduce the latency and improve security.</p><p><a href="https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/implement-api-gateways-with-ocelot">https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-microservice-net-applications/implement-api-gateways-with-ocelot</a></p><p>In the DownstreamPathTemplate field, we define the url directory of the api application. In UpstreamPathTemplate, we specify which path the user writes to this api url.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gbobfbQVQNckjdU0NxgGBw.png" /></figure><h3>Azure Bus Service</h3><p>Messages are used to move data between various apps and services. A message is a data-filled container that has metadata on it. Any type of information can be used as the data, including structured data stored in popular formats like JSON, XML, Apache Avro, and plain text.</p><h3>Sample Code</h3><p><a href="https://github.com/JagathPrasad/microservices_apigateway">https://github.com/JagathPrasad/microservices_apigateway</a></p><p>Step 1 Create different projects for different service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*llZ5HE0u9zIoqkhedcDEPg.png" /></figure><p>Step 2 Install the Ocelot dll</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/301/1*08u5hCd-_lNNJHkC8hGr2Q.png" /></figure><p>Step 3 Create a Configuration json file for downstream and upstream</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mW9qQiKDNqtlIW8NwKUvmQ.png" /></figure><p>Step 4 Add configuration and use it in Middleware</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1kV3X3d5HZ--CfIAFu_UsA.png" /></figure><p>If you want you can add up the authorization, its availbale in the code base.</p><p>Please support my sites.</p><p><a href="https://github.com/JagathPrasad">JagathPrasad - Overview</a></p><p><a href="https://www.linkedin.com/in/jagath-karra-865078114/">https://www.linkedin.com/in/jagath-karra-865078114/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1b9abeeb191" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sentiment Analysis using LSTM]]></title>
            <link>https://jagathprasad0.medium.com/sentiment-analysis-using-lstm-b3efee46c956?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3efee46c956</guid>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[lstm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[sentiment-analysis]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Thu, 11 Feb 2021 16:11:17 GMT</pubDate>
            <atom:updated>2025-02-04T09:28:10.643Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction</h4><p>Sentiment Analysis: the process of computationally identifying and categorizing opinions expressed in a piece of text, especially in order to <br>determine whether the writer’s attitude towards a particular topic, product, etc. is positive, negative, or neutral.</p><p>Suppose you have a collection of e-mail messages from users of your product or service. You don’t have time to read every message <br>so you want to programmatically determine if the tone of each message is positive (“great service”) or negative (“you guys are terrible”). <br>This is an example of sentiment analysis. In this article I show you how to get started with sentiment analysis using the <a href="http://keras.io/">Keras </a>code library.</p><h4>Requirements</h4><p>To run deep learning we can use google co-lab using python, they are providing the ram and disc space to achieve the basic problems.</p><ol><li><a href="https://colab.research.google.com/notebooks/intro.ipynb">Google Co-lab</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EZ6xageC8dSgUiPvuCrt9g.png" /></figure><h4>The Dataset Preparation</h4><p>The datasets that can be downloaded from this <a href="https://www.kaggle.com/ngyptr/lstm-sentiment-analysis-keras">Sentiment.csv</a>, Remove the unwanted columns, I am using ‘text’,’sentiment’ columns as a datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*svWyhXc2RgLfXkDQic0hzw.png" /><figcaption>sentiment data</figcaption></figure><h4>Required Libraries</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*0i46P3JBmSvkEPsJ_pVCJA.png" /><figcaption>libraries</figcaption></figure><h4>Tokenize</h4><p>using Tokenizer to vectorize and convert text into Sequences so the Network can deal with it as input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*C3B09roY3dcIn5HvglBAhg.png" /></figure><h4>Build LSTM Model</h4><p>Long short-term memory is an artificial recurrent neural network architecture used in the field of deep learning. <br>Unlike standard feedforward neural networks, LSTM has feedback connections. <br>It never keeps the entire data like standard recurrent neural network, lstm keeps short-term memory of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nNmM_vurK_y8WLcifEArnA.png" /></figure><h4>Train Model</h4><p>To Train the model, have to use epochs,batch size to train the model.<br>epochs are iteration.<br>batch_size is data size for each iteration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CzzOSZCvQsTv5Q8lJloZQw.png" /></figure><h4>Conclusion</h4><p><a href="http://keras.io/">keras </a>with python is the better way to achieve the deep <br>learning concepts. I have followed <a href="https://www.kaggle.com/">kaggle </a>blogs and datasets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*d9_0WBCj0LFgmAsQUpi2MA.png" /></figure><h4>Thanks to kaggle</h4><p><a href="https://www.kaggle.com/ngyptr/lstm-sentiment-analysis-keras">LSTM Sentiment Analysis | Keras</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3efee46c956" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top things for 2021]]></title>
            <link>https://jagathprasad0.medium.com/top-things-for-2021-fcbc1adac68a?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcbc1adac68a</guid>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sun, 07 Feb 2021 13:13:05 GMT</pubDate>
            <atom:updated>2025-02-04T09:28:51.843Z</atom:updated>
            <content:encoded><![CDATA[<ol><li><strong>Quantum Computing</strong></li></ol><p>Quantum computing is the use of quantum phenomena such as superposition and entanglement to perform computation. Computers that perform quantum computations are known as quantum computers.Quantum machine learning can be faster than machine learning and deep learning.It performs both 0 and 1 together that’s called superposition.</p><blockquote><a href="https://qiskit.org/"><strong>IBM qiskit</strong></a><strong><br></strong><a href="https://azure.microsoft.com/en-gb/solutions/quantum-computing/"><strong>Microsoft Quantum</strong></a><strong><br></strong><a href="https://quantumai.google/cirq"><strong>Google Cirq</strong></a><strong><br></strong><a href="https://www.dwavesys.com/quantum-computing"><strong>DWave — Ocean</strong></a><strong><br></strong><a href="https://pennylane.ai/"><strong>Penny Lane</strong></a></blockquote><p><strong>2. Deep learning</strong></p><p>Deep learning is an AI function that mimics the workings of the human brain in processing data for use in detecting objects, recognizing speech, translating languages, and making decisions.Deep learning AI is able to learn without human supervision, drawing from data that is both unstructured and unlabeled.Deep learning, a form of machine learning, can be used to help detect fraud or money laundering, among other functions.Deep learning is identifying the image classification, image segmentation,natural language processing based on data.With the help of these concepts many invention came.</p><p><a href="https://keras.io/"><strong>keras</strong></a> library using python is the best library for achieving the deep learning concepts.</p><p><strong>3. Machine learning</strong></p><p>Machine learning is a method of data analysis that automates analytical model building. It is a branch of artificial intelligence based on the idea that systems can learn from data, identify patterns and make decisions with minimal human intervention.Machine learning can achieve the prediction for futuristic based on data. eg. stock and weather prediction.</p><p><a href="https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet"><strong>ML.Net</strong></a> is the best source for machine learning, it works faster than python scikit-learn.</p><p><strong>4. Python</strong></p><p><a href="https://www.python.org/"><strong>Python </strong></a>is the best programming language for future. it has many library to achieve the complex problems.Python is a general-purpose, versatile, and powerful programming language. It’s a great first language because it’s concise and easy to read. Whatever you want to do, Python can do it. <br>From web development to machine learning to data science, Python is the language for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcbc1adac68a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top sites for developers to learn]]></title>
            <link>https://jagathprasad0.medium.com/top-sites-for-developers-6ac3c09c0f44?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ac3c09c0f44</guid>
            <category><![CDATA[stackoverflow]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[reddit]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sun, 07 Feb 2021 13:10:28 GMT</pubDate>
            <atom:updated>2021-02-08T03:45:54.898Z</atom:updated>
            <content:encoded><![CDATA[<ol><li><strong>Stack Overflow</strong></li></ol><p>Its a place for questions and answers. you can ask question and get best result from the professional ,similarly you can provide the answers for the question which relates your skill. Stack Overflow will have source code and images to understand better.</p><p><a href="https://stackoverflow.com/">Newest Questions</a></p><p><strong>2. Medium</strong></p><p>Its a best place for creating the blogs for the developers and designers.<br>You can write the blog in medium very simple. Search engines shows your blog in top based on your content.</p><p><a href="https://medium.com/">Medium: Read and write stories.</a></p><p><strong>3. Github</strong></p><p>Its best source control, you can create many respositories and branches for your development source code.<br>Its free and you can ask question/issues , get solution and ideas for your issues.</p><p><a href="https://github.com/">GitHub · Change is constant. GitHub keeps you ahead. · GitHub</a></p><p><strong>4. Dev.to</strong></p><p>This site provides the information for beginners to advanced level for developers by developer. We’re a place where coders share, stay up-to-date and grow their careers ,It gives you the information, videos and podcast.<br>They don’t have office, but come together online each day to build community and improve the software careers of millions.</p><p><a href="https://dev.to/">DEV Community</a></p><p><strong>5. DevDocs.io</strong></p><p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Its a best place for finding the API documentation for all types of languages and technologies except C#/Java.</p><p><a href="https://devdocs.io/">DevDocs</a></p><p><strong>6. Reddit</strong></p><p>Reddit is a network of communities based on people’s interests. <br>Reddit is home to thousands of communities, endless conversation, and authentic human connection. Whether you’re into breaking news, sports, TV fan theories, or a never-ending stream of the internet’s cutest <br>animals, there’s a community on Reddit for you.</p><p><a href="https://www.reddit.com/"></a></p><p><strong>7. Hashnode.com</strong></p><p>its free content creation/blog creation platform. creating blogs for developers.</p><p>Moved my blog over to <a href="http://twitter.com/hashnode">@hashnode</a> today. Why?<br>✅ It’s free <br>✅ You own your content <br>✅ You have an existing community to share your content with <br>✅ The founders seem to be eager to help you succeed as a creator.</p><p><a href="https://hashnode.com/">Hashnode - Build blogs and API docs for developers and teams.</a></p><p><strong>8. Daily.dev</strong></p><p>daily.dev is the easiest way to stay updated on the latest programming news. <br>It’s a feed of articles that’s ranked by a massive community of developers.<br>Get the hottest dev news from the best tech blogs on any topic you can think of. Stay updated daily, and unlock more time to do fun stuff, relax, or just code.</p><p><a href="https://daily.dev/">daily.dev | Where developers suffer together</a></p><p>Please support my site.</p><p><a href="http://prelinehealthcare.com/">Preline Health Care | Online Video Consultations , Appointments &amp; Healthcare Fundraising.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ac3c09c0f44" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep learning using Keras.Net with C#.]]></title>
            <link>https://jagathprasad0.medium.com/deep-learning-using-keras-net-with-c-1d1fceac4531?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d1fceac4531</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[dotnet-core]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sun, 23 Aug 2020 16:58:55 GMT</pubDate>
            <atom:updated>2021-01-29T13:30:49.274Z</atom:updated>
            <content:encoded><![CDATA[<p>Please follow site to Deeplearning using Keras.Net with .Net C#</p><p><a href="https://github.com/SciSharp/Keras.NET">SciSharp/Keras.NET</a></p><ol><li>install Keras.NET using Install-Package Keras.NET.</li></ol><p>2. you will get error like “System.DllNotFoundException: ‘Unable to load DLL ‘python37’ or one of its dependencies: The specified module could not be found. (0x8007007E)’” then you have to install python37 using below url.</p><p><a href="https://www.python.org/downloads/">Download Python</a></p><p>3. once installed python37 you have to set the environment variable path.</p><p><em>PYTHON_HOME :C:\Users\..\AppData\Local\Programs\Python\Python37</em></p><p><em>PYTHONPATH:C:\Users\..\AppData\Local\Programs\Python\Python37\Lib</em></p><p>4. Once you run application it will throw an below errors.</p><p>Python.Runtime.PythonException: ‘ModuleNotFoundError : No module named ‘numpy’’</p><p>Then install “pip install numpy”</p><p>Python.Runtime.PythonException: ‘ModuleNotFoundError : No module named ‘keras’’</p><p>Then install “pip install keras”</p><p>Python.Runtime.PythonException: ‘ModuleNotFoundError : No module named ‘tensorflow’’</p><p>Then install “pip install tensorflow”</p><p>5. below code looks like python with keras but its a C# with Keras.Net.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xpmAbNOueB4w_3Zvk7l4Ig.png" /></figure><p>Please follow my accounts and learn better.</p><ul><li><a href="https://preline01.com/#/home">Preline01 | Deep Learning</a></li><li><a href="https://www.youtube.com/channel/UCTUDwuL6jnjiqOj16FiN0Hg?view_as=subscriber">preline01</a></li><li><a href="https://prelinehealthcare.com/#/site">Preline | Health Care</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d1fceac4531" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantum Computing with C#]]></title>
            <link>https://jagathprasad0.medium.com/quantum-computing-with-c-e14e9e476ab5?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/e14e9e476ab5</guid>
            <category><![CDATA[quantum-computer]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <category><![CDATA[microsoft-quantum]]></category>
            <category><![CDATA[quantum]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sun, 02 Aug 2020 19:17:44 GMT</pubDate>
            <atom:updated>2025-02-26T16:24:43.884Z</atom:updated>
            <content:encoded><![CDATA[<h3>Quantum Computing</h3><h3>Quantum Computing</h3><p>Quantum computers can process massive and complex datasets more efficiently than classical computers. Quantum computing could change the world - but right now, its future remains uncertain.</p><p>They use the fundamentals of quantum mechanics to speed up the process of solving complex computations. Often those computations incorporate a seemingly unlimited number of variables, and the potential applications span industries from genomics to finance.</p><p>Interested in learning more about quantum computing? Find links to helpful resources on quantum programming, quantum algorithms, and more.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F968DYA65V9s%3Fstart%3D27%26feature%3Doembed%26start%3D27&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D968DYA65V9s&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F968DYA65V9s%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/19918da5f41d967c5b477a045bf1376a/href">https://medium.com/media/19918da5f41d967c5b477a045bf1376a/href</a></iframe><h3>The Agenda:</h3><p>The Agenda is about Quantum, Quantum Computing, Qubit, Superposition and Entanglement.</p><h3>What Is Quantum?</h3><p>Physicist Max Planck in 1900 proposed that at the subatomic level, energy is contained in tiny discrete packets called quanta, which behave as both waves and particles, depending on their environment at the time. The basis of quantum theory relies on the observation that at any point in time, these particles could be in any state and may change their state.</p><h3>What Is Quantum Computing?</h3><p>Quantum computing is the use of quantum-mechanical phenomena such as superposition and entanglement to perform computation. Computers that perform quantum computations are known as quantum computers. Quantum computers are believed to be able to solve certain computational problems, such as integer factorization (which underlies RSA encryption), substantially faster than classical computers. The study of quantum computing is a subfield of quantum information science.</p><p>This new generation of supercomputers uses knowledge of quantum mechanics - the area of physics that studies atomic and subatomic particles - to overcome the limitations of classic computing. Although in practice, quantum computing faces evident problems regarding scalability and incoherence, it makes it possible to perform multiple simultaneous operations and eliminates the tunnel effect that limits current anemometric scale programming.</p><h3>What Is Qubit?</h3><p>The classical computing methods we use today work on chips that process all data using 2 bits - 0 and 1. Even the most complex data or algorithm you input gets broken down into these two bits.</p><p>Quantum machine learning on the other hand uses the unit ‘qubits’, short for quantum bits. In quantum physics, these qubits could be electrons or protons orbiting a nucleus in an atom</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*Jnihv-2LjzAq06t_xpNObw.jpeg" /><figcaption>qubit its a combination of both 0 and 1</figcaption></figure><p>In a classical (or conventional) computer, information is stored as bits; in a quantum computer, it is stored as qubits (quantum bits).</p><p>Classical Bits =&gt; 2 * n = 2*10= 20 Bits</p><p>Qubits = &gt; 2^n = 2¹⁰ = 1024 Bits</p><p>“<a href="https://www.youtube.com/watch?v=WVv5OAR4Nik">https://www.youtube.com/watch?v=WVv5OAR4Nik</a>”</p><p>The Superposition &amp; Entanglement are key principles of Quantum.</p><h3>What Is Quantum Superposition?</h3><p>These quantum particles or Qubits may exist as both 0 and 1 at the same time. This is a phenomenon known as Superposition. Essentially, this means that a particle can exist in multiple quantum states and when placed under supervision, i.e. when we try to measure its position, it undergoes change and its superposition is lost.</p><p><a href="https://www.youtube.com/watch?v=z1GCnycbMeA">https://www.youtube.com/watch?v=z1GCnycbMeA</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*44wlsrQc-Xqmb_HuP35yGQ.png" /></figure><h3>What Is Quantum Entanglement?</h3><p>Entanglement happens when two qubits in a superposition, correlated with one another. (i.e) State of one is depends on the State of other.</p><p>Researchers can generate pairs of qubits that are “entangled,” which means the two members of a pair exist in a single quantum state. Changing the state of one of the qubits will instantaneously change the state of the other one in a predictable way. This happens even if they are separated by very long distances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WCULjbTK_XjvhzbRqKlFig.jpeg" /></figure><p>Nobody really knows quite how or why entanglement works. It even baffled Einstein, who famously described it as “spooky action at a distance.” But it’s key to the power of quantum computers. In a conventional computer, doubling the number of bits doubles its processing power. But thanks to entanglement, adding extra qubits to a quantum machine produces an exponential increase in its number-crunching ability.</p><p>Quantum computers harness entangled qubits in a kind of quantum daisy chain to work their magic. The machines’ ability to speed up calculations using specially designed quantum algorithms is why there’s so much buzz about their potential.</p><p>That’s the good news. <a href="https://www.youtube.com/watch?v=tafGL02EUOA">https://www.youtube.com/watch?v=tafGL02EUOA</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*aTSQcBaGKPuiH95WKV2-Sw.png" /></figure><h3>Quantum Computing Companies</h3><p>There are different companies have been released the quantum computing for development.</p><p>1. IBM - <strong>Qiskit</strong></p><p>2. Microsoft - <strong>Quantum Development Kit.</strong></p><p>3. D-Wave - <strong>Ocean</strong></p><p>4. Xanadu - <strong>PennyLane</strong></p><p>To use qubits we should have more RAM memory.</p><p>Microsoft launched the preview version of a new programming language for quantum computing called Q#. The industry giant also launched a quantum simulator that developers can use to test and debug their quantum algorithms.</p><p>The language and simulator were announced in September. The then-unnamed language was intended to bring traditional programming concepts - functions, variables, and branches, along with a syntax-highlighted development environment complete with quantum debugger - to quantum computing, a field that has hitherto built algorithms from wiring…</p><h3>Example Q# Algorithm Code accessing in C#</h3><p>After the workshop, Q# program that demonstrates a simple quantum behavior that is distinct from the behavior of a classical computer.</p><p><a href="https://github.com/rtflynn/Quantum-Teleport">rtflynn/Quantum-Teleport</a></p><p>it creates a quantum algorithm using q#</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yy3w3Qt2DkcuitJ4lJf-0g.png" /></figure><p>after creates the algorithm, can access the q# code with c#.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lj5flQF8IqYPophbmXCqxA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e14e9e476ab5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Convolutional Neural Network from scratch using C#]]></title>
            <link>https://jagathprasad0.medium.com/creating-convolutional-neural-network-from-scratch-using-c-fa72b497226b?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa72b497226b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cnn]]></category>
            <category><![CDATA[c-sharp-programming]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Tue, 02 Jun 2020 17:21:36 GMT</pubDate>
            <atom:updated>2021-01-29T13:32:31.365Z</atom:updated>
            <content:encoded><![CDATA[<h3>Let’s build Convolutional Neural Network in C#!</h3><p>The main objective of this post is to implement an CNN from scratch using c# and provide an easy explanation as well to make it useful for the readers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rAbCk0T4rksShBcPQjWC0A.gif" /><figcaption>convolutional neural network process</figcaption></figure><h3>What is Convolutional Neural Network?</h3><p>Convolutional neural networks are the workhorse behind a lot of the progress made in deep learning during the 2010s. These networks have revolutionized tasks such as image classification and object detection, but they also work remarkably well in other contexts such as text classification, speech recognition, or any domain where a filter can be used to detect similarities in regions of input data.</p><p>In this post I will go over how to build a basic CNN in from scratch using C#. This exercise goes into the nuts and bolts for how these networks actually work, it is impossible to understand what a convolutional neural network is actually doing at each step when all you have to do is type a few lines of code to create a CNN.</p><p><a href="https://preline01.com/#/deeplearn/cnn">Preline01 | Deep Learning</a></p><h3>History</h3><p>When Yann LeCun published his work on the development of a new kind of neural network architecture, the Convolutional Neural Network (CNN), his work went largely unnoticed. It took 14 years and a team of researchers from The University of Toronto to bring CNN’s into the public’s view during the 2012 ImageNet Computer Vision competition. Their entry, which they named AlexNet after chief architect Alex Krizhevsky, achieved an error of only 15.8% when tasked with classifying millions of images from thousands of categories. Fast forward to 2018 and the current state-of-the-art Convolutional Neural Networks achieve accuracies that surpass human-level performance.</p><h3>Process of CNN</h3><p>Using already existing models in ML/DL libraries might be helpful in some cases. But to have better control and understanding, you should try to implement them yourself. This article shows how a CNN is implemented just using C#.</p><p>Convolutional neural network (CNN) is the state-of-art technique for analyzing multidimensional signals such as images. There are different libraries that already implements CNN such as CNTK, TensorFlow and Keras. Such libraries isolates the developer from some details and just give an abstract API to make life easier and avoid complexity in the implementation. But in practice, such details might make a difference. Sometimes, the data scientist have to go through such details to enhance the performance. The solution in such situation is to build every piece of such model your own. This gives the highest possible level of control over the network. Also, it is recommended to implement such models to have better understanding over them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wX0JoMrSQgGwP__66sENVA.jpeg" /></figure><p>In this article, CNN is created using only C# library. Five layers are created which are Convolution, ReLU, Max pooling , Flatten and Fully Connected. The major steps involved are as follows:</p><h4>Initialization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_cYq7utxDki0-Ue7c7Ctw.png" /><figcaption>creating the inputs from image</figcaption></figure><h4>Convolution Layer</h4><p>This holds the raw pixel values of the training image as input. In the example above an image (deer) of width 32, height 32, and with three colour channels R, G, B is used. It goes through the forward propagation step and finds the output probabilities for each class. This layer ensures the spatial relationship between pixels by learning image features using small squares of input data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*nPEc8AbDV1N_eNVaTQBfQw.png" /></figure><p>The green section resembles our 5x5x1 input image, I. The element involved in carrying out the convolution operation in the first part of a Convolutional Layer is called the Kernel/Filter, K, represented in the color yellow.</p><p>We have selected Filter as a 3x3x1 matrix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*Z87z69ufkGnNolH6R_Ln_w.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BG8kbq3TihrxSFu10TK8XQ.png" /></figure><p>The filter used in the diagram could be used for sharpening an image , edge detection, blur and identity.</p><h4>Rectified Linear Unit (ReLU) Layer</h4><p>Relu activation layer gives you the non negative values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*ei8nvGY-93LwuDoeRKXdEA.png" /></figure><p>ReLU stands for Rectified Linear Unit for a non-linear operation. The output is ƒ(x) = max(0,x).</p><p>There are other non linear functions such as tanh or sigmoid that can also be used instead of ReLU. Most of the data scientists use ReLU since performance wise ReLU is better than the other two.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qgqADjEk4DG03G99TzfI0Q.png" /></figure><h4><strong>Pooling Layer</strong></h4><p>Max pooling is used to pick the maximum value of the each filter size 2x2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*tlc8D8PzyGmMEanSky1QPA.png" /></figure><p>Max pooling, the most common type of pooling, simply means taking the maximum value from a given array of numbers.</p><p>In this case, we split up the feature map into a bunch of n×n boxes and choose only the maximum value from each box. Here is what that looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xKRjvhxA2gQy3bNbqpGwJw.png" /></figure><h4><strong>Flatten Layer</strong></h4><p>Flatten layer is used to convert the multi dimension to single dimension vector values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*V9TP1w_0mBH3GVTee29-HA.png" /><figcaption>flatten is the single line</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9tPKjYF4iNS0YQXyxJXr1w.png" /></figure><h4><strong>Fully Connected Layer</strong></h4><p>Fully connected layer is similar to feed forward neural network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*qsbsCVyu376kqdnNcdxmmw.png" /></figure><p>The final layer of a convolution neural network is called the fully connected layer. This is a standard neural network .</p><p>It is applied to the dot product of an input and a matrix of weights. Then a softmax function can convert the output into a list of probabilities for classification.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4RdWMxjWeyU%3Fstart%3D145%26feature%3Doembed%26start%3D145&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4RdWMxjWeyU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4RdWMxjWeyU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/decc1b5eae3357a32b0f4d22d3753a1f/href">https://medium.com/media/decc1b5eae3357a32b0f4d22d3753a1f/href</a></iframe><p>Thanks for reading this post. you can follow me.</p><ul><li><a href="https://www.youtube.com/channel/UCTUDwuL6jnjiqOj16FiN0Hg?view_as=subscriber">preline01</a></li><li><a href="https://github.com/JagathPrasad/convolutional_neural_network_from_scratch">JagathPrasad/convolutional_neural_network_from_scratch</a></li><li><a href="https://prelinehealthcare.com/#/site">Preline | Health Care</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa72b497226b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Resources to learn AI  & Deep Learning]]></title>
            <link>https://jagathprasad0.medium.com/best-resources-to-learn-ai-deep-learning-c4c330b58f33?source=rss-53b71ecb4939------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4c330b58f33</guid>
            <category><![CDATA[datascience-training]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machinelerning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Jagath Karra]]></dc:creator>
            <pubDate>Sat, 18 Apr 2020 16:35:18 GMT</pubDate>
            <atom:updated>2021-01-29T13:33:10.383Z</atom:updated>
            <content:encoded><![CDATA[<h3>Best Resources to learn AI &amp; Deep Learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*81d3EsvyFCPBlyjHA04Zyg.jpeg" /><figcaption>best sites for learning</figcaption></figure><p>Over the last few years, Deep Learning has proven itself to be the game-changer. This area of data science is the only one responsible for the advancements in machine learning and artificial intelligence.</p><p>From academic researches to self-driving cars, Deep Learning is found in all possible aspects nowadays.</p><p>Deep Learning is a complex and a vast field that consists of several components. It cannot be mastered in a day and hence it will take several months if you want to dig deeper into this field. Core knowledge of linear algebra and calculus is very important before learning this area.</p><p>A lot of people have in mind how to become a Data Scientists or Machine Learning Engineer. Hence I have tried to make a compilation of some of the best resources one should learn from basics to advance with a sequence of courses &amp; blogs.</p><p><a href="https://preline01.com/#/deeplearn">Preline01 | Deep Learning</a></p><h3>Why AI/ Deep Learning?</h3><p>Deep Learning is a sub field of machine learning concerned with algorithms inspired by the structure and function of the brain called artificial neural networks.</p><p>If you are just starting out in the field of deep learning or you had some experience with neural networks some time ago, you may be confused.</p><p>I know I was confused initially and so were many of my colleagues and friends who learned and used neural networks in the 1990s and early 2000s.</p><h3>Beginner</h3><p>1. <a href="https://appliedaicourse.com/course/applied-ai-course-online/">Applied AI Course</a></p><p>2. <a href="https://eu.udacity.com/course/intro-to-machine-learning--ud120">Intro to ML</a> — Udacity / <a href="https://www.udemy.com/machinelearning/">Machine Learning A-Z </a>— Udemy</p><p>3. <a href="https://www.coursera.org/learn/machine-learning">Machine Learning</a> — Coursera(Andrew Ng)</p><p>4. <a href="https://preline01.com/#/deeplearn">Deep Learning</a> — Preline01(Jagath Karra)</p><p><em>I feel first look into Prline01 its very simple to understand the concepts using simple images, then Udacity and Udemy are really good for newbie’s but it just scratches the surface and don’t go much deep into the topics and hence I recommend after completing that you must go for Andrew Ng ML course at Coursera as he explains the all the maths behind every algorithm quite well.</em></p><h3>To Get More Understanding of Deep Learning</h3><p>5. <a href="https://paperswithcode.com/">Papers with code</a></p><p>6. <a href="https://dash-gallery.plotly.host/Portal/">Dash App Gallery</a></p><p>7. <a href="http://projector.tensorflow.org/">Projector Tensorflow</a></p><p>You can watch the YouTube video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fve-Wp-VurG0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dve-Wp-VurG0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fve-Wp-VurG0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4f8d60a6cf23287b8ba42342ecf0d628/href">https://medium.com/media/4f8d60a6cf23287b8ba42342ecf0d628/href</a></iframe><h3>Advanced</h3><p><a href="https://course.fast.ai/ml">Introduction to Machine Learning for Coders </a>— Fast.ai</p><p><a href="https://www.kaggle.com/learn/machine-learning">Machine Learning Kernels </a>— Kaggle Learn</p><p><a href="https://preline01.com/#/deeplearn">Deep Learning</a> — Preline01(Jagath Karra)</p><p><em>Fast.ai is an amazing place to learn, you will get to learn state of the art techniques with fast.ai own made up library. It takes a top to bottom approach and make you do a lot of coding so that you are able to understand each and every detail. They believe if can code ML you know ML and that’s quite true in my opinion.</em></p><p><em>Love this course due to its practicality. Kaggle Learn is good for Revising the concepts. ML Explainablitiy is crucial as you will be able extract human understandable insights from any Machine Learning model.</em></p><h3>Step by Step Learning.</h3><h4>1. Basic of Machine Learning</h4><h4>2. Introducing Deep Learning</h4><h4>3. Knowing Neural Networks</h4><h4>4. Basics of Convolution Neural Networks</h4><h4>5. Understanding The Sequence Models</h4><h4>6. Unsupervised Deep Learning</h4><h4>7. Learning Natural Language Processing</h4><h4>8. Deep Reinforcement Learning</h4><h4>9. Generative Models</h4><h4>10. Make It Practical</h4><p><a href="https://prelinehealthcare.com/#/site">Preline | Health Care</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4c330b58f33" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>