Speedml Machine Learning Speed Start
Project description
Speedml is a Python package for speed starting machine learning projects.
The speedml.com website documents API use cases, behind-the-scenes implementation, features, best practices, and demos in detail.
To see Speedml in action run or download the notebook Titanic Solution Using Speedml which walks through an end-to-end machine learning solution documenting features of the Speedml API.
Latest Speedml release is always available on the PyPi website.
Install Speedml package using pip like so:
pip install speedml
We manage the project on GitHub.
We are authoring Speedml API with four goals in mind.
Popular. Best packages together
Speedml already imports and properly initializes the popular ML packages including pandas, numpy, sklearn, xgboost, and matplotlib. All you need to do is import speedml to get started:
from speedml import Speedml
Rapid. Machine learning speed start
Coding is up to 3X faster when using Speedml because of (1) iterative development, (2) linear workflow, and (3) component-based API.
These three lines of Speedml code (a) load the training, test datasets, (b) define the target and unique id features, (c) plot the feature correlation matrix heatmap for numerical features, (d) perform a detailed EDA returning 10-15 observations and next steps for making the datasets model ready:
sml = Speedml('train.csv', 'test.csv', target='Survived', uid='PassengerId') sml.plot.correlate() sml.eda()
Easy. Concise commands with sensible defaults
A notebook using Speedml reduces coding required by up to 70%. Speedml API implements methods requiring zero to minimal number of parameters, working on sensible defaults.
Call to this single method replaces empty values in the entire dataframe with median value for numerical features and most common values for text features:
sml.feature.impute()
Productive. Intuitive linear workflow
Understanding machine learning fundamentals is a breeze with Speedml as we have designed the API to follow a linear workflow with sensible prerequisites and intuitive next steps.
These three lines of Speedml code perform feature engineering by replacing null values, extracting a new feature matching a regular expression, and dropping a feature that is no longer required:
sml.feature.fillna(a='Cabin', new='Z') sml.feature.extract(new='Deck', a='Cabin', regex='([A-Z]){1}') sml.feature.drop(['Cabin'])
Hope you enjoy using Speedml in your projects. Watch this space as we intend to update Speedml frequently with more cool features.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file speedml-0.9.3.tar.gz
.
File metadata
- Download URL: speedml-0.9.3.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fb99cb8d4a6019f9a7de15b0aaa0af7a8159adbbee6bff2d8ecd79ee2b3dd8a |
|
MD5 | 6e52a01a3b05b28d966bab83e24de226 |
|
BLAKE2b-256 | 76a5d4ae8440c42234a57fe1aef4d4eb302a0edbd255f1f8068627c39e69d089 |
File details
Details for the file speedml-0.9.3-py2.py3-none-any.whl
.
File metadata
- Download URL: speedml-0.9.3-py2.py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8b39fa7c712d7097bc38506d7d4afb6e84ac0be8e6cefab939d5e080b2f67c |
|
MD5 | 62c28d9c1c75d8ff1500466738a9f8b0 |
|
BLAKE2b-256 | b17291dcc93415b09829897b3d34a87383a946b720771b6d1662fbc017782b6c |