<?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 Joshua Alfred Jayapal on Medium]]></title>
        <description><![CDATA[Stories by Joshua Alfred Jayapal on Medium]]></description>
        <link>https://medium.com/@joshua.jayapal?source=rss-705d76e150f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zOzolxw2sAOtkWyJzZK2zw.jpeg</url>
            <title>Stories by Joshua Alfred Jayapal on Medium</title>
            <link>https://medium.com/@joshua.jayapal?source=rss-705d76e150f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:41:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joshua.jayapal/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[Julia — Revolutionizing Data Science with Speed and Versatility]]></title>
            <link>https://medium.com/nyu-ds-review/julia-revolutionizing-data-science-with-speed-and-versatility-25f850a215bf?source=rss-705d76e150f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/25f850a215bf</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[compiler-design]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[julia-programming]]></category>
            <dc:creator><![CDATA[Joshua Alfred Jayapal]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 15:04:33 GMT</pubDate>
            <atom:updated>2024-04-04T15:04:33.594Z</atom:updated>
            <content:encoded><![CDATA[<h3>Julia — Revolutionizing Data Science with Speed and Versatility</h3><blockquote><em>Julia, the Swiss Army knife for any aspiring Data Scientist — an amalgamation of high-performance compiling and high-level syntax that delivers rapid prototyping and scientific solutions!</em></blockquote><p>This article details the flexibility and efficiency within Julia, a high level language powered with low-cost performance optimizations. Despite contemporary industries’ loyalty towards Python for their project development and pipelines, Julia presents itself as a jack-of-all trades for producing innovative solutions within the field of data science. This article aims to invite you to venture into Julia to craft innovative solutions. Let’s dive deep and discover the unique advantages that Julia has to offer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*ybhVPEuEJ75CWysn" /><figcaption><em>Julia in a nutshell. Generated using imgflip.com</em></figcaption></figure><p>The image above pretty much summarizes Julia for you. Julia is a high-level, high-performance programming language for technical computing, and has been making significant strides since its introduction in 2012. It came into existence by the laborious effort of four computer scientists — Stefan Karpinski, Viral B. Shah, Jeff Bezanson, and Alan Edelman — who sought to bridge the gap between low-level, high performance languages and high-level, easy-to-use languages for scientific computing tasks. With its unique combination of simplicity and power, Julia is designed to address the needs of high-performance computing while also being effective for general-purpose programming, web development, and more.</p><p>This dynamic language promises an enticing blend of ease of use akin to Python, with the speed of C, along with statistical and linear algebra facilities like R and MATLAB, making it a compelling choice for developers and researchers alike. In 2017, Julia officially joined as the fourth member of the petaflop club (a league of languages that can perform efficiently on supercomputers capable of running 10¹⁵ operations per second) after C, C++, and Fortran [1].</p><p>Julia is equipped with a combination of Just-In-Time (JIT) and partial ahead-of-time compilation techniques that contributes to its enhanced performance. This compilation strategy analyzes all written statements, like JIT, but generates its respective machine code when that statement is executed for the first time, similarly to ahead-of-time compilation [2]. Julia is also a multi-paradigm language with multiple dispatch that facilitates different programming styles and executes a function in different ways depending on the input arguments. Users can easily type or convert mathematical equations to handle numerical computation easily. Sinha experimented the merge sort algorithm on different data sizes on Julia, Python and C, and inferred that Julia performed significantly more efficient than Python on large arrays of size 10⁵ and beyond [3]. Julia also facilitates meta programming, where users can write code to transform the language’s implementation.</p><p>Here’s a comparison between Julia and MATLAB’s code structure in generating a sine wave heatmap [4].</p><pre>% code in MATLAB<br> <br>clear all, close all;<br>N = 100; % Number of pixels per line and number of lines<br>x = (1:N)/N; % Spatial vector<br>y = sin(8*pi*x); % Four cycle sine wave<br>for k = 1:N<br>I(k,:) = y; % Duplicate 100 times<br>end<br>pcolor(I); % Display image<br>colormap(bone); % Use a grayscale color map</pre><pre># This is Julia code; it will not run in MATLAB or Python.<br><br>using Plots<br>N = 100;<br>x = (1:N)/N;<br>y = sin.(8π.*x);<br>I = [y for _ in range(1,100)];<br>heatmap(hcat(I…)&#39;, c=:bone)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*UrAYQNrhiWof3E5W" /><figcaption>Sinewave heatmap image produced by MATLAB and Julia. Both provide the same output, but Julia presents better code readability [4].</figcaption></figure><h4>Harnessing Julia: Use cases &amp; Applications</h4><p>What sets Julia apart is not just its speed or its ability to effortlessly handle mathematical and statistical operations but also its vibrant ecosystem and community. Julia comes with a rich set of libraries and tools, and its package manager, Pkg, provides easy access to a growing repository of packages covering various domains, from machine learning and data science to quantum computing and bioinformatics. The genie framework in Julia offers workflows to develop and deploy production-level web applications. Also, the fructifying community encourages innovation and collaboration, further amplifying Julia’s potential across numerous fields.</p><p>Julia is widely used for computation-intensive data driven applications such as the Celeste project — which involves cataloging 178 terabytes of astronomical image data — was implemented using Julia, which improved performance by a thousand fold. This project was a painstaking process that was left incomplete for almost 16 years until Julia came to the rescue[5]. Climate Modelling Alliance (CLiMA), formed by a group of scientists from MIT, CalTech, and NASA Jet Propulsion Laboratory are utilizing Julia-based models to develop and optimize powerful climate forecasting models[6]. Julia is also used in the field of computational biology to analyze large genetic sequences and modeling evolutionary dynamics. Moreover, Julia’s arsenal of features are making waves in the domains of quantum computing, banking, finance and scientific research.</p><h4>Conclusion</h4><p>Even with such power and potential, Julia is still a grain of sand when it comes to the plethora of data science applications built using Python, R, and MATLAB. That’s because Julia’s ecosystem and community are still in their infancy state, and it is quite difficult to build highly specific applications due to its comparatively lesser libraries and tools when compared to Python. Also, high performance provided by Julia demands extensive memory usage, making it suitable for supercomputers to run really heavy data-packed operations.</p><p>Despite these challenges, Julia is still a compelling choice for developing data-driven projects by leveraging its peak performance and tools for sophisticated programming. Julia is both an asset of research and project development, and its growth statistics underscore a promising area for investment in different areas of expertise. I’d highly recommend any budding data scientist to give Julia a try and explore ways to utilize the language to meet their project objectives.</p><h4><strong>References:</strong></h4><p>[1] HPCWire, <a href="https://www.hpcwire.com/off-the-wire/julia-joins-petaflop-club/">Julia Joins Petaflop Club</a>, September 2017</p><p>[2] Bezanson, J., Edelman, A., Karpinski, S., &amp; Shah, V. B. (2017). Julia: A Fresh Approach to Numerical Computing. In SIAM Review (Vol. 59, Issue 1, pp. 65–98). Society for Industrial &amp; Applied Mathematics (SIAM). <a href="https://doi.org/10.1137/141000671">https://doi.org/10.1137/141000671</a></p><p>[3] Medium, <a href="https://medium.com/hackernoon/performance-analysis-julia-python-c-dd09f03282a3">Performance Analysis: Julia, Python, and C</a>, February 2017</p><p>[4] University of Illinois Urbana-Champaign, <a href="https://courses.grainger.illinois.edu/bioe205/sp2023/code/julia/">Julia Examples</a>, Accessed: March 2024</p><p>[5] JuliaHub, <a href="https://juliahub.com/case-studies/celeste/index.html">Celeste</a>, August 2017</p><p>[6] CliMA: <a href="https://clima.caltech.edu/">Climate Modeling Alliance</a>, Accessed: March 2024</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25f850a215bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nyu-ds-review/julia-revolutionizing-data-science-with-speed-and-versatility-25f850a215bf">Julia — Revolutionizing Data Science with Speed and Versatility</a> was originally published in <a href="https://medium.com/nyu-ds-review">NYU Data Science Review</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Spiking Neural Network: The Future of Neural Computing That’s Held Back by Today’s Hardware]]></title>
            <link>https://medium.com/nyu-ds-review/the-spiking-neural-network-the-future-of-neural-computing-thats-held-back-by-today-s-hardware-7d3bb5e64fe3?source=rss-705d76e150f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d3bb5e64fe3</guid>
            <category><![CDATA[neuromorphic-hardware]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Joshua Alfred Jayapal]]></dc:creator>
            <pubDate>Tue, 12 Dec 2023 23:01:22 GMT</pubDate>
            <atom:updated>2023-12-12T23:01:22.530Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Dive into the frontier of Spiking Neural Networks, where the promise to revolutionize AI meets the challenge of today’s hardware limitations.</em></h4><p>The beginning of Spiking Neural Networks (SNNs) was all about making computer models that more closely mimic how our brains actually work. In the early 1990s, some smart people decided to take a closer look at how our brain cells, or neurons, communicate with each other at a speed close to the speed of light [1]. They were especially interested in the tiny electrical signals, or “spikes,” that neurons use to talk to each other.</p><p>Researchers like Eugene Izhikevich and Henry Markram led the way. They thought, “Hey, if we want to make a computer brain, it should send signals like a human brain does.” So, they focused on these spikes, trying to understand their patterns and rhythms. They dug deep, exploring how these spikes could help computer brains process information more like human brains. These guys didn’t just want to make another computer model; they wanted to create something that really gets close to the real, dynamic nature of our brain’s activities. Their hard work and ideas helped shape SNNs, bringing us a bit closer to having computer brains that think and learn like we do [2].</p><p>Moreover, SNNs are famously called the “Third generation of neural networks” by exhibiting this unique ability to represent information in the time interval between spikes. The second generation of neural networks (CNNs and RNNs) operate on the frequency of data rather than the timing of individual signals.</p><p>The first generation of neural networks is characterized by the perceptron, by Rosenblatt in 1957, which is the primitive model of a biological neuron, capable of solving linear classification problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IxXRZpC6DaMlXvT_" /><figcaption><em>The human brain’s 20-watt power use outperforms current deep learning networks by 100,000 times in energy efficiency. Image by DALL-E.</em></figcaption></figure><h3><strong>A Symphony of Spikes: The SNN Advantage</strong></h3><p>In the fascinating landscape of neural networks, Spiking Neural Networks (SNNs) emerge as curious explorers, intently tuned into the timely, rhythmic dances of neural spikes. They’re not merely passive observers; they’re dynamic participants in the orchestra of neural communication, precisely capturing the rhythmic timings and nuanced pulses of the brain’s electrical chatter.</p><p>The key strength of SNNs is their exceptional capacity to accurately capture and utilize the precise timing between electrical impulses, or ‘spikes’, in neural activities. These spikes are timed and the patterns of spikes encode information. SNNs are believed to be much more energy-efficient, potentially capable of more complex and adaptive behaviors, and are better suited for unsupervised and reinforcement learning. SNNs seek to understand, emulate, and leverage these natural rhythms for more biologically plausible computational models.</p><h3><strong>Neural Precision: Mathematically Modeling the Brain’s Circuitry</strong></h3><p>Spiking Neural Networks (SNNs) are built upon models like the Leaky Integrate-and-Fire (LIF), which mirror the behavior of biological neurons. In this model, each neuron in an SNN functions similarly to a neuron in the brain. It accumulates electrical energy up to a certain threshold. When this threshold is reached, the neuron emits a spike, comparable to a signal sent by a neuron in the brain. Following this spike, the neuron resets its potential, preparing to accumulate and fire again [3].</p><p>The interpretation of these spikes in SNNs can vary. Some models focus on the frequency of these spikes, relating it to how often a neuron fires in response to a stimulus (rate coding). Others may consider the timing of the first spike following a stimulus or the intervals between consecutive spikes. These different approaches provide varied insights into neural activity, reflecting the diverse ways neural firing can encode information in the brain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7WbeE1dNMqLqJVCe" /><figcaption><em>SNN’s Learning Dynamics: diagram (a) compares Artificial Neural Networks (ANNs) with ReLU units, and Spiking Neural Networks (SNNs) with LIF neurons, and the complexity of backpropagation in SNNs. Diagram (b) shows a neuron’s membrane potential over time, detailing the process from presynaptic spikes to postsynaptic firing, and introduces surrogate gradients for SNN’s non-differentiable events [4].</em></figcaption></figure><h3><strong>Application Horizons of SNNs</strong></h3><p>SNNs offer a refined approach to speech recognition. Their sensitivity to temporal patterns enables a more authentic and accurate interpretation of vocal inputs, ensuring that the subtleties of speech, such as intonation and pacing, are not overlooked but rather incorporated into the recognition process.</p><p>In the field of robotics, SNNs introduce a level of dynamism that is closely aligned with real-world variability and unpredictability. They empower robotic systems to interact and adapt to their environment with enhanced responsiveness and precision, facilitating a more nuanced and effective engagement with external stimuli.</p><p>In healthcare and medical diagnostics, SNN’s knack for identifying temporal patterns holds the promise of greatly enhancing the way medical data, like the intricate signals from electroencephalograms (EEG), is analyzed. SNNs have the fine-tuned ability to pick up on the minor fluctuations in physiological data — details that might slip past conventional neural networks. This could pave the way for quicker, more precise diagnosis of medical conditions such as epilepsy or irregular heartbeats, offering the potential to save lives by catching critical health events before they unfold.</p><p>Moreover, in financial forecasting, the application of SNNs could be transformative. Their capacity to process and interpret temporally complex data allows for a more insightful analysis of market trends and economic patterns, providing a robust foundation for prediction and strategy formulation.</p><h3><strong>Confronting the Hardware Dilemma: Challenges in SNN Implementation</strong></h3><p>Spiking Neural Networks (SNNs), with their intricate structures and event-driven nature, demand a symphony of computational resources for effective implementation and performance. However, traditional computing architectures often struggle to accommodate the unique requirements of SNNs, leading to a pressing need for innovation and adaptation in hardware landscapes. While Spiking Neural Networks (SNNs) currently do not match the performance of Artificial Neural Networks (ANNs), the gap is gradually narrowing over time. However, there are several key factors that continue to restrain the full potential of SNNs [5].</p><h3><strong>Bridging Architectural Gaps</strong></h3><p>Modern computing systems have been engineered to operate with a consistent, predictable rhythm, much like a metronome that keeps a steady beat for a musician. This structured, clock-driven approach suits the traditional Artificial Neural Networks (ANNs) well, which process information in a continuous flow.</p><p>However, Spiking Neural Networks (SNNs) introduce a different kind of rhythm, one that’s punctuated by bursts of activity and periods of silence — a staccato pattern in our musical analogy. These networks clash with the structured, clock-driven operation of conventional hardware. The result is a mismatch, an awkward dance where neither partner moves in harmony, leading to inefficiencies and lost potential in the realm of neural computing.</p><p>This challenge is due to the design implementation of today’s CPUs and GPUs that fail to adhere to SNN’s synchronization. Traditional CPUs and GPUs are based on the von Neumann architecture, designed to execute instructions on a predefined series of steps. The mismatch between SNNs’ asynchronous behavior and traditional computing can cause inefficiencies. For example, simulating the unique timing of each neuron’s spikes requires managing many separate timers and can result in processing delays for neurons that aren’t actively firing.</p><h3><strong>Neuromorphic Pioneering: A New Dawn</strong></h3><p>Amidst this conflict, neuromorphic engineering shines as a beacon of hope, illuminating pathways to hardware that echoes the biological finesse and temporal sophistication of SNNs. Neuromorphic computing takes inspiration from the neural structure of the human brain to create a brand new class of hardware that is fundamentally different from traditional computer machines. Here’s a list of some notable neuromorphic chips and their respective creators:</p><ul><li><strong>Intel’s Loihi</strong>: The Loihi neuromorphic chips are designed to natively support the parallel, asynchronous processing of spiking neurons, offering a more efficient platform for SNNs. Its architecture allows each neuron to operate independently and only consumes power when its processing spikes, leading to significant energy savings and improvements for tasks suited to SNNs [6].</li><li><strong>IBM’s TrueNorth</strong>: As part of the SyNAPSE program, IBM developed TrueNorth, a chip designed to emulate the brain’s neurons and synapses in a network of silicon cores and is capable of conducting deep learning tasks with high energy efficiency [7].</li><li><strong>Neurogrid</strong>: Developed by Stanford University, Neurogrid simulates the human cortex’s neural networks and can model one million neurons in real-time [8].</li></ul><p>The widespread adoption of neuromorphic technology is limited by factors including production costs, the need for specialized programming models, and a lack of support for the broader ecosystem of tools and libraries that developers rely on. Despite starting from a relatively modest base of USD 0.08 billion in 2023, the market for neuromorphic chips is on an upward trajectory with projections estimating it will grow to USD 2.85 billion by 2028. Anticipated to catalyze a transformation across a broad spectrum of applications, both scientific and commercial, neuromorphic computing is poised to significantly impact various sectors within the next decade [9].</p><h3><strong>Conclusion</strong></h3><p>Spiking Neural Networks (SNNs) represent a significant leap towards replicating the intricate workings of the human brain in silicon form, offering the potential to revolutionize artificial intelligence. They capture the precise timing of neural activity, promising more energy-efficient and complex behaviors suited for advanced learning paradigms. Despite their potential, the mismatch between SNNs and current hardware is akin to trying to play a jazz improvisation on an instrument tuned for classical symphonies — it’s possible, but far from ideal. As the market for neuromorphic hardware matures, it promises to unlock new possibilities across various fields, from robotics to healthcare, by harnessing the true power of neural computing and is worth something to know and learn of. Understanding and engaging with this emerging field is not just beneficial; it’s crucial for anyone looking to be at the forefront of innovation in artificial intelligence.</p><h3><strong>References:</strong></h3><p>[1] Ghaderi A. H. (2015). Brain activity and special relativity: estimation and a novel hypothesis to explain time perception. Am. J. Psychol. Cogn. Sci. 1, 66–74. <a href="http://doi.org/10.13140/RG.2.2.28409.98402">http://doi.org/10.13140/RG.2.2.28409.98402</a></p><p>[2] National Geographic (2013), <a href="https://www.nationalgeographic.com/science/article/will-we-ever-simulate-the-brain">Will We Ever… Simulate the Brain?</a></p><p>[3] Gerstner, W., &amp; Kistler, W. M. (2002). <a href="https://www.cambridge.org/core/books/spiking-neuron-models/76A3FC77EC2D24CDD91E29EBB23ADB0B">Spiking neuron models: Single neurons, populations, plasticity</a>. Cambridge university press.</p><p>[4] Kim, Y., Panda, P. Visual explanations from spiking neural networks using inter-spike intervals. Sci Rep 11, 19037 (2021). <a href="https://doi.org/10.1038/s41598-021-98448-0">https://doi.org/10.1038/s41598-021-98448-0</a></p><p>[5] Tavanaei A, Ghodrati M, Kheradpisheh SR, Masquelier T, Maida A (March 2019). “Deep learning in spiking neural networks”. Neural Networks. 111: 47–63. DOI: <a href="https://doi.org/10.1016%2Fj.neunet.2018.12.002">10.1016/j.neunet.2018.12.002</a>.</p><p>[6] <a href="https://doi.org/10.1109/MM.2018.112130359">Loihi: A Neuromorphic Manycore Processor with On-Chip Learning</a>. IEEE Micro, 2018.</p><p>[7] Merolla PA, Arthur JV, Alvarez-Icaza R, Cassidy AS, Sawada J, Akopyan F, Jackson BL, Imam N, Guo C, Nakamura Y, Brezzo B, Vo I, Esser SK, Appuswamy R, Taba B, Amir A, Flickner MD, Risk WP, Manohar R, Modha DS. Artificial brains. A million spiking-neuron integrated circuit with a scalable communication network and interface. Science. 2014 Aug 8;345(6197):668–73. doi: <a href="https://doi.org/10.1126/science.1254642">10.1126/science.1254642</a>. Epub 2014 Aug 7. PMID: 25104385.</p><p>[8] Stanford (2014), <a href="https://web.stanford.edu/group/brainsinsilicon/documents/BenjaminEtAlNeurogrid2014.pdf">Neurogrid: A Mixed-Analog-Digital Multichip System for Large-Scale Neural Simulations</a>.</p><p>[9] Mordor Intelligence (2023), <a href="https://www.mordorintelligence.com/industry-reports/neuromorphic-chip-market/market-size">Neuromorphic Chip Market Size</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d3bb5e64fe3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nyu-ds-review/the-spiking-neural-network-the-future-of-neural-computing-thats-held-back-by-today-s-hardware-7d3bb5e64fe3">The Spiking Neural Network: The Future of Neural Computing That’s Held Back by Today’s Hardware</a> was originally published in <a href="https://medium.com/nyu-ds-review">NYU Data Science Review</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>