Skip to content

Commit

Permalink
[models] extract iris/
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed May 30, 2024
1 parent dccb57c commit acc6fef
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# system-a

[models] move `l2Loss` to `loss/`
[models] test `argmax`
[models] extract `iris/`
[models] `compareClassification1`
[models] `compareClassification` -- `extend2` on 1 1
[models] `accuracy`
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { blockStack, denseBlock, denseInitParameters } from "../block/index.js"
import { gradientDescentNaked } from "../gradient-descent/gradientDescentNaked.js"
import { l2Loss } from "../loss.js"
import type { Tensor } from "../tensor/Tensor.js"
import { samplingObjective } from "../tensor/samplingObjective.js"
import {
blockStack,
denseBlock,
denseInitParameters,
} from "../../block/index.js"
import { gradientDescentNaked } from "../../gradient-descent/gradientDescentNaked.js"
import { l2Loss } from "../../loss.js"
import type { Tensor } from "../../tensor/Tensor.js"
import { samplingObjective } from "../../tensor/samplingObjective.js"
import { model } from "../model.js"
import { irisTrainXs, irisTrainYs } from "./irisDataset.js"
import { model } from "./model.js"

export const irisNetwork = blockStack([denseBlock(4, 6), denseBlock(6, 3)])

Expand Down

0 comments on commit acc6fef

Please sign in to comment.