2 Commitit 4ed64c719f ... e65b7b700f

Tekijä SHA1 Viesti Päivämäärä
  Jason Xing e65b7b700f modifed for blog 3 vuotta sitten
  Jason Xing 99f661571e Add index page for these examples 3 vuotta sitten

+ 3 - 1
brain-js.test-01.html

@@ -4,7 +4,8 @@
     <title>Brain JS Test</title>
     <meta charset="utf-8" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
+    <meta name="viewport"
+          content="width=device-width, initial-scale=1.0">
     <style>
       #network {
         background: #ccc;
@@ -13,6 +14,7 @@
         height: 480px;
       }
     </style>
+    <link rel="stylesheet" href="simple.min.css">
   </head>
 
   <body>

+ 3 - 1
brain-js.test-02-RNN.html

@@ -4,7 +4,8 @@
     <title>Brain JS Test</title>
     <meta charset="utf-8" />
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
+    <meta name="viewport"
+          content="width=device-width, initial-scale=1.0">
     <style>
       #network {
         background: #ccc;
@@ -13,6 +14,7 @@
         height: 480px;
       }
     </style>
+    <link rel="stylesheet" href="simple.min.css">
   </head>
 
   <body>

+ 3 - 0
brain-js.test-03-LSTM-math.html

@@ -6,6 +6,8 @@
     <meta charset="utf-8" />
     <meta http-equiv="Content-Type"
           content="text/html; charset=utf-8" />
+    <meta name="viewport"
+          content="width=device-width, initial-scale=1.0">
     <style>
         #network {
         background: #ccc;
@@ -14,6 +16,7 @@
         height: 480px;
       }
     </style>
+    <link rel="stylesheet" href="simple.min.css">
 </head>
 
 <body>

+ 3 - 0
brain-js.test-04-classifier.html

@@ -6,6 +6,8 @@
     <meta charset="utf-8" />
     <meta http-equiv="Content-Type"
           content="text/html; charset=utf-8" />
+    <meta name="viewport"
+          content="width=device-width, initial-scale=1.0">
     <style>
         #network {
         background: #ccc;
@@ -14,6 +16,7 @@
         height: 480px;
       }
     </style>
+    <link rel="stylesheet" href="simple.min.css">
 </head>
 
 <body>

+ 61 - 0
index.html

@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <title>Brain JS Test</title>
+    <meta charset="utf-8" />
+    <meta http-equiv="Content-Type"
+          content="text/html; charset=utf-8" />
+    <meta name="viewport"
+          content="width=device-width, initial-scale=1.0">
+    <style>
+        .quotes{
+          background:rgba(128, 128, 128, 0.3);
+          border-radius: 3px;
+          padding-left: 0.3em;
+          padding-right: 0.3em;
+          padding-top: 0.1em;
+          padding-bottom: 0.1em;
+        }
+    </style>
+    <link rel="stylesheet"
+          href="simple.min.css">
+</head>
+
+<body>
+    <header>
+        <h1>Brain JS Test</h1>
+        <p>
+            JavaScript libray <span class="quotes">brain.js</span> for machine learning in browser.
+        </p>
+    </header>
+    <main>
+        <p>With the power of <span class="quotes">brain.js</span>,
+            we create the following examples to test the models in the browser.</p>
+        <h2>Neural Network</h2>
+        <p>
+            The <span class="quotes">Neural Network</span> is very simple in this libray.
+            We tested with two examples:
+            <ul>
+                <li><a href="brain-js.test-01.html">Basic example</a></li>
+                <li><a href="brain-js.test-04-classifier.html">Classify data</a></li>
+            </ul>
+        </p>
+        <h2>Recurrent Network</h2>
+        <p>
+            The brain.js support <span class="quotes">RNN</span>, <span class="quotes">LSTM</span> and <span class="quotes">GRU</span>. We noticed that the data format of these models are different to Neural netowrk. In recurrent network, the data must be array.
+            <ul>
+                <li><a href="brain-js.test-02-RNN.html">RNN</a></li>
+                <li><a href="brain-js.test-03-LSTM-math.html">LSTM</a></li>
+            </ul>
+        </p>
+    </main>
+    <footer>
+        <p>Jason Xing &copy; 2023</p>
+        <p>Powered by <a href="https://brain.js.org">brain.js</a></p>
+    </footer>
+</body>
+<script type="text/javascript">
+</script>
+
+</html>

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
simple.min.css


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä