<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Furkan</title>
    <description>The latest articles on DEV Community by Furkan (@furkannarkn).</description>
    <link>https://dev.to/furkannarkn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3985930%2F02766d0d-2483-4525-963e-2726948f4dd7.png</url>
      <title>DEV Community: Furkan</title>
      <link>https://dev.to/furkannarkn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/furkannarkn"/>
    <language>en</language>
    <item>
      <title>I built a from-scratch Transformer + MiniGPT in pure Python (no PyTorch/TF/NumPy) to learn how it all fits feedback on the autograd?</title>
      <dc:creator>Furkan</dc:creator>
      <pubDate>Sun, 28 Jun 2026 12:10:07 +0000</pubDate>
      <link>https://dev.to/furkannarkn/i-built-a-from-scratch-transformer-minigpt-in-pure-python-no-pytorchtfnumpy-to-learn-how-it-3dgj</link>
      <guid>https://dev.to/furkannarkn/i-built-a-from-scratch-transformer-minigpt-in-pure-python-no-pytorchtfnumpy-to-learn-how-it-3dgj</guid>
      <description>&lt;p&gt;Cognitive Discovery System (CDS)  a scientific computing library written in pure Python. No NumPy, no SciPy, no compiled extensions. Zero dependencies, runs anywhere.&lt;/p&gt;

&lt;p&gt;18 modules: quantum circuit simulation, FFT/IFFT, ODE solvers, numerical integration, linear algebra, statistics, Monte Carlo, optimization, graph algorithms, symbolic math, a from-scratch NLP stack (BPE → attention → MiniGPT + scalar autograd), and a hypothesis-generation module.&lt;/p&gt;

&lt;p&gt;The idea: pure Python can't beat C on raw loops, but it can close the gap algorithmically — O(N log N) FFT, O(N³) LU decomposition (instead of O(N!) determinants), O(1) probabilistic quantum measurement. Not a NumPy replacement; a readable, dependency-light toolkit.&lt;/p&gt;

&lt;p&gt;1,441 tests · 100% coverage · on PyPI &lt;a href="https://pypi.org/project/cognitive-discovery-system/" rel="noopener noreferrer"&gt;https://pypi.org/project/cognitive-discovery-system/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/Furox88/cognitive-discovery-system" rel="noopener noreferrer"&gt;https://github.com/Furox88/cognitive-discovery-system&lt;/a&gt; Install: pip install cognitive-discovery-system &lt;/p&gt;

&lt;p&gt;If you find it useful, a star on the repo means a lot. The autograd part is the one I'd most appreciate eyes on.&lt;br&gt;
If anyone has time to glance at the from-scratch autograd implementation, that's the part I'm least sure about. Open to feedback&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>nlp</category>
      <category>python</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I Built a Pure Python AI Library with Zero External Dependencies – No NumPy, No TensorFlow</title>
      <dc:creator>Furkan</dc:creator>
      <pubDate>Sun, 21 Jun 2026 11:37:08 +0000</pubDate>
      <link>https://dev.to/furkannarkn/i-built-a-pure-python-ai-library-with-zero-external-dependencies-no-numpy-no-tensorflow-2kle</link>
      <guid>https://dev.to/furkannarkn/i-built-a-pure-python-ai-library-with-zero-external-dependencies-no-numpy-no-tensorflow-2kle</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I wanted to share a project I've been working on for the last 12 days. It's called Cognitive Discovery System (CDS) — a scientific computing library written in pure Python with zero heavy dependencies. No NumPy, no SciPy, no compiled extensions.&lt;/p&gt;

&lt;p&gt;Why does this exist?&lt;/p&gt;

&lt;p&gt;I'm not trying to compete with NumPy — it can't, and it shouldn't try. The goal was:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Readable source you can actually learn from (every algorithm from scratch)&lt;/li&gt;
&lt;li&gt;Edge runtime — runs anywhere Python runs, no BLAS/C-Fortran toolchain&lt;/li&gt;
&lt;li&gt;One umbrella for math + physics + stats + ML + signals + quantum, instead of 6+ separate libraries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What's inside (17 modules)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Quantum — single &amp;amp; multi-qubit circuits, Bell/GHZ states, entanglement detection&lt;/li&gt;
&lt;li&gt;Signals — O(N log N) FFT, convolution via Convolution Theorem, power spectrum&lt;/li&gt;
&lt;li&gt;Optimization — gradient descent, Newton's method, Adam&lt;/li&gt;
&lt;li&gt;Numerical — O(N³) LU/QR/Cholesky, RK4 ODE solver, Gauss-Legendre quadrature&lt;/li&gt;
&lt;li&gt;Stats — t-test, chi-square, ANOVA, Pearson, linear regression&lt;/li&gt;
&lt;li&gt;ML — neural network from scratch (MLP, Adam)&lt;/li&gt;
&lt;li&gt;NLP — BPE tokenizer, multi-head attention, MiniGPT demo&lt;/li&gt;
&lt;li&gt;Graphs — Dijkstra, Kruskal MST, topo sort&lt;/li&gt;
&lt;li&gt;+ Monte Carlo, symbolic math, knowledge graph, hypothesis generation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One design choice I'm proud of&lt;/p&gt;

&lt;p&gt;The whole library is built around "smarter algorithms, not faster loops." For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Instead of naive shot-by-shot quantum sampling, I used O(1) probabilistic sampling with explicit state collapse&lt;/li&gt;
&lt;li&gt;The linear algebra uses partial-pivoting LU (O(N³)) instead of naive determinant expansion (O(N!))&lt;/li&gt;
&lt;li&gt;FFT uses zero-padded radix-2 (O(N log N)) instead of naive DFT (O(N²))&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Engineering&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1,244 tests, 100% statement + branch coverage&lt;/li&gt;
&lt;li&gt;Multi-OS CI matrix, CodeQL, signed PyPI releases (OIDC)&lt;/li&gt;
&lt;li&gt;mkdocs site, CLI, interactive web dashboard&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Install&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install cognitive-discovery-system
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Repo: &lt;a href="https://github.com/Furox88/cognitive-discovery-system" rel="noopener noreferrer"&gt;https://github.com/Furox88/cognitive-discovery-system&lt;/a&gt;&lt;br&gt;
Docs: &lt;a href="https://Furox88.github.io/cognitive-discovery-system/" rel="noopener noreferrer"&gt;https://Furox88.github.io/cognitive-discovery-system/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback wanted&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is the "pure Python, no NumPy" pitch compelling, or does it sound like reinventing the wheel?&lt;/li&gt;
&lt;li&gt;The library tries to be a broad umbrella — is that a strength (one package) or a weakness (unfocused)?&lt;/li&gt;
&lt;li&gt;Any modules where the from-scratch implementation would be useful for learning?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Not trying to compete with NumPy — genuinely curious whether there's a niche for a readable, dependency-light alternative. Happy to answer questions about any of the implementations.&lt;/p&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>machinelearning</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Building a Scientific Computing Platform (Quantum, ML, Math) in Pure Python Without NumPy</title>
      <dc:creator>Furkan</dc:creator>
      <pubDate>Mon, 15 Jun 2026 16:54:45 +0000</pubDate>
      <link>https://dev.to/furkannarkn/i-spent-months-building-a-scientific-computing-platform-quantum-ml-math-in-100-pure-python-19of</link>
      <guid>https://dev.to/furkannarkn/i-spent-months-building-a-scientific-computing-platform-quantum-ml-math-in-100-pure-python-19of</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;We rely so heavily on tools like NumPy, SciPy, and PyTorch that most of us treat them like black magic. I wanted to break that illusion. My goal was to&lt;br&gt;
see if I could build a professional-grade computational science platform using nothing but the Python Standard Library.&lt;/p&gt;

&lt;p&gt;It turned into an obsessive deep dive into algorithmic optimization, memory management, and raw math.&lt;/p&gt;

&lt;p&gt;I've just released v0.6.0, and here is what it currently handles natively in Pure Python:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Linear Algebra &amp;amp; Calculus: I had to scrap naive 0(N!) determinants for an O(N3) Partial Pivoting LU decomposition to stop my machine from melting. Also&lt;br&gt;
includes an Adaptive Newton Method.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Quantum Mechanics: A complete state-vector simulator. Instead of calculating matrices thousands of times for measurements, I implemented an 0(1)&lt;br&gt;
probabilistic sampling algorithm with true state collapse.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Machine Learning from Scratch: A fully functioning Neural Network (MLP) trained by a custom-built Adam optimizer that features full momentum state&lt;br&gt;
persistence.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Signal Processing: An O(N log N) zero-padded 1D/2D FFT and Convolution Theorem implementation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Statistics: An autonomous hypothesis engine that takes generated ideas and tests them against datasets using ANOVA and Welch's t-tests.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Ecosystem Upgrade:&lt;br&gt;
To prove it wasn't just a toy, I made sure the engineering standards were flawless:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;350+ unit tests hitting 95% coverage.&lt;/li&gt;
&lt;li&gt;Strict typing enforced by mypy and ruff in the CI pipeline.
Interactive Jupyter Notebook tutorials and a fully automated MkDocs website.&lt;/li&gt;
&lt;li&gt;A Streamlit dashboard and a Rich-powered CLI.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are a student who wants to read the actual math behind an FFT or a Quantum Gate without getting lost in C/C++ source code, or if you're just&lt;br&gt;
curious about how far vanilla Python can be pushed, I'd love for you to explore it. Feedback, code reviews, and stars are highly appreciated!&lt;/p&gt;

&lt;p&gt;GitHub Repo: &lt;a href="https://github.com/Furox88/cognitive-discovery-system" rel="noopener noreferrer"&gt;https://github.com/Furox88/cognitive-discovery-system&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Documentation &amp;amp; Tutorials: &lt;a href="https://furox88.github.io/cognitive-discovery-system/" rel="noopener noreferrer"&gt;https://furox88.github.io/cognitive-discovery-system/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;PyPI Installation: pip install cognitive-discovery-platform&lt;/p&gt;

</description>
      <category>algorithms</category>
      <category>python</category>
      <category>science</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
