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.1.tar.gz (19.9 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.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blackbeard2109-0.2.1.tar.gz
  • Upload date:
  • Size: 19.9 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.1.tar.gz
Algorithm Hash digest
SHA256 b988cf971ff9dd9f8ffa0062005eebf31cda827c283f74e9f8270d8cb1181333
MD5 4946da832aeeb452f95832585552c11e
BLAKE2b-256 12622035b4b8613238a7050ed3907bb84b2bf3d200db4021c1d00642229d793d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blackbeard2109-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 20.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 344f861efba799164ec1e6509ab2baf1900618e4797e93797829c5648f9059f7
MD5 42fd20b93d929d4402c610a2447ca5b3
BLAKE2b-256 2db7b427153d9d098480f315336e5955858607f1e456c16a6afc0598ead7a3f4

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