Skip to main content

My Data Structures and Algorithms Implemented in Python

Project description

My Implementation of Data Structure and Algorithms in Python

Build and Update Package

make upload version=a.b.c

Install This Package

pip install xalgorithm

List of Implementations

Xalgorithm Function Effect
@tag_me Tag each function with a label and access the function using that label
@print_me Print the functon, its argument and result, helpful in debugging
@ctrl_c Ask the user for confirmation to exit the program
@record_it Measure either the execution time or the execution count of a function
opath Return the absolute path, expanding any user shortcuts
ojoin Join multiple path components and optionally creates the path if it doesn't exist
osimplify Normalize a path
xprint Print text in styled format, please see my changelog for detailed usages
Out Functon Effect
make_classification Generates a synthetic classification dataset
describe_df Performs exploratory analysis on each feature
print_df Print a pandas DataFrame with rich API
Benchmark This class evaluates several well-known machine learning algorithms for a classification problem and provides multiple classification metrics for comparative analysis
%py_version Print the current version of Python
%%csv Parses the cell into a DataFrame and then prints the DataFrame to the console in the specified format (rich-format, plain-format, markdown-format)
%%time Display the execution time of code within a cell in seconds
Ods Function Effect
power_analysis Calculate sample size for power analysis using effect size, significance, power, and population std
RFM Segment and Target customers for personalized marketing strategies using Recency, Frequency, Monetary analysis
parse_vds Download Youtube subtitles, see xalgorithm --help for guidance. The Spacy English pipeline can be optionally loaded to segment sentences within subtitle scripts
Array Algorithm Definition
:white_large_square: Sliding Window
:white_check_mark: HuaRongDao Solve a puzzle where the goal is to start from initial state and end in final state

Advanced Algorithms and Data Structures (La Rocca, M., 2021)

Topic Note Finish Date
Chp 2: d-way heaps Priority Queue :white_large_square:
Chp 2: huffman compression xxxx :white_large_square:

ChangeLog

All updates are tracked in this file.

Credits

To better prepare myself for the challenges of algorithmic problems, I have included code from Open Data Structures. I will probably to rewrite some functions to make them compatible with my project as I continue to read this book. I owe huge gratitude for their work in jumping start my learning journey.

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

xalgorithm-0.0.5.tar.gz (34.3 kB view details)

Uploaded Source

File details

Details for the file xalgorithm-0.0.5.tar.gz.

File metadata

  • Download URL: xalgorithm-0.0.5.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.4

File hashes

Hashes for xalgorithm-0.0.5.tar.gz
Algorithm Hash digest
SHA256 5226592b5d90428ed70b10ac88bfcb1da8da52fa3b5617b8a22167c392640e40
MD5 e990bcb20cdc7000102b087f5946db20
BLAKE2b-256 40fe08f7f6edb1ad280adc2a4af44a4b5c9a3936a134248f1520c157a8ceb4e1

See more details on using hashes here.

Supported by

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