Skip to content

Instantly share code, notes, and snippets.

View amjad-r-a's full-sized avatar
🎯
Focusing

Amjad amjad-r-a

🎯
Focusing
View GitHub Profile
<template>
haii
</template>
@amjad-r-a
amjad-r-a / app.html
Created June 21, 2018 05:01 — forked from anonymous/app.html
Aurelia ScrollSpy demo
<template>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">WebSiteName</a>
@amjad-r-a
amjad-r-a / iris-tensorflow-js.js
Created June 29, 2018 12:35 — forked from learncodeacademy/iris-tensorflow-js.js
Solving Iris with Tensorflow.js and Iris JSON dataset
import * as tf from "@tensorflow/tfjs"
import "@tensorflow/tfjs-node"
import iris from "./iris.json"
import irisTesting from "./iris-testing.json"
// convert/setup our data
const trainingData = tf.tensor2d(iris.map(item => [
item.sepal_length, item.sepal_width, item.petal_length, item.petal_width,
]))
const outputData = tf.tensor2d(iris.map(item => [