Граф коммитов

113 Коммитов

Автор SHA1 Сообщение Дата
Justin D. Harris c979ae2054
Correct Docker pushes (#129)
prod: Add version number
Remove trailing whitespace in many files.

Co-authored-by: Justin D. Harris <>
2021-09-13 13:55:37 -04:00
Justin D. Harris 138d465e3e
Docker: Add action to push Docker images. (#128) 2021-09-13 13:36:32 -04:00
Hargun kaur ece2ec5162
[demo] Server: Add accuracy tracking (#125) 2021-07-13 16:26:49 -04:00
Justin D. Harris 5f33a9613b
[demo] Lint More Files (#127)
* Add linting files.
* Install an older version of eslint so that it's compatible with the one in the client folder.
* Add some manual testing steps.
* Make minor clean-ups in setup scripts.
* README: Make minor clarifications.
2021-07-04 22:00:35 -04:00
Justin D. Harris af3eab182d
[demo] Allow chunk sizes to be configurable when deploying models (#126)
Co-authored-by: vaibhavarora102 <aroravaibhav102@gmail.com>
Co-authored-by: Justin D. Harris <>
2021-05-22 16:06:40 -04:00
Justin D. Harris abbd3edade
simulation: Use Python 3.8 (#122)
since scikit-multiflow and maybe numpy wheels aren't available for Python 3.9.
2021-04-23 18:10:56 -04:00
Justin D. Harris 0b73a5c436
Rename master branch to main. (#121)
* demo/test: only test PR to main branch.
2021-04-22 18:02:03 -04:00
Justin D. Harris 676691d21b
[simulation] Use MurmurHash3 for words for sparse models (#120)
Resolves #116

* Remove ipython dep
* simulation: Add offensive dataset.
* simulation: Add FeatureIndexMapper to handle sparse data.
2021-04-22 16:58:45 -04:00
Justin D. Harris 163f0f3457
Set name for some builds. (#119)
* README: Update Demo build badge.
2021-04-22 13:54:57 -04:00
Justin D. Harris 83be82e5b8
Demo: Add test GitHub Action. (#118) 2021-04-22 13:38:22 -04:00
Justin D. Harris 59ad51e885
simulation: Add test action. (#117) 2021-04-22 11:05:05 -04:00
Justin D. Harris 6977fb32cd
demo: Change name of prod deployment. 2021-03-04 10:53:51 -05:00
Justin D. Harris e0619b87e6
demo: Add GitHub Action to deploy to production. 2021-03-04 10:52:52 -05:00
Justin D. Harris 4bab952551
Remove six as a dependency (#115) 2021-03-03 22:16:33 -05:00
Justin D. Harris d96c05a3c9
Demo restrict content (#113)
* demo: Improve content restriction logic

Restrict all external content (original data) whenever online safety is enabled.
2021-03-03 21:41:33 -05:00
Justin D. Harris 32a6e51ce3
demo: Unset ORYX_AI_INSTRUMENTATION_KEY (#112) 2020-11-23 13:25:40 -05:00
Justin D. Harris 207f1d949f
README: Rename to Sharing Updatable Models (SUM) on Blockchain 2020-11-19 17:43:47 -05:00
Justin D. Harris de21b38bf6
demo/about: Correct link to version. (#111) 2020-11-19 17:27:59 -05:00
Justin D. Harris 9829dcf86f
demo: Set page titles (#110) 2020-11-19 16:44:12 -05:00
Justin D. Harris 89901dea65
[demo] Show model name and description if they're stored in local storage even if online safety is enabled (#109)
* demo: Improve restricted content handling and warnings.
* demo: Improve online safety checks.
2020-11-18 22:27:50 -05:00
Justin D. Harris 78c714c8a1
demo: Show version number on about page. (#108)
Co-authored-by: Justin D. Harris <>
2020-11-17 15:00:38 -05:00
Justin D. Harris 9919db8b96
demo: bump deps (#107)
* demo: Bump some React versions
not using the latest because some things are broken like props and react-scripts using TypeScript.
* demo: Add message about resetting account on error.
* demo/nb: Correct test to have increase gasUsed max.
* demo: Avoid some BN usage when deploying models. I'm not sure why this broke.
* demo/ncc: Handle sparse version with centroids as arrays.
2020-11-04 14:39:25 -05:00
Justin D. Harris dfcbe24551
demo: Add options for not encoding data before sending it to a model. (#106)
* demo: to handle none encoder to resolve #104
* demo: Add disclaimers.
* demo/add: Reduce chunk sizes to make help avoid out of gas issues.
* demo/add/perceptron: Add features in order.
* demo: Improve some button sizing.
2020-10-27 00:39:15 -04:00
Justin D. Harris 2fc019b3d9
demo: Validate that the main interface owns the other contracts. (#103) 2020-10-22 18:57:38 -04:00
Justin D. Harris acb5a8285e
demo: Indicate if the original data was an image. (#101) 2020-10-22 16:37:50 -04:00
Justin D. Harris 51720e7bfb
[demo] Paginate data events for refund and reward data(#99)
* demo: Correct issues with home page refresh loop.
* demo: Bump to version 1.4.0.
* demo: Show spinner when data events are loading.

Resolves #65
2020-10-21 20:37:55 -04:00
Justin D. Harris faf25dcedf
demo/deploy-mode: Bypass type checking when adding to a list. (#98)
Co-authored-by: Justin Harris <>
2020-09-22 22:36:32 -04:00
Justin D. Harris 22b6cca352
demo: deploySparseNearestCentroidClassifier reduce initial chunk size since constructor is more complex now. (#97)
Co-authored-by: Justin Harris <>
2020-09-21 17:28:43 -04:00
Justin D. Harris 49a271a12a
README: Link to papers. 2020-09-18 13:42:14 -04:00
Justin D. Harris ead40c61eb
simulation: Implement classifications() for all data loaders. (#96) 2020-09-17 16:03:20 -04:00
Justin D. Harris b8d115cb7c
demo/truffle: Explicitly use: 0.6.2 (#95)
Should help with an issue point out in #94
2020-09-11 18:22:55 -04:00
Justin D. Harris 02efafb9c2
demo/docker-setup: Clarify the correct folder to be in.
Resolves #94
2020-09-10 10:16:46 -04:00
Justin D. Harris 3d74de85cc
[demo] Add an option for word hashing vocab and optimize Sparse Nearest Centroid Classifier (#91)
* demo: Clarify some pages.
* demo: Support MurmurHash3 for word encoding. Resolves #88
* demo/perceptron: Support adding sparse features.
* demo/ncc: Start to support sparse features.
2020-06-17 13:24:42 -04:00
Justin D. Harris e0bbded6a4
demo: Clarifications and whitespace changes. (#87) 2020-03-11 17:04:12 -04:00
Justin D. Harris 68c7bf13d7
[demo] Add more explanations, documentation, and better warnings (#86)
Relates to #83
2020-03-11 14:52:48 -04:00
Justin D. Harris ef86f0bdf0
[demo] Add ability to deploy any of the supported model types (#85)
Resolves #82
Improve smoothness. Dismiss some notifications.
Add warning if deploying to main.
2020-03-10 10:30:22 -04:00
Justin D. Harris c3efc5a20e
[demo] You can now interact with a model even if the meta-data has not been saved to storage (#84) 2020-03-06 10:34:37 -05:00
Justin D. Harris 97e9b46b0c
[demo] Add a page to list a model that has already been deployed. (#81)
Resolves #80
2020-03-04 16:47:00 -05:00
Justin D. Harris 098ac071c5
[demo] Update disclaimer (#79)
* demo/check-gas: Make tables for LaTeX.
2020-02-14 14:15:35 -05:00
Justin D. Harris 4ede895202
[demo] Update dependencies (#78)
* Update deps. Update to Solidity 0.6.2
Resolves #75
* demo: Minor UI improvements.
* demo/lint: Ignore files with 'abstract contract'
because 'abstract contract' is not supported yet.
2020-02-13 12:08:13 -05:00
Justin D. Harris 3f3058cd69
README: Remove coming July 2019 for initial paper. 2020-02-12 10:37:13 -05:00
Justin D. Harris 4ff3064706
[demo] Optimize Sparse NCC (#77)
* demo/sparce-ncc: Optimize predict to only look at necessary indices.
* demo/sparse-ncc: Improved gas costs using a struct to store the classInfo.
* demo/load-model: Add more logging for gasUsed.
2020-02-10 14:31:44 -05:00
Justin D. Harris 7ac9310f93
[simulation] [demo] Add examples and utilities for better simulations and gas cost checking (#76)
Sorry this change is big. I wouldn't do this if there were other actively working on the project too.
Summary of updates:
Simulation:
* Add function to export models.
* Use Fitness Tracker dataset from Endomondo.
* Add method to combine run results into one plot.
Demo:
* Add function to load models exported by simulation code.
* Add Sparse NCC.
* Add way to benchmark gas costs of the common operations.
2020-02-07 15:13:31 -05:00
Justin D. Harris c6628a74ef
demo/nav: Remove underline on links. (#74) 2020-01-06 15:47:21 -05:00
Justin D. Harris a6c4843af4
[demo] Add Point based Incentive Mechanism (#73)
Also:
* demo/add: Add more checks to validate the model when providing the file.
* demo: Move Solidity files to a folder that the popular VS Code extension (https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity) likes.
2020-01-06 14:53:28 -05:00
Justin D. Harris 6f7a69d42d
demo: Toast more. (#72)
Resolves #54
2019-12-19 15:30:30 -05:00
Justin D. Harris 0d41a4b3b2
[demo] Add a way to remove models from the list. (#71) 2019-12-19 13:40:02 -05:00
Justin D. Harris c81c3cc83f
[demo] Store name and description in contract (#70)
* demo: Set name and other important to main entrypoint contract.
* demo: Support starting with server not enabled.
* demo/README: Clarify server setup.
* demo/migrations: Add to DB and fail if certain flags are enabled.
2019-12-18 13:52:45 -05:00
Justin D. Harris 57b489b004
[demo] Support models pagination. (#69)
* demo: Start supporting paginating searches.
* demo/models: Refresh page when Ethereum accounts or network changes.
2019-12-17 14:47:59 -05:00
Justin D. Harris db36d2d6c2
demo: Add short Code of Conduct. (#67) 2019-12-16 14:17:10 -05:00