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 for 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.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for ml_solutions-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf94da0de90e4d707ef4577e3ef7a54f30b1c644ccfd74023c7e1b7eac59efc |
|
MD5 | acf26601ac38dfc091cdc9cbd84114ad |
|
BLAKE2b-256 | 8c4b4e4ba615d3d0475337a5693ea8d77d22812d635747a9176f4f79810c57f2 |