DEV Community

Cover image for ML FOR DEVELOPER
alphaneuron.ai for Spectrum Club

Posted on

ML FOR DEVELOPER

Hello Everyone,This is Ashish Kumar ,I have just started Machine learning and the most interesting thing is that it helps us in predicting results,like we can get an approximate result of a situation on the basis of it's past occurrence.

Basically as a beginner i can describe Machine Learning in the following three magical words
1 TRAIN
2 TEST
3 PREDICT

which means to train the given data and from that predict the future outcomes.So this is the basic thing about ML,now what an android developer can do with it????
Alt Text

The most amazing fact is that the applications that our generation is using in our day-to-day life like Netflix,Tinder etc. are one of the top machine learning applications.
So how can We do it??
Step:1
Alt Text
ML Kit brings Google’s machine learning expertise to mobile developers in a powerful and easy-to-use package. Make your iOS and Android apps more engaging, personalized, and helpful with solutions that are optimized to run on device.

now using these packages and dependencies we can easily create a ml app for our phone.This includes some cool stuffs like text recognition,Smart reply,Face detection etc...isn't it cool??

So here is a picture of my first machine learning app using Firebase Ml kit of Smart reply.It will automatically generate text as per your text.it has some basic text features like hi,hello,how are you? etc..and some commonly used emojis.

Alt Text

So this is all abou the ground level now how about creating something cool like object detecting app.just think no need to remeber a person's name just open the app scan the face and it will detect it's name:))

Alt Text

So for this we have Tensorflow lite,in simple words we have convert our data into .tflite file,like the.sfb we did in case of ar app.then the further stages are as i have told
1)first collect data for training.
2)Transfer them into required image
3)Again train model with new images now make sure you're
running it on a suitable device
4)our data is trained now so attach .tflite file to it and
run your app
And one more thing
What is Tensorflow??
TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications

Alt Text

so this image shows how cool it is..Hope this article will be helpful soon i will share with you something like this,till then
Happy coding:))))

Top comments (0)