This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(import [tensorflow [keras]]) | |
(import [numpy :as np]) | |
(import [sklearn.ensemble [RandomForestClassifier]]) | |
(import [sklearn.metrics [accuracy_score]]) | |
(setv mnist keras.datasets.mnist) | |
(setv [[train-images train-labels] [test-images test-labels]] (.load_data mnist)) | |
(print f"train-images: {(. train-images shape)}") | |
(print f"train-labels: {(. train-labels shape)}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entries: # Scrapbook entries under here (2-space indent) | |
- title: succulents | |
note: A bunch of beautiful plants at a small shop in Cagayan de Oro, 🇵🇭 # Optional: specify a note | |
src: images/succulents.png | |
sticker: # Optional: specify a public sticker url | |
- stickerUrl: https://mianuddin.github.io/creative-kit-web-sample/images/succulents.png | |
- title: cat | |
note: I have a cute cat that looks just like this one! | |
src: images/cool-cat-sticker-creation.png | |
sticker: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#sticker}} | |
<meta property="snapchat:sticker" content="{{{stickerUrl}}}"/> | |
{{/sticker}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta property="snapchat:sticker" content="https://mianuddin.github.io/creative-kit-web-sample/images/cool-cat-sticker-creation.png"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta property="og:site_name" content="Mian's Scrapbook"> | |
<meta property="og:title" content="Scrapbook"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta property="og:site_name" content="{{firstName}}'s Scrapbook"> | |
<meta property="og:title" content="{{title}}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta property="og:site_name" content="{{firstName}}'s Scrapbook"> | |
<meta property="og:title" content="Scrapbook"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.snapKitInit = function () { | |
snap.creativekit.initalizeShareButtons( | |
document.getElementsByClassName('snapchat-share-button') | |
); | |
}; | |
</script> |
NewerOlder