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

Standard

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

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s