A Python Pacakage for Ready Made Machine Learning Solutions.
Project description
Ml-Solutions
A Python Pacakage for Ready Made Machine Learning Solutions.
Installation
To install this package, you have to run this command on your terminal
pip install ml-solutions
Quick Start Guide
from ml_solutions import solutions
# Spam Message Detector
spam_message_detector = solutions.SpamMessageDetector()
spam_message_detector.train()
detected = spam_message_detector.detect_spam('Please subscribe my youtube channel for 100 years of good luck!')
if detected == True:
print("Message is Spam!")
else:
print("The message is not Spam!")
# House Price Prediction
house_price_predictor = solutions.HousePricePrediction()
house_price_predictor.train()
Price = house_price_predictor.get_price(rooms=2, bathrooms=1, landsize=230, lattidute=-346.876, longtitude=347.378)
print(Price)
# Image Classification
# Training and Saving The Model
image_classifier = solutions.ImageClassification()
image_classifier.train()
image_classifier.save_model('image_classifier')
# After that you will see your training of the model has been started!
# When training is complete, then remove all the code and write:
# Loading the Model
image_classifier = solutions.ImageClassification()
image_classifier.load_model('image_classifier')
# For image classification, you need a 32*32 px image, to convert your image into a 32*32 px image, go into this website: https://www.privatedaddy.com/resize-to-32x32
# After you converted your image, give the path to the 32*32 image
recognized = image_classifier.recognize_image('image.jpg')
print(recognized)
# You will see the name of the thing in the image :)
# This supports with 'Plane', 'Car', 'Bird', 'Cat', 'Deer', 'Dog', 'Frog', 'Horse', 'Ship', 'Truck'
# And we have more Ml Solutions :)
# In the next version, you can see more Machine Learning solutions!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ml-solutions-0.0.2.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for ml_solutions-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41430b12c6e351e731c94a881f8f69e8f654e373c8eb2e0e4f82c8615112e61d |
|
MD5 | 44d65d214826b34505e6599027fa44ca |
|
BLAKE2b-256 | c72909070abdee0fdabb84d3ff792cc9cab33403946150ca98878fe2d9551e00 |