Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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.

Metadata

Release files for xalgorithm 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xalgorithm 0.0.5
File Size Uploaded
xalgorithm-0.0.5.tar.gz 34.3 kB Details

Release files / xalgorithm-0.0.5.tar.gz

Download URL xalgorithm-0.0.5.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5226592b5d90428ed70b10ac88bfcb1da8da52fa3b5617b8a22167c392640e40
BLAKE2b-256 checksum
How to use checksums
40fe08f7f6edb1ad280adc2a4af44a4b5c9a3936a134248f1520c157a8ceb4e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.4
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page