ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #5


The last day of private class on algorithm & data structure 😉 Today we learned more about frequency analysis

Screen Shot 2020-07-28 at 12.01.14

we learned of to trim out unwanted symbols and whitespaces etc.

Screen Shot 2020-07-28 at 10.25.00

Screen Shot 2020-07-28 at 10.47.32

we learned about regex and data preprocessing

Screen Shot 2020-07-28 at 10.47.40

and how to sort a dictionary in ascending or descending orders

Screen Shot 2020-07-28 at 10.50.49 Screen Shot 2020-07-28 at 10.53.55

Screen Shot 2020-07-28 at 10.57.34

the result 🙂

Screen Shot 2020-07-28 at 10.57.37

then we moved on the learn about graph

Screen Shot 2020-07-28 at 11.19.46

about json and xml

Screen Shot 2020-07-28 at 11.19.53

how to parse data from json

Screen Shot 2020-07-28 at 11.20.00

the example is crawling data from instagram and count the appearance of words in caption correlated with a hashtag

Screen Shot 2020-07-28 at 11.27.02

Screen Shot 2020-07-28 at 11.27.46

then we started to built our own simple graph

Screen Shot 2020-07-28 at 11.37.34

Screen Shot 2020-07-28 at 11.39.02

and analyse the representation in our head compared to the code 😉

Screen Shot 2020-07-28 at 11.51.01

Screen Shot 2020-07-28 at 11.49.36

graph is basically built with dictionary

Screen Shot 2020-07-28 at 11.52.12

we are finding the shortest path from one node to another 😉

Screen Shot 2020-07-28 at 11.56.53

this is the result

Screen Shot 2020-07-28 at 11.59.08

same with we figured out manually 😉

Screen Shot 2020-07-28 at 11.59.24

these are the files from our 5-days training 😉 well-documented 😉 hoping that the class is useful for you James! until next time 🙂

Screen Shot 2020-07-28 at 12.00.47


ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #4


Today we reviewed about data structures in Python, comparing sorting algorithm and then start to learn about searching algorithm.

We started with a simple code to search one element out a list

Screen Shot 2020-07-23 at 10.47.09 Screen Shot 2020-07-23 at 10.55.05

and then find the position

Screen Shot 2020-07-23 at 11.00.25 Screen Shot 2020-07-23 at 11.01.32

then we learned about simple caesar cipher because we want to do frequency analysis to implement our new skill about dictionary and searching

Screen Shot 2020-07-23 at 11.05.57 Screen Shot 2020-07-23 at 11.07.04

Screen Shot 2020-07-23 at 11.10.28

Screen Shot 2020-07-23 at 11.17.32

we started the frequency analysis code with a simple code to count occurrence of an element in a list and also learn how to use a dictionary

Screen Shot 2020-07-23 at 11.19.01 Screen Shot 2020-07-23 at 11.19.33

Screen Shot 2020-07-23 at 11.21.03 Screen Shot 2020-07-23 at 11.25.08

Screen Shot 2020-07-23 at 11.34.12 Screen Shot 2020-07-23 at 11.40.22

and we need to sort it

Screen Shot 2020-07-23 at 11.43.16 Screen Shot 2020-07-23 at 11.44.05

we have found way to count each distinct element of a list with associative array a.k.a dictionary

Screen Shot 2020-07-23 at 11.55.40

this is the homework 😉 we’re going to finish the frequency analysis code next week before we explore more about tree and graphs 🙂

Screen Shot 2020-07-23 at 12.00.37

ProCodeCG – Private Training – Object Classification with Tensorflow – 25 Oct 2019 – Day #5


Today we’re ready to add more data train the machine 😀 we have 3 different case and here’s how we’re doing 😀

Adding more data




start the training


IMG_4199 IMG_4200

IMG_4201 Screen Shot 2019-10-25 at 20.08.23

Screen Shot 2019-10-25 at 20.11.12 Screen Shot 2019-10-25 at 21.15.19

Screen Shot 2019-10-25 at 21.19.23 Screen Shot 2019-10-25 at 21.29.50

Screen Shot 2019-10-25 at 21.31.09

testing 🙂

Screen Shot 2019-10-25 at 21.31.52

Screen Shot 2019-10-25 at 21.32.18

we have finished about 80 – 90% of the work 🙂 the next thing to do is adding more data, do more training and make documentation 🙂 Wish these guys luck so they can be graduated very soon 😉


*Photos and videos are also available here

ProCodeCG – Private Training – Object Classification with Tensorflow – 11 Sept 2019 – Day #4


Day #4 🙂

We finally figured out all errors and managed to make Tensorflow learn our own datasets 😉



Lots of things is going on, so many files to be modified

Screen Shot 2019-10-11 at 19.20.51

Screen Shot 2019-10-11 at 18.57.41

we’re going to make a proper notes and tutorial for this long and tiring process 😀

Screen Shot 2019-10-11 at 18.57.29

Screen Shot 2019-10-12 at 22.33.47 Screen Shot 2019-10-12 at 16.34.32

Screen Shot 2019-10-12 at 11.16.14 Screen Shot 2019-10-12 at 11.08.14


We’re going to add more datasets and categories next week 🙂

ProCodeCG – Private Training – Object Classification with Tensorflow – 26 Sept 2019 – Day #3


We have installed Tensorflow and the dependencies to do object recognition and object counting. Today we started to collect our own data and do labelling so we can start do training with our own data set


it requires lots of steps and lots of time 😀


IMG_1809 IMG_1810

we have to resize all the images and label the image before feeding it to the learning system

Screen Shot 2019-09-26 at 20.07.57

We started with very few data set and going to how the result is. And then we will add more data and do classifications.


Great progress for today 🙂 We still have 2 more sessions and we’re going to finish the target by then 🙂

ProCodeCG – Private Training – Malware – 12 Sept 2019 – Day #1


Day #1 of Malware Private Training 🙂

Today we learned about what malware are, how do they infect, how do they hide, how do they propagate, and how to detect them in general 🙂

We tried to infect some files with our own virus too 😀

Screen Shot 2019-09-13 at 11.06.54

a virus in Python

Screen Shot 2019-09-13 at 11.07.23

the anti-virus

Screen Shot 2019-09-13 at 11.07.23

and we also take a look on how to dump some hex for a file 😀

Screen Shot 2019-09-13 at 11.15.23

we’re going to use Python for learning the general ideas and algorithms, but later we will use C to be able to access lower level 😉


Next week we’re going to do more investigation about viruses and dissect them 🙂

ProCodeCG – Private Training – Coding with Python – 23 Aug 2019 – Day #5



After debugging the homework from the previous class, the topic for today is how to create a palindrome detector 🙂

IMG_9334 IMG_9334


The results 🙂


simple palindrome detector

Screen Shot 2019-08-23 at 10.44.50

Screen Shot 2019-08-23 at 10.51.10 Screen Shot 2019-08-23 at 10.57.34

with word input

Screen Shot 2019-08-23 at 11.05.46

with sentence input

Screen Shot 2019-08-23 at 11.13.29

and then we learned about simple cryptography, virus and encryption-virus 😉 so much to learn today 🙂

Screen Shot 2019-08-23 at 11.43.11

Today is the last day of the private training, but now Riani has most of the skill a programmer should has 🙂