Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
c7862fb
WK7
djgnatzy Oct 14, 2022
3cc7664
Merge branch 'main' of github.com:djgnatzy/MakeAIWork2
djgnatzy Oct 14, 2022
59d388b
WK08 - Maandag
djgnatzy Oct 17, 2022
727eb1f
WK08 - Maandag
djgnatzy Oct 18, 2022
1233b1c
WK08 - Dinsdag - Merge branch 'main' of https://github.com/AlxcNL/Mak…
djgnatzy Oct 18, 2022
1e0dc8f
WK08 - Dinsdag - Merge branch 'main' of https://github.com/AlxcNL/Mak…
djgnatzy Oct 18, 2022
193e92f
Merge branch 'main' of github.com:djgnatzy/MakeAIWork2
djgnatzy Oct 18, 2022
a3c327d
Merge branch 'main' of https://github.com/AlxcNL/MakeAIWork2
djgnatzy Oct 18, 2022
d1c78cf
WK08 - Dinsdag.02
djgnatzy Oct 18, 2022
84ffe6d
WK08 - Woensdag
djgnatzy Oct 19, 2022
d101d72
WK08 - W2
djgnatzy Oct 19, 2022
de8d746
Dobbelstenen = Done
djgnatzy Oct 21, 2022
82a3726
Lamps is funtional
djgnatzy Oct 21, 2022
4b95892
CNN semi-final
djgnatzy Oct 21, 2022
d1e29ad
Dobbelstenen Double Done
djgnatzy Oct 21, 2022
ad4038d
Delete dobbelstenen_corrrecties.ipynb
djgnatzy Oct 21, 2022
7228875
Full model (basic + augmented)
djgnatzy Nov 2, 2022
b24fcbd
Full model (added Test Directory)
djgnatzy Nov 2, 2022
204bdc8
Full model (Confusion matrix_almost_working)
djgnatzy Nov 2, 2022
a37b65e
Full Model (CF_M_almost_working)
djgnatzy Nov 2, 2022
79c7ad6
Full Model (Working Confusion Matrix)
djgnatzy Nov 3, 2022
edc61e8
Clean & Sorted Model (w. CM)
djgnatzy Nov 3, 2022
4ff0651
Clean Model (+ CM)
djgnatzy Nov 3, 2022
fc22888
Clean Basic Model
djgnatzy Nov 3, 2022
f08006f
Augmented model (first, clean version)
djgnatzy Nov 3, 2022
5bb5c8b
Added TensorBoard
djgnatzy Nov 3, 2022
90e7c43
Misc
djgnatzy Nov 4, 2022
1c7fe2c
Merge branch 'main' of github.com:djgnatzy/MakeAIWork2
djgnatzy Nov 4, 2022
8c1c2d8
Misc2
djgnatzy Nov 4, 2022
ecba0b0
Test saved models
djgnatzy Nov 7, 2022
2d7da79
Merge branch 'AlxcNL:main' into temp_test
djgnatzy Nov 8, 2022
b762007
New notebooks
djgnatzy Nov 8, 2022
5bd31f0
Inconsequential changes
djgnatzy Nov 8, 2022
bd33a4d
Update notebooks
djgnatzy Nov 8, 2022
79c0700
requirements
djgnatzy Nov 17, 2022
4e545dc
models
djgnatzy Nov 17, 2022
c1302f9
tensorboard_logs
djgnatzy Nov 17, 2022
2fb75e9
from_old
djgnatzy Nov 17, 2022
0fc6134
chatbot_first
djgnatzy Nov 17, 2022
b28217a
AQL
djgnatzy Nov 17, 2022
2520785
cnn_notebooks
djgnatzy Nov 17, 2022
c61a793
chatbot_2
djgnatzy Nov 17, 2022
70bcc4a
aql_optimized
djgnatzy Nov 17, 2022
09133b8
moved in folder
djgnatzy Nov 17, 2022
3b0860e
gitignored
djgnatzy Nov 17, 2022
4b7cf9b
Miss Applebum is almost there
djgnatzy Nov 18, 2022
b44ac36
Voorbeeld conv_nn
djgnatzy Nov 18, 2022
d15911b
Miss Applebum more update
djgnatzy Nov 18, 2022
3a95289
class diagram + conv_nn opzet
djgnatzy Nov 19, 2022
ff766bb
aql_versions
djgnatzy Nov 21, 2022
7696945
chatbot_variables_in_json
djgnatzy Nov 21, 2022
e4958ba
Tensorboard logs
djgnatzy Nov 21, 2022
a41e2d0
New saved models
djgnatzy Nov 21, 2022
9748692
CNN renamed
djgnatzy Nov 21, 2022
3798b31
models 9-17
djgnatzy Nov 22, 2022
421aa8c
Class + Sequence Diagram
djgnatzy Nov 22, 2022
fa2a266
TB logs
djgnatzy Nov 22, 2022
354161f
AQL Import
djgnatzy Nov 22, 2022
3c704a5
Setup Build & Run
djgnatzy Nov 22, 2022
7c1ea78
New models
djgnatzy Nov 23, 2022
3a1ad80
Merge pull request #1 from djgnatzy/feature
djgnatzy Nov 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
2750/
.installed.cfg
*.egg
MANIFEST
Expand Down Expand Up @@ -130,11 +131,16 @@ dmypy.json
.DS_Store
opdrachten/practica/week07/image_recognition/notebook/datasets/
.gitignore
notebooks/
solutions/
opdrachten/practica/week07/image_recognition/notebook/numpy_opdracht2_solutions.ipynb
.vscode/launch.json
opdrachten/practica/week07/image_recognition/notebook/pics/2750/
opdrachten/practica/week07/beeldherkenning/notebook/~/tensorflow_datasets
opdrachten/practica/week07/beeldherkenning/notebook/csv/mnist_train.csv
opdrachten/practica/week08/sql/Chinook.db
projects/apple_disease_classification/notebooks/datasets/flower_photos
projects/apple_disease_classification/augmented_data
projects/apple_disease_classification/notebooks/chatterbot/chats.txt
projects/apple_disease_classification/notebooks/chatterbot/chatterbot_my_file.py
projects/apple_disease_classification/notebooks/chatterbot/chatterbot.ipynb
projects/apple_disease_classification/aql_data
1,691 changes: 1,691 additions & 0 deletions apple_disease_classification_augmentated.ipynb

Large diffs are not rendered by default.

1,278 changes: 1,278 additions & 0 deletions apple_disease_classification_basic_cnn_v1.ipynb

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion install/pip/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ tensorflow_addons
tensorflow_datasets
tensorflow-estimator
tensorflow_hub
widgetsnbextension
widgetsnbextension
bert-extractive-summarizer
sentence-transformers
spacy
transformers
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "3f430533-2ac6-4557-a6ff-c7f96b3530da",
"metadata": {
"tags": []
},
"source": [
"# Simulatie casino kansspel"
]
},
{
"cell_type": "markdown",
"id": "d9ee1a06-6308-4d02-973b-05337c7035c5",
"metadata": {},
"source": [
"![roulette](roulette-red.jpg)"
]
},
{
"cell_type": "markdown",
"id": "48902cf8-23e7-4396-a74b-ce74a7bba3a7",
"metadata": {},
"source": [
"## Spelregels"
]
},
{
"cell_type": "markdown",
"id": "44744256-08d4-4768-9306-a9fabe138687",
"metadata": {},
"source": [
"1. Speler kan inzetten op **zwart** of **rood**\n",
"2. Inzet is **\\\\$10**\n",
"3. Kleur juist geraden is verdubbeling van de inzet dus **\\\\$20**\n",
"4. Spel stopt als geld op is"
]
},
{
"cell_type": "markdown",
"id": "5c0f86a5-921e-4051-8e83-678337ec8bf3",
"metadata": {
"tags": []
},
"source": [
"## Probleem doorgronden (analyse)"
]
},
{
"cell_type": "markdown",
"id": "71d71a50-2199-49bd-a3a0-27a6428ffc29",
"metadata": {},
"source": [
"Doel: bepalen hoeveel ronden te spelen met **$40**\n",
"\n",
"1. Hoe bepalen we of het rood of zwart wordt?\n",
"2. Hoe bepalen we wat de speler kiest?\n",
"3. Hoe bepalen we wat we moeten uitkeren?\n",
"4. Hoe houden we het geld van de speler bij?"
]
},
{
"cell_type": "markdown",
"id": "033e2436-801f-41e0-b696-320391f3a920",
"metadata": {},
"source": [
"## Aanpak in grote lijnen (schetsen)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "cf7a4597-0f93-4d77-b014-f1aceda7b826",
"metadata": {},
"outputs": [],
"source": [
"# Situation 1: how many rounds can player play with $40?\n",
"\n",
"# Player starts with $40\n",
"\n",
"# While playerBank > 0:\n",
" # 1. Place bet: choose color and subtract $10\n",
" # 2. Casino rolls dice to determine color outcome\n",
" # 3. Check if win or lose\n",
" # 4. Update bank\n",
" # 5. Update round counter\n",
"\n",
"# Print #rounds"
]
},
{
"cell_type": "markdown",
"id": "8d6169e5-ef62-420b-80bf-b80f82e0d487",
"metadata": {
"tags": []
},
"source": [
"## Bepalen rood/zwart (implementatie)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "ad70b343-461c-464e-9566-80ffc88eaf34",
"metadata": {},
"outputs": [],
"source": [
"# Only import random() function from random lib\n",
"from random import random\n",
"\n",
"# Define labels for clarity\n",
"Red = 0\n",
"Black = 1\n",
"\n",
"def draw():\n",
" # Random() returns a uniform random number between 0 and 1\n",
" if random() < 0.5:\n",
" return Red\n",
" else:\n",
" return Black"
]
},
{
"cell_type": "markdown",
"id": "9fcca076-634a-4040-9a50-edd5c082b3b1",
"metadata": {},
"source": [
"## Uitwerken comments (implementatie)"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "16216de5-600e-41ff-a199-7ab239a30e02",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"20\n"
]
}
],
"source": [
"# Player starts with $40\n",
"playerBank = 40\n",
"\n",
"# Rounds counter\n",
"rounds = 0\n",
"\n",
"while playerBank > 0:\n",
" # 1. Place bet: choose color and subtract $10\n",
" bet = draw()\n",
" playerBank -= 10\n",
" # 2. Casino rolls dice to determine color outcome\n",
" color = draw()\n",
" # 3. Check if win or lose\n",
" if bet == color:\n",
" # 4. Update bank\n",
" playerBank += 20\n",
" # 5. Update round counter\n",
" rounds += 1\n",
"\n",
"print(rounds)"
]
},
{
"cell_type": "markdown",
"id": "11e78622-ffd5-4f0b-82b2-03260eab1b44",
"metadata": {},
"source": [
"## Uitbreiding: hoe hoog is het bedrag maximaal?"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "1473a81e-5dc4-4e18-9d85-496ae14709ed",
"metadata": {},
"outputs": [],
"source": [
"# bankMax = 0\n",
"\n",
" # if bankMax < playerBank:\n",
" # bankMax = playerBank\n",
"\n",
"# print(bankMax)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
},
"toc-showcode": false,
"toc-showmarkdowntxt": false
},
"nbformat": 4,
"nbformat_minor": 5
}
Loading