<?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 saisriteja kuppa on Medium]]></title>
        <description><![CDATA[Stories by saisriteja kuppa on Medium]]></description>
        <link>https://medium.com/@kuppasaisriteja?source=rss-62c69bdf3c01------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TIdKBu_B5C_0pobFhpO5cg.png</url>
            <title>Stories by saisriteja kuppa on Medium</title>
            <link>https://medium.com/@kuppasaisriteja?source=rss-62c69bdf3c01------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:56:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kuppasaisriteja/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[Matrix Game: v1, v3]]></title>
            <link>https://medium.com/@kuppasaisriteja/matrix-game-v1-v3-c02afa51c622?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/c02afa51c622</guid>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 11:27:09 GMT</pubDate>
            <atom:updated>2026-04-02T11:27:09.109Z</atom:updated>
            <content:encoded><![CDATA[<p>V1.0:</p><p>I didnt find it too much different from the gamegenx, for the v1.0 verison, because the dataset preparation is almost analgous and wont make too much change, since I had some experience with the training image generative models from ground up.</p><p>I would still prefer the gamegenx paper for the v1.0 for the dataset preparation for this.</p><p>Matrix Game architecture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uSYOIuDooEteD1es9XU8xA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CNB6oCWRdcHwUUwqpDLXkA.png" /></figure><p>V 3.0:</p><p>Datasets To look out for:</p><ol><li>OmniWorld: <a href="https://github.com/yangzhou24/OmniWorld">https://github.com/yangzhou24/OmniWorld</a></li><li>SpatialVid: <a href="https://github.com/NJU-3DV/SpatialVID">https://github.com/NJU-3DV/SpatialVID</a></li></ol><p>Omniworld is a bit special because, it can convert a moving video to somehow to a 3d space, use some video model like wan to inpaint the missing pixels so that, you get the entire structure.</p><p>One of the key goals is to make consistent long horizon video generation:</p><p>Things to look out for:</p><ol><li>KV Caching</li><li>Self-Forcing</li><li>Causal Forcing</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TmGI7OBLpjqCh9mpxlJYow.png" /></figure><p>(1) Architectural consistency. Existing world-model and video-generation methods commonly employ heterogeneous teacher–student architectures. However, theoretical studiessuggest that such heterogeneity can lead to mismatched mappings and consequently unstable training. To address this issue, we use a unified bidirectional architecture for both the multi-step base model and the few-step distilled model. This unified design avoids the instability introduced by architectural heterogeneity, while also reducing the cost of ODE-based distillation.</p><p>(2) Robustness to imperfect contexts. The behaviour of base model and distilled model should keep consistent when facing imperfect contexts (e.g. self-generated history latents during streaming inference), thus providing accurate distillation target and reducing exposure errors. Therefore, the base model should also be trained with imperfect historical contexts, rather than only clean ground-truth ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o--VRAOasuEmEtFhY8OkLw.png" /></figure><p><strong>Making It Fast Enough to Actually Use</strong></p><p>Generating high-quality game content is one problem. Generating it fast enough to be useful is another. This section is about the second one.</p><p>Building on a distilled model, the team applied several targeted optimizations across the pipeline — quantization, VAE pruning, and GPU-based memory retrieval — ultimately achieving inference speeds of up to 40 FPS using 8 GPUs for diffusion inference and a separate GPU dedicated to VAE decoding.</p><p><strong>Quantizing the DiT</strong></p><p>The most computationally intensive part of the model is the Diffusion Transformer, and that is where quantization was applied. Specifically, INT8 quantization was used on the attention projection layers, while everything else — the feed-forward network, the VAE, and the text encoder — was left at its original precision. The reasoning is straightforward: apply the compression where it hurts most, and leave the rest alone. The underlying operators were adapted from LightX2V, keeping the implementation efficient without requiring the entire model to be quantized.</p><p><strong>Pruning the VAE</strong></p><p>At high resolutions, VAE decoding turns into a bottleneck. To address this, the team trained a lighter version called MG-LightVAE, which reduces the hidden dimensions of the decoder while keeping the overall architecture intact. Two versions were trained — one with 50% pruning and one with 75% — achieving decoding speedups of 2.6x and 5.2x respectively. On top of that, torch.compile is applied to the VAE decoder after its first iteration, shaving off additional latency in subsequent steps.</p><p><strong>Retrieving Memory on the GPU</strong></p><p>During generation, the model needs to retrieve relevant information from past frames — specifically, frames that have the highest geometric overlap with the current view. There are two ways to do this. The CPU method computes exact frustum-overlap scores, which is accurate but slow. The GPU method uses a sampling-based approximation that avoids explicit 3D intersection computation entirely. As generation runs longer, the pool of candidate past frames grows, which makes the CPU approach increasingly expensive. The GPU approximation handles this gracefully, staying fast without meaningfully sacrificing the geometry-aware ranking the retrieval depends on.</p><p>Taken together, these three optimizations move the system from theoretically impressive to practically deployable — which, for real-time game simulation, is the only metric that really matters.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c02afa51c622" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GameGenX]]></title>
            <link>https://medium.com/@kuppasaisriteja/gamegenx-85bbb3c0d1c1?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/85bbb3c0d1c1</guid>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 09:06:10 GMT</pubDate>
            <atom:updated>2026-04-02T09:06:10.935Z</atom:updated>
            <content:encoded><![CDATA[<p>This is about the paper: <a href="https://arxiv.org/pdf/2411.00769">https://arxiv.org/pdf/2411.00769</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bTfKTD6DIrvszt2QTtWTA.png" /></figure><h3><strong>What GameGen-X Actually Does and How It Works</strong></h3><p>The central question this research tries to answer is a simple one: can a diffusion model generate and control high-quality, complex open-world video game content? GameGen-X is the first serious attempt to find out.</p><p>It is the first diffusion transformer model built to do both things at once — not just generate game footage, but simulate an open world and respond to interactive control. That combination is what makes it distinct from prior work in video generation.</p><p>The model handles a wide range of content: dynamic environments, varied characters, in-game events, and complex actions. The goal was never to generate a single polished scene, but to handle the full, messy variety that open-world games actually contain.</p><h3><strong>How it was trained</strong></h3><p>Training happens in two stages, and the distinction between them matters.</p><p>In the first stage, the model is pre-trained on OGameData — a large dataset built specifically for this work — using text-to-video generation and video continuation tasks. The purpose here is foundational. The model learns the general logic of open-world game environments: how scenes are structured, how characters move, how events unfold. It develops a broad understanding of game dynamics before it ever has to respond to a user.</p><p>The second stage is where interactivity enters. A component called InstructNet is introduced and trained separately, while the foundation model is kept frozen. InstructNet learns to take user inputs — structured text describing what should happen in the environment, or keyboard controls for character movement and action — and map them onto the generation process. The foundation model doesn’t change; InstructNet acts as a bridge between what the user wants and what the model produces.</p><p>This two-stage design is a deliberate choice. Keeping the foundation model frozen during the second stage means the generative quality built up during pre-training is preserved, while the control layer is added on top without disrupting it.</p><p>the generation dataset (OGameDataGEN) and the instruction dataset (OGameData-INS). The resulting OGameData-GEN is tailored for training the generative foundation model, while OGameData-INS is optimized for instruction tuning and interactive control tasks.</p><h3>Dataset Preparation:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PqnEKjUarD4XkyRKX4bLEA.png" /></figure><p>To prepare videos for clip segmentation, we used PyScene and TransNetV2 (Soucek &amp; Loko ˇ c (2020)) to detect scene changes, discarding clips shorter than ˇ 4 seconds and splitting longer clips into 16-second segments. To filter and annotate clips, we sequentially employed models: CLIP-AVA (Schuhmann (2023)) for aesthetic scoring, UniMatch (Xu et al. (2023)) for motion filtering, VideoCLIP (Xu et al. (2021)) for content similarity, and CoTrackerV2 (Karaev et al. (2023)) for camera motion.’</p><h3>Model Training:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sPgXZeMTdLIZCKLIbe6JOQ.png" /></figure><p>Model Pre Training Part:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sWuMMLUqZW3Zx6DmX_cC0w.png" /></figure><p>The above picture give the entire workflow for the model pretraining part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mkb6hNMIVxJjM7naepj1iQ.png" /></figure><p>Interactive Control. Interactive control is achieved through an autoregressive generation process. Based on a sequence of past frames v1:x, the model generates future frames vx+1:N while adhering to control signals. The overall objective is to model the conditional distribution: p(vx+1:N | v1:x, c). During generation, the foundation model predicts future latent representations, and InstructNet modifies these predictions according to the control signals. Thus, users can influence the video’s progression by providing structured text commands or keyboard inputs, enabling a high degree of controllability in the open-world game environment. Furthermore, the incorporation of video prompts Vp provides additional guidance, making it possible to edit or stylize videos quickly, which is particularly useful for specific motion patterns.</p><h3><strong>The Road Ahead for AI-Powered Game Generation</strong></h3><p>GameGen-X is one of the more ambitious attempts at using diffusion models to simulate open-world game environments. But the researchers behind it are refreshingly honest about its limitations — and the directions they think the field needs to move next.</p><p><strong>Speed is still the wall</strong></p><p>The most immediate problem is computational cost. Diffusion models are slow, and slow doesn’t work for real-time gameplay. The path forward likely involves lighter model architectures, distillation techniques, and hybrid pipelines that mix autoregressive and non-autoregressive methods. None of these are solved problems, but they’re tractable ones.</p><p><strong>Keeping things consistent over time</strong></p><p>One of the trickier challenges in autoregressive generation is drift. Small errors compound, and over a long sequence, the output starts to fall apart. The researchers suggest map-based constraints to enforce global structure, and character-conditioned embeddings that track identity, pose, and history — essentially giving the model a better memory of what it already generated.</p><p><strong>Fast action is still hard</strong></p><p>Combat sequences and rapid motion transitions expose the model’s weaknesses. The proposed solutions include motion-aware components like temporal convolutional networks, training on higher frame-rate data, and feeding in external signals like pose estimation to guide generation through fast-paced scenes.</p><p><strong>The architecture needs to grow up</strong></p><p>The current 2D+1D attention setup works, but it hits a ceiling when it comes to spatial reasoning. A move toward full 3D attention architectures would help the model better understand the physical structure of environments. There’s also an argument for unifying generation and video understanding in a single framework, so the model isn’t just producing frames but actually comprehending what it’s making.</p><p><strong>More data, more variety</strong></p><p>The OGameData dataset is a strong foundation, but broader coverage — more genres, more art styles, user-generated content, procedurally generated worlds — would meaningfully improve how well the model generalizes to unfamiliar scenarios.</p><p><strong>3D Gaussian Splatting as the next layer</strong></p><p>Integrating 3DGS could push things well beyond 2D video generation into something that handles lighting, collisions, and spatial interaction in a physically grounded way. That’s a significant jump in realism.</p><p><strong>The bigger picture</strong></p><p>The most speculative but interesting idea in the paper is the crossover potential. If you can simulate a convincing open-world game environment, you’re not far from simulating environments useful for autonomous vehicle testing, robotics training, or urban planning. The underlying capability — interactive, controllable, realistic simulation — has applications well beyond entertainment.</p><p>GameGen-X reads less like a finished system and more like a detailed argument for where the field should go. The hardest problems are still open, but at least someone has drawn the map.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85bbb3c0d1c1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Generative World Models]]></title>
            <link>https://medium.com/@kuppasaisriteja/building-generative-world-models-9fba54b07352?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fba54b07352</guid>
            <category><![CDATA[world-models]]></category>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Tue, 31 Mar 2026 09:40:35 GMT</pubDate>
            <atom:updated>2026-03-31T09:40:35.763Z</atom:updated>
            <content:encoded><![CDATA[<p>Lecture: Ruiqi Gao</p><p>Link: <a href="https://www.youtube.com/watch?v=CkOSMqwvFiQ">https://www.youtube.com/watch?v=CkOSMqwvFiQ</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BLSxSWOoUlarlvHGQWk5Vg.png" /></figure><p>The goals of world models can be broadly framed as enabling <strong>understanding</strong>, <strong>reasoning</strong>, and <strong>interaction</strong> with environments.</p><p>However, achieving reliable performance in the real world remains a significantly greater challenge. Models that perform well in simulated environments often fail to generalize to real-world settings due to differences in complexity, noise, and unpredictability. Bridging this gap between simulation and reality continues to be a critical problem in the development of robust world models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QjackyJWuAPiCTSJmu9d8w.png" /></figure><p>Achieving strong generalization requires exposure to vast and diverse data, ideally capturing as much variation in the real world as possible. The intuition is that if a model has effectively “seen” a wide range of scenarios, there is less chance of encountering entirely unfamiliar situations at test time.</p><p>However, covering all possible real-world variations is practically infeasible. The world is inherently open-ended, with long-tail distributions and rare events that are difficult to capture in finite datasets. As a result, generalization is not just a function of data scale, but also of how well models can learn underlying structures, adapt to new situations, and reason beyond what they have explicitly observed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_vxEzNdvDEHNN5WoLqnEeA.png" /></figure><p>SORA: Feb 2024 is the original paper for the video diffusion models.</p><p>Controlling video models with actions:</p><ol><li>Genie 1</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICJ6trR-FpimQg9CkJCulw.png" /></figure><p>2. Genie 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*99a6fPtrCm-0HPVmE0yXag.png" /></figure><p>Modern video generation systems like Veo are increasingly focused on fine-grained control mechanisms to make outputs more structured, controllable, and consistent over time.</p><p>One key direction is <strong>motion control</strong>, where the goal is to guide how objects move within a scene. By specifying elements such as bounding boxes and explicit trajectories, it becomes possible to enforce predictable and physically coherent motion, rather than relying purely on implicit generation.</p><p>Another important aspect is <strong>camera control</strong>. This allows an agent or user to navigate the scene — adjusting viewpoints, panning, or exploring different angles — effectively simulating how a camera would move in a real environment. Such control is critical for tasks that require spatial awareness and dynamic perspective shifts.</p><p>Additionally, <strong>scene and character control</strong> plays a central role in maintaining temporal consistency. For applications like games or long-form video generation, ensuring that characters, objects, and environments remain stable across frames is essential. This involves preserving identity, appearance, and spatial relationships over time, which remains one of the core challenges in video models.</p><p>Together, these directions highlight a broader shift: from purely generative models toward <strong>controllable world models</strong> that can reliably simulate and interact with complex, dynamic environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B8WE3jAQ42RpTncyrLD1PQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5nO9BN6TKM4F4B3No1zZOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XeFbBCTdjqyk1mVkczeF_w.png" /></figure><h3>Challenges in Video World Models</h3><h4>1. Long-Term Consistency</h4><p>A fundamental challenge in video world models is maintaining <strong>temporal consistency over extended durations</strong>.</p><ul><li><strong>Static environments</strong>:<br> Elements such as backgrounds, layouts, and objects that do not change should remain invariant over time, regardless of camera movement or scene revisits.</li><li><strong>Dynamic elements</strong>:<br> Actions and object interactions should evolve <strong>continuously and coherently</strong>, preserving motion flow and avoiding abrupt resets or inconsistencies.</li><li><strong>Temporal coherence at scale</strong>:<br> The model should support <strong>hours-long generation</strong>, where both static and dynamic components remain stable and logically consistent.</li></ul><h4>2. Underlying 3D World Representation</h4><p>Each video implicitly corresponds to a <strong>latent 3D world</strong>.</p><ul><li>The model should learn to <strong>internalize a 3D representation</strong> of the scene rather than treating frames independently.</li><li>This enables:</li><li>Viewpoint consistency</li><li>Spatial reasoning</li><li>Re-rendering from novel perspectives</li></ul><h4>Key Question:</h4><ul><li>Can <strong>camera motion</strong> be disentangled from <strong>scene dynamics</strong>?</li><li>Camera motion → viewpoint transformation</li><li>Scene dynamics → object motion and interactions</li></ul><p>Disentangling these factors is critical for controllability and realism.</p><h4>3. Memory and Scalability</h4><p>Maintaining consistency over long sequences requires an efficient memory mechanism.</p><h4>Challenges:</h4><ul><li>Naïve memory grows <strong>linearly with time</strong>, which is not scalable.</li><li>Long sequences demand <strong>selective and compressed memory representations</strong>.</li></ul><p>We have 4d scene or fast video models to compress the information, now that problem is which one to choose, CAT3D and CAT4D use the best of the both world to solve this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rl6DsZAYOSj_ok_VDtbqHw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fba54b07352" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ubuntu Vs Windows]]></title>
            <link>https://medium.com/@kuppasaisriteja/ubuntu-vs-windows-eb2dbf446fe5?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb2dbf446fe5</guid>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Sun, 11 Oct 2020 14:19:02 GMT</pubDate>
            <atom:updated>2020-10-11T14:19:02.889Z</atom:updated>
            <content:encoded><![CDATA[<h4>Just seeing things from a new perspective.</h4><p>Linux users can access the source code of the os and can fix bugs, in windows you can’t only a set of restricted people can deal with them.</p><p>different flavors of Linux are found, but for the windows, they are limited to few.</p><p>Linux has a complex installation process but easy to use and its faster. In windows, due to GUI it&#39;s easy to use but consumes a longer time to process things.</p><p>Linux is highly secured where windows are vulnerable to crack for hackers.</p><p>Professional software like the word is not present in Ubuntu this is a bit trouble you use the windows and then shifts to ubuntu. But you still got the Snap Store or as downloadable DEB packages, to get similar products.</p><p>Ubuntu is free and windows are paid one with a particular set of hardware features.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb2dbf446fe5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scientific Computation using Matlab: part2]]></title>
            <link>https://medium.com/@kuppasaisriteja/scientific-computation-using-matlab-part2-a6ca5598b604?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6ca5598b604</guid>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Wed, 30 Sep 2020 02:07:28 GMT</pubDate>
            <atom:updated>2020-09-30T02:07:28.536Z</atom:updated>
            <content:encoded><![CDATA[<h4>a deep dive into Matlab</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*sskFLuvbMkxiYJLoiUQyxw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*6aGu1dC34YR6-QKbyFu4YQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*yXqhK1x-DlbvqbRJNfdXgQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*5AqYaGQMbDIamHXHdoPslQ.png" /><figcaption>Types of errors and their causes.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*StJyp4o6SoQXUeRERBgC1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*1CwV9UnR9tTPlwwo3pjTDg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*5qx71QphZbAeC90cd8qYjg.png" /><figcaption>It all starts from decimal to binary conversation and then pivots to normalized and scientific form for further proceedings which have a special usage for floating-point numbers.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*rj3YSUcw8L-QnI4ZyxReYg.png" /><figcaption>a lead to study the error in the computer that is generated.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*KOfg8nZxBRTf4PF68VpzTw.png" /><figcaption>Significant digits</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*TBUhV60etWHRC9T7jo5CZA.png" /><figcaption>Round off error.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*hfzKsIqw1KM1TFVkKlymxA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*lmr9OsNZ3_nLc2svASvtxw.png" /><figcaption>Chopping off error</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*4A6Q0Ajkxdfv24PRCJH5IA.png" /><figcaption>Rounding off error is better than the chopping off error and since it is half of the chopping off error.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*lyETDnALlUZ84yFcKXzyBw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GitdOHFZ7UvYoqSMQypNvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*YHgram7cJR9Wx3FCC9LfPg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*vMSpvCtMf4KmqAOgqUu7sw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*T-N5fJDT0YY5XJ6WpSIYtw.png" /><figcaption>loss of significant digits.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*eArVJ8vETNr3CKAxSxpE_w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*RXFklpZXbX94xkLNRb45FA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*ZXs4i3QhdhiXqRjve5cgNw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*Dnbdnpja7Di8EMEqL_yTLw.png" /><figcaption>Iterative method</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*dcqU1q_8HqNW6p28PCGMNg.png" /><figcaption>Bisection methods are used for solving non linear kinda equations.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*eJAAxmin_FDPdY2n_GPUAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*voEtfLcreJefc10xR68FgA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*epedP0FlGZURW1DbYkZDNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/1*i31kNEaFbDoOq4h82pYlIQ.png" /><figcaption>to calculate how many iterations we need to make the decimal point certain tolerance.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*tTXpdZS02zbj_8kESBFK-g.png" /><figcaption>Matlab bisection script for finding the root for a specific function</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*nvwnomLs0F2QORQlwRjuTg.png" /><figcaption>main.m script which includes the bisection function to find the roots of a non linear eqaution.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*j3_2w5TMBX_27o96e_XNQw.png" /><figcaption>In case if you change the limits of a and b then the no of iterations gets changed and leads to this as shown in the console.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*10ltc4MXwJXJA0xhrh4K3g.png" /><figcaption>for evaluation of a particular number and to find the root use fzero.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6ca5598b604" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scientific Computation using Matlab: Week 1]]></title>
            <link>https://medium.com/@kuppasaisriteja/scientific-computation-using-matlab-week-1-848bdf032d57?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/848bdf032d57</guid>
            <category><![CDATA[math]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[matlab]]></category>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Wed, 02 Sep 2020 16:15:15 GMT</pubDate>
            <atom:updated>2020-09-02T16:43:09.226Z</atom:updated>
            <content:encoded><![CDATA[<h3>Scientific Computation using Matlab: Part 1</h3><h4>Math and Programming side by side</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*3nL98QOSA9MExlFj.jpg" /></figure><p>Matlab full form is a matrix laboratory and its a high-level language.</p><p>Some basic commands to get started with</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*rOGEsITSeTUr0ptcS8UNgQ.png" /></figure><p>For version and date, just type as it is in the picture as shown next.</p><p>To get all the variables in the Matlab you used type who. Type help for getting details of a particular function you use and then it pops a window that shows how to use this function or a module with input and output parameters with working content of it.</p><h4>Numericals</h4><p>format large — — — — — — — 16 digit decimal</p><p>format short — — — — — — — 4 digit decimal</p><p>you can define complex numbers like 3+4i</p><p>to define an array a = [1,2,3,4],to get transpose type a’, to get length of a array use length(a)</p><p>to define a matrix a = [1,2,3;4,5,6;7,8,9] check the , and ; for getting a transpose type transpose(a). To get determinant type det(a). To get eigenvalues of a matrix is eig(a).</p><p>basically arrays are vectors, for getting dot product v1.*v2. for component wise use ‘.’ always. division v1./v2</p><p>make a matrix of zeros,ones of shape(2,3) — — — zero(shape),ones(2,3)</p><p>Trigonometry in Matlab — — — — sin(angle),cos(angle),tan(angle)</p><p>general functions — — — — sqrt(a) a can be a value or a matrix. ^2 for squaring. exp(a) for exponenetial.</p><h4>Defining functions and plotting them</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*9WjDGhCRBj9-TWKQdZFr1Q.png" /><figcaption>Making an array of numbers one to five and the next one tells about making an array of 1 to 5 with a different interval of 0.5 . The difference is mentioned int he middle if can be positive or negative.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*y8QZfySpKGnuSh6ZGyxF3Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*W97J4qkgcHxfAQVk91wIwg.png" /><figcaption>left linspace helps to make an array according to the user. right logspace helps to make an array according to the user but in the log exponential.</figcaption></figure><p>for plotting the function used is plot(x,y), in case two draw 2 different plots we use to hold on; and then add another plot to it.</p><p>We have many features to change the colors of the lines, add x-labels and y labels, use line plot or a scatter plot …..etc.</p><h4>Symbolic Computation in Matlab</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*iHbv9pn8Jcmq4DVb89qQSQ.png" /></figure><p>for symbols type syms variable eg syms x</p><p>you can make a function with it and write an equation if necessary.</p><p>the solve operation helps to find the solutions to the given equation. If pops an imaginary solution in case if there are.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*rr9gSH1_Mn7k3ONJP0WLBw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*Bm8Ajr8GO6t4aW8oRPAwqQ.png" /><figcaption>left: you can even simplify if or you can expand it if necessary. Right: use command subs to solve by substitution fo a certain variable with a value.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*nnIjX7cz8s7UiFnZRr6DhQ.png" /><figcaption>ezplot helps to plot a certain function within the limits as shown above. for additional stuff like marking on line or saving plots or changing the color of the plots use the edit and tools section of the image plot.for 3d plots use ezplot3(x,y,z).</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*LHynaIEC-e1KcLof91wnvg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*J4RM69aX8eKt3MN0O6_eiA.png" /><figcaption>left declare a function with @ as show(left). for a vector as an input use (.) as shown in (right). An alternative way to write a function is by using a inline function.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*obFliblc3D96l6TveyJw0g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*zPhWuqLuS8_6UpcA0C88pw.png" /><figcaption>for using multivariable in a function(left). When a vector is given as an input(right).</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HJ5ZfAkETpOwpdYMseNVnA.png" /><figcaption>the following is a semilog graph that says about the x axis being a semilog and y axis being a normal one.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zzSBA7vqTqLJc6can6k43A.png" /><figcaption>Both x axis and y axis are logs.</figcaption></figure><p>Functions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*y2zzS-86hTj0MZdLeRq8cw.png" /><figcaption>save it as a function file in the same directory you are working as in your script.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=848bdf032d57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medical Imaging: Part3]]></title>
            <link>https://medium.com/@kuppasaisriteja/medical-imaging-part3-47af2550462f?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/47af2550462f</guid>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Sat, 27 Jun 2020 12:13:26 GMT</pubDate>
            <atom:updated>2020-06-27T12:13:26.629Z</atom:updated>
            <content:encoded><![CDATA[<h4>Computed Tomography</h4><p>The body lies along the axis to the sagittal plane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*Xjynj1COtl_0BdOo.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*ewJu1IJsZnqa0aaw.jpg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=47af2550462f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medical Imaging: Part2]]></title>
            <link>https://medium.com/@kuppasaisriteja/medical-imaging-part2-5db38fa5b59d?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/5db38fa5b59d</guid>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Sat, 27 Jun 2020 07:59:37 GMT</pubDate>
            <atom:updated>2020-06-27T10:28:51.448Z</atom:updated>
            <content:encoded><![CDATA[<h4>X-Rays</h4><p>I wrote this blog series after viewing the lecture series of the NPTEL course <a href="https://nptel.ac.in/courses/108/105/108105091/">https://nptel.ac.in/courses/108/105/108105091/</a>.</p><h3>X-rays:</h3><h4>Generation:</h4><p>We heat the cathode, such that the electrons come out of them and strike the filament. The electrons that struck the filament helps to generate X-rays. We keep the filament in a 45-degree inclination such that it makes an angle of 90 degrees hitting the body surface. X-rays are not as concentrated as lasers that go in straight lines, it behaves divergent rays, acting as the light from the point source. The X-rays help to produce a magnified image of the organ it takes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/399/0*0hPoELbJOvGpW2bS" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/0*JkjtqddaOKKMVVze" /></figure><p>When the electron hits an atom it either slows down or gets absorbed. Filament emits the electron absorbed as X-ray photon of the highest energy, where the one which slows down due, also emits X-ray photon with the energy proportional to the energy lost by the electron.</p><p>Look at 57.4 KeV and 69.5 KeV the electrons come to hit the atom and sits in K-1&#39;th and K’th shell releasing the energy it has at that moment. This helps to discriminate unique types of matter, which is explained next.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*5t7md1EDpe0zeuH4" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*rTcrMmjT1JBf9bzfhe3GvQ.png" /><figcaption>source: NPTEL</figcaption></figure><h4><strong>Photon matter Interaction:</strong></h4><p>From the second image below we can see that for different energy levels, different attenuation coefficients are present. We can see that the Rayleigh and photoelectric are decreasing along X-axis. Compton scattering is the one which has a high effect. The diagnostic x-ray range is between 50–100 keV.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*HZZbjuV8zx4hdcAJ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*4xSQvWEwpXS8OhyEiL2FJA.png" /><figcaption>source: NPTEL</figcaption></figure><h3>X-Rays Through Homogenous Media</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*QddrpxIn1joGjPi6P340Yw.png" /></figure><p>let dx be a unit volume and the amount of photons absorbed at a particular value in the volume is given by mass attenuation coefficient multiplied by the density of photons.</p><p>The total amount of photon energy absorbed by traveling length L is given by-product of a number of photons incident and exponential of(mass attenuation coefficient multiplied by the length the photons traveled).</p><h3>X-Rays through Non-Homogenous Media</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*6Z8MnRL823aFUAw2AQmkwg.png" /><figcaption>source: NPTEL</figcaption></figure><p>In non-homogenous media, we have X-rays passing through different lengths (L1, L2, L3) with different materials.</p><p>Integral over the line as x-rays pass through the body and for the volume with a function of attenuation over the line. N is total attenuated value.</p><p>mu in the above integral is higher for bones and lower for air. So in a real image bones appear darker and air inside should appear lighter. The images we see through X-ray sheets are negative images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*iCvIeXD2eGdrldHOxXpj2A.png" /><figcaption>source: NPTEL</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5db38fa5b59d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medical Imaging]]></title>
            <link>https://medium.com/@kuppasaisriteja/medical-imaging-706d58eb06ff?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/706d58eb06ff</guid>
            <category><![CDATA[medical-imaging]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Sat, 27 Jun 2020 04:09:32 GMT</pubDate>
            <atom:updated>2020-06-27T06:43:36.220Z</atom:updated>
            <content:encoded><![CDATA[<h3>Medical Imaging: Part1</h3><h4>Introduction</h4><p>I wrote this blog series after viewing the lecture series of the NPTEL course <a href="https://nptel.ac.in/courses/108/105/108105091/">https://nptel.ac.in/courses/108/105/108105091/</a>.</p><p>Medical imaging is one of the core fields that are still in development. AI models trained with medical images help to identify problems in the early stages.</p><h3>Overview of medical and AI.</h3><h4>1.Medical Imaging:</h4><p>Modality: X-rays, Ultrasounds, Computed tomography(CT), Magnetic resonance (MRI), Nuclear imaging (PET and SPECT)</p><p>Organ appearances: In different modalities organs appear in a different state (color). for example, a bone would appear brighter on X-rays and CT and would appear darker on T1 MR and T2 MR.fatty regions would appear brighter on MR, ultrasound, and darker on X-rays.</p><h4>2. Physics</h4><p>Why water is darker on ultrasound and brighter on MR, to know this we need to know about <em>tissue-energy interactions</em>.</p><p>In ultrasound, we have jitter, noise, uncertainty, such things, but MR fine, but MR has a lower resolution than ultrasound, so we need to know about image formations and statistics.</p><h4>3. Image processing and Graphics</h4><p>for this, we need a basic knowledge of Digital image processing, denoising, segmentation, feature presentations, visualizations of images is to be known.</p><h4>4.Machine Learning</h4><p>Predictions of the image using ML models especially using deep learning have grown to a large extent. We build complex models using transfer learning and ensemble learning, which helped to achieve higher accuracies.</p><h3>Key research areas in medical imaging are:</h3><ol><li>Macro- meso -micro Imaging.</li><li>medical image registration.</li><li>Organ localization.</li><li>Organ segmentation.</li><li>medical visualization and Augmented Reality.</li><li>Virtual anatomy.</li><li>digital angiography.</li><li>Optical and ultrasonic speckling.</li><li>3D optical microscopy.</li><li>Digital pathology.</li></ol><h3>Medical Images Data and Challenges Online</h3><ol><li>Grand Challenges: This website comprises a lot of challenges with large datasets over various domains.</li></ol><p><a href="https://grand-challenge.org/challenges/">Grand Challenge</a></p><p>2.MICCAI, ISBI, SPIE Medical Imaging, IPCAI, IPMI, ICVGIP are the topmost conference to look out in this field of medical imaging.</p><h3>Tool Boxes for biomedical imaging</h3><ol><li>B<a href="https://www.biodigital.com/">ioDigital</a> human</li><li><a href="https://www.mevislab.de/">MeVisLab</a></li><li><a href="https://www.anaconda.com/">Anaconda</a></li><li><a href="https://pytorch.org/">Torch</a></li></ol><h3>Read for Medical and AI</h3><ol><li>Medical Image analysis</li><li><a href="https://ieeexplore.ieee.org/xpl/RecentIssue.jsp?punumber=42">IEEE transaction medical imaging</a></li><li><a href="https://ieeexplore.ieee.org/xpl/RecentIssue.jsp?punumber=6745852">IEEE transaction Computational Imaging</a></li><li><a href="https://ieeexplore.ieee.org/xpl/RecentIssue.jsp?punumber=6221020">IEEE biomedical and health informatics</a></li><li><a href="https://www.spiedigitallibrary.org/journals/journal-of-medical-imaging?SSO=1">SPIE J. Medical Imaging</a></li></ol><h3><strong>Top Conferences to be followed</strong></h3><ol><li>for computer vision: <a href="http://cvpr2020.thecvf.com/">CVPR</a>, ICCV, ECCV, ACCV</li><li>for machine learning: ICML, ECML, ACML, NIPS</li></ol><h3>Workshops and Schools</h3><ol><li>Medical Imaging summer school</li><li>IEEE SPS summer school on Biomedical imaging analysis</li><li>IEEE EMBS Int. Summer school on biomedical imaging.</li><li>Biomedical image analysis summer school.</li></ol><h3><strong>Reference Books</strong></h3><ol><li>Guide to Medical Image Analysis: Methods and Algorithms, Book by Klaus D. Toennies.</li><li>Handbook of Medical Image Processing and Analysis, Book by Isaac Bankman.</li><li>medical image processing techniques and applications by Dougherty.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=706d58eb06ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning Series: Part1]]></title>
            <link>https://medium.com/@kuppasaisriteja/machine-learning-series-part1-5b72d00bfd8a?source=rss-62c69bdf3c01------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b72d00bfd8a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[saisriteja kuppa]]></dc:creator>
            <pubDate>Mon, 22 Jun 2020 03:17:58 GMT</pubDate>
            <atom:updated>2020-06-22T03:21:02.838Z</atom:updated>
            <content:encoded><![CDATA[<h4>Introduction to ML</h4><p>Machine-learning involves building mathematical models to help understand data. “Learning” enters the fray when we give these models tunable parameters that can be adapted to observed data.</p><h4>Categories of Machine Learning</h4><p>Machine learning is mostly divided into 3 types they are supervised learning, unsupervised learning,semi-supervised learning.</p><p><strong>Supervised Learning:</strong></p><p>In supervised learning, we have data labeled, so the predictions are made from the labeled data. Categories like date and time, place, price labels are present for labeled data. More often there are two types of <em>classifications(</em>labels are discrete category<em>) </em>and <em>regression(</em>labels are continuous category<em>)</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*epmi-mwQ3EDNw8Vl.png" /><figcaption>Supervised Learning</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/0*ADBD5Nn6H4TWDa34.png" /><figcaption>Classification and Regression</figcaption></figure><p><strong>Unsupervised Learning:</strong></p><p>In unsupervised learning, the dataset doesn’t have any labels. These models include tasks such as clustering and dimensionality reduction. Clustering algorithms help to identify the distinct group of data. Dimensionality reduction algorithms search for more succinct representations of the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*auylqvxBqQzhipZf.png" /><figcaption>Unsupervised Learning</figcaption></figure><p><strong>Semi-supervised Learning:</strong></p><p>Besides, there are so-called semi-supervised learning methods, which fall somewhere between supervised learning and unsupervised learning. Semi-supervised learning methods are often useful when only incomplete labels are available.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b72d00bfd8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>