Skip to main content

This library is designed for people who need to optimize time in an agile way with an ease of understanding and could

Project description

Blackbeard Library. A python’s life for me!

This library is designed for people who need to optimize time in an agile way with an ease of understanding, as well as dealing with projects under the umbrella of Data Science, including cleaning data frame (including images), visualization and machine learning.

Overview

This library consists of 3 parts that are the fundamental aspects of Data Science:

Machine Learning

These functions are for ML-based projects and speed up their execution: grid_search, models, NN_conv_model, model_train, load_model, save_model, basic_regression_models, regression_errors,print_regress_metrics, print_classif_metrics, split_and_scale, categorical_encoding, automl, captain.

Visualization

These functions allow us to optimize the execution of the graphs in time: draw_boxplot, draw_donut_chart, draw_maps, draw_three_countplot, show_roc_curve, sort, pairplot_heatmap, draw_missing_ratio, draw_statistic_values, draw_target_transformation, draw_feat_importance, draw_maps, draw_donut_chart, draw_three_countplot, show_roc_curve.

Data Cleaning

Using the following functions, we are able to increase the efficiency when it comes down to cleaning data and images: get_root_path, delete_duplicates, missing_values, save_col_names, Unix_to_UTC, download_csv, split_datetime, max_min, null_to_0, null_to_mean, categorical_numeric, df_information, merge_df, drop_NaN, eleate_column, replace_by_numpy, replace_string, percentage, sort_column, outliers, sales_by_category, month_to_name, columns_dtype, get_products_that_are_sold_together, frames_from_video, images_dataset_properties, read_images, flip_images, resize_images edit_images, color2gray, negative_colors_images, monocolor_images, images_load_data, save_images.

Usage

In the following paragraphs, we are going to describe how you can use Blackbeard:

Getting it

To download Blackbeard, either fork this github repo or simply use Pypi via pip.

pip install blackbeard2109

Using it

Blackbeard was programmed with ease-of-use in mind. First, import Blackbeard and then call any of the functions based on your needs.

If you are a Mac user, consider the following: When you are executing a function for images, by default, it installs the file called .DS_Store on your computer. In order for execute the function correctly, what you have to do is the following: right on click on the images folder that you downloaded, click on a terminal, and execute the following code: find . -name '.DS_Store' -type f -delete.

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

blackbeard2109-0.2.2.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blackbeard2109-0.2.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file blackbeard2109-0.2.2.tar.gz.

File metadata

  • Download URL: blackbeard2109-0.2.2.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4

File hashes

Hashes for blackbeard2109-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a141b054a0a122e7fc5f1ce1b1f12e1a496d40e2957c18d02a0adcc3fe3f5b1e
MD5 4a987e433b347be95f361fe42f6beb2a
BLAKE2b-256 9d88ccc5e921825086ea025a42d3ca6d6fdfd6fdd33d5bce485c9aa29c414b6c

See more details on using hashes here.

File details

Details for the file blackbeard2109-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: blackbeard2109-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.4

File hashes

Hashes for blackbeard2109-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08d9fd9df68300196d8c40af2a41ed634630d499e6e1523ac556f894f2af5635
MD5 6b7b60f6a05a100c77bc79beb2d55b72
BLAKE2b-256 a6ab07f785339caeb88c3a33f071c2bdcf7bb4a4869f9464e7d85d86838f6bbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page