-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using sphinx.
- Loading branch information
Showing
37 changed files
with
5,295 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: af7b37c052b5b5b8f96e36de84367bad | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DistanceMetricClassifier module | ||
=============================== | ||
|
||
.. automodule:: distclassipy.classifier | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Distance module | ||
=============== | ||
|
||
.. automodule:: distclassipy.distances | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.. DistClassiPy documentation master file, created by | ||
sphinx-quickstart on Wed Feb 7 16:42:22 2024. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Welcome to DistClassiPy's documentation! | ||
======================================== | ||
|
||
DistClassiPy is a Python package for a distance-based classifier which can use several different distance metrics. | ||
|
||
Installation | ||
------------ | ||
|
||
To install DistClassiPy, run the following command: | ||
|
||
.. code-block:: bash | ||
pip install distclassipy | ||
Usage | ||
----- | ||
|
||
Here's a quick example to get you started with DistClassiPy: | ||
|
||
.. code-block:: python | ||
import distclassipy as dcpy | ||
clf = dcpy.DistanceMetricClassifier() | ||
# Add your data and labels | ||
clf.fit(data, labels) | ||
# Predict new instances | ||
predictions = clf.predict(new_data) | ||
Features | ||
-------- | ||
|
||
- Multiple distance metrics support | ||
- Easy integration with existing data processing pipelines | ||
- Efficient and scalable for large datasets | ||
|
||
Contact | ||
------- | ||
|
||
For any queries, please reach out to Siddharth Chaini at [email protected]. | ||
|
||
|
||
|
||
Indices and tables | ||
------------------ | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` | ||
|
||
API Documentation | ||
----------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: API Reference | ||
|
||
classifier | ||
distances |
Oops, something went wrong.