GithubHelp home page GithubHelp logo

hhy5277 / notebooks-8 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from speedml/notebooks

0.0 1.0 0.0 1.89 MB

Speedml Python Notebooks

Home Page: https://speedml.com

Jupyter Notebook 100.00%

notebooks-8's Introduction

Speedml Machine Learning Speed Start

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.

notebooks-8's People

Contributors

manavsehgal avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.