The Urban Developer
AdvertiseEventsWebinars
Urbanity
Awards
Sign In
Membership
Latest
Menu
Location
Sector
Category
Content
Type
Newsletters
Untitled design (8)
FULL PROGRAM RELEASED FOR URBANITY-25 CONNECTING PROPERTY LEADERS ACROSS THE ASIA PACIFIC
FULL PROGRAM RELEASED FOR URBANITY-25 WHERE THE PROPERTY INDUSTRY CONNECTS
VIEW FULL AGENDADETAILS
TheUrbanDeveloper
Follow
About
About Us
Membership
Awards
Events
Webinars
Listings
Resources
Terms & Conditions
Commenting Policy
Privacy Policy
Republishing Guidelines
Editorial Charter
Complaints Handling Policy
Contact
General Enquiries
Advertise
Contribution Enquiry
Project Submission
Membership Enquiry
Newsletter
Stay up to date and with the latest news, projects, deals and features.
Subscribe
ADVERTISEMENT
SHARE
print
Print
OtherMon 23 Oct 17

flokka 23rd October

Flokka: Supervised Learning, Made Easy

Crowd-Sourced Training of Machine Learning Models

Image recognition is an extremely complex process. One of the hardest parts of this process is obtaining data and accurately classifying it into different categories. After a fruitless search for a more pragmatic classification method that could save time and resources, we developed our own solution. Enter, Flokka, a bot for Slack.

Tried and tested at this year’s Myriad Festival, Flokka aimed to crowdsource the classification and training of a simple image recognition model. Using the Flokka slackbot, users were able to quickly sort files from unordered folders or lists into a sorted file structure — ideal for training a machine learning model.

A slackbot is a type of program, exclusive to the Slack platform that allows a user to interact with an interface to a program through a Slack chatroom. This can be done through natural language, for example “Please fetch me the latest headlines for the last 24 hours”, or done through commands: “/fetch news 10”. This helps users who would otherwise not know how to use certain programs/programming interfaces to easily use them.

We chose to develop Flokka as a Slackbot due to the integral role that Slack plays in the Max Kelsen team. The multi-platform nature of Slack allows us to easily classify images anytime, anywhere; during short breaks from other projects or even while drinking our morning coffees. In the office, this accessibility helps to streamline the process of image classification by removing the need for hours of manual sorting.

How was Flokka built?

Flokka was built using the SlackClient Python API (specifically the Events API) to create slash commands and handle interactive messages.

Using the /classify [number] command, the slackbot takes [number] of images from the training folder and displays them in the designated Slack channel. Once displayed, users can then select the appropriate classification using the button inputs below each image. The images are then sorted into the appropriate file structure ready to be used in a machine learning model. Flokka saves people the tedious task of dragging images into folders on desktops and creates a more engaging and enjoyable process overall. Even if categories and images become more complex as the slackbot develops, the ability to classify bit by bit should increase the accuracy of individuals performing the task.

I will be writing a more technical breakdown of Flokka in the coming weeks.

Testing the Model

Myriad was a three-day technology and innovation festival that ran from the 29th — 31st of March at the Brisbane Powerhouse. The event encouraged collaboration and networking among entrepreneurs, investors, business owners and tech-lovers. In addition, Myriad provided us with the opportunity to showcase Flokka and have like-minded individuals develop an understanding and test the slackbot. We invited attendees to assist us in labelling an unsorted collection of four exotic animals; a bear, an orca, a tiger and a toucan. The results of this labelling would then be used as training set to construct an Image Classification model.


Over the course of two sessions, 2000 images were classified into; 712 bears, 790 toucans, 154 tigers and 286 orca whales. In addition, 58 images contained unrelated animals.


Once the images had been classified we used them to train an image recognition model to detect and categorise new photos of each animal. This model was created by retraining a tensor flow model (for a tutorial see here).

We then ran a blind set (50 images from each category) through the model and the results from this model have been displayed in the graphic below:


The 200 blind images were sorted by the model into the four categories with an average confidence interval for each category of over 99.8%. This statistic reflects the ability of the program to perform a task more efficiently and accurately than manual methods. We acknowledge that this accuracy is likely attributed to the fact that the image categories have a large variance in terms of colour, texture, shape and patterns for the model to discern from. Acknowledging this, we sought to test the model further and ran images of subspecies of the categories through the model including a black bear, panda bear, polar bear and white tiger.


The results from those images are shown below:


The results from this further encouraged the notion that patterns and shapes were considered more crucial elements for recognition than colour. This was concluded because the white tiger, polar bear and black bear images vary in colour but share similar patterns and shapes to their corresponding category ‘original’, and maintained high accuracy rates in the model’s image recognition. However, the model was found to be slightly less accurate in identifying the panda bear image, which had the greatest differentiation in shape.

The End Result

Flokka has created an image classification process that is both quicker and more accessible for users than previous techniques of manually sorting images. Although we note that individuals seemed to enjoy the game aspect of Flokka, we recognise that this may have been amplified by the nature of the vivid and exotic sample images used for this study. The process was also made easier due to the simplistic nature of a four category system, in comparison to a system of ten or more categories which may reduce Flokka’s productivity.

It is also important to consider that conference goers were able to classify quickly because of the significant visual difference between the images. Smaller difference would present greater difficulty and individuals may struggle to sort images with the same level of speed and accuracy. Despite this, the accessibility of Flokka through Slack platforms and ease of organisation would still produce an overall efficiency gain in the process. This is an exciting time for Max Kelsen as we are constantly developing methods such as Flokka to improve our platforms, techniques and overall productivity.

The Max Kelsen team are currently working to improve upon and develop Flokka to be used in any workplace and image recognition model. Stay tuned for an Open Source version of Flokka coming soon and subscribe to the Flokka newsletter at flokka.io to keep updated on details of the project.

OtherOfficeBrisbaneOther
ADVERTISEMENT
TOP STORIES
Nation's build-to-rent project Charlie Parker in Sydney's Parramatta where more projects are being located and built outside the CBD.
Exclusive

Foreign Capital Still Dominates BtR but Things are Changing

Marisa Wikramanayake
7 Min
Exclusive

Fortis Reveals Plans for Coveted Bowen Terrace Site

Taryn Paris
4 Min
Exclusive

Accor Deputy Delivers Verdict on Brisbane Games Hotel Shortfall

Phil Bartsch
6 Min
Qld Budget 2025-26 Brisbane City
Exclusive

Billions Promised, Now Deliver: Industry’s Qld Budget Verdict

Vanessa Croll
6 Min
Medium Density housing in NSW
Exclusive

NSW Budget ‘Groundbreaking’ $1bn Guarantee to Unlock Housing

Leon Della Bosca
7 Min
View All >
Linic Property Group Saunton Jindalee
Residential

Linic Group Moves 43-Unit Jindalee Scheme Ahead

Leon Della Bosca
Residential

National Home Prices End Year on Record High

Lindsay Saunders
Lindfield SSD Resi EDM
Residential

North Shore $154m Apartment Play Tests Zoning Limits

Vanessa Croll
The $154m proposal for Sydney’s Lindfield is being pursued under NSW planning rules for build-to-rent and affordable hou…
LATEST
Linic Property Group Saunton Jindalee
Residential

Linic Group Moves 43-Unit Jindalee Scheme Ahead

Leon Della Bosca
3 Min
Residential

National Home Prices End Year on Record High

Lindsay Saunders
3 Min
Lindfield SSD Resi EDM
Residential

North Shore $154m Apartment Play Tests Zoning Limits

Vanessa Croll
2 Min
Markets

Australia’s Top 20 REITs Revealed

Shravanth Reddy
6 Min
View All >
ADVERTISEMENT
Article originally posted at: https://theurbandeveloper.com/articles/flokka-23rd-october