abril4416
Add Gradio hub with linear and logistic regression interfaces
c745dff
Raw
History Blame Contribute Delete
1.91 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DDW Interface - Simple Sigmoid</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header class="site-header">
<div>
<p class="kicker">Data Driven World</p>
<h1>Simple Sigmoid (Page 1)</h1>
</div>
<nav>
<a href="index.html">Home</a>
<a class="active" href="simple-sigmoid.html">Simple Sigmoid</a>
<a href="confusion-matrix.html">Confusion Matrix (Page 3)</a>
<a href="sigmoid.html">Sigmoid Function</a>
<a href="cost-visualization.html">Cost Function</a>
<a href="about.html">Notes</a>
</nav>
</header>
<main class="layout">
<section class="panel controls">
<h2>Single-Variable Function</h2>
<p class="hint">
Illustrating: <code>1 / (1 + np.exp(-z))</code>
</p>
<label for="z">z value: <span id="zValue">0.00</span></label>
<input id="z" type="range" min="-10" max="10" step="0.1" value="0" />
<div class="button-row">
<button id="resetSimple" type="button">Reset</button>
<button id="animateSimple" type="button">Animate z</button>
</div>
<div class="checkboxes">
<label><input id="showHalf" type="checkbox" checked /> Show y = 0.5 line</label>
<label><input id="showFormula" type="checkbox" checked /> Show formula annotation</label>
</div>
</section>
<section class="panel chart-panel">
<h2>sigmoid(z) = 1 / (1 + np.exp(-z))</h2>
<canvas id="simplePlot" width="900" height="520" aria-label="Simple sigmoid chart"></canvas>
<div class="stats" id="simpleStats"></div>
</section>
</main>
<script src="simple.js"></script>
</body>
</html>