Skip to content

Commit

Permalink
New docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sidchaini committed Feb 8, 2024
1 parent 981879d commit 7d7e5f2
Show file tree
Hide file tree
Showing 29 changed files with 5,137 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx build
run: |
sphinx-build doc _build
sphinx-build docs _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
Expand Down
4 changes: 4 additions & 0 deletions _build/.buildinfo
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: a550d150b6a93eef7b25c5c1c1b7749e
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added _build/.doctrees/classifier.doctree
Binary file not shown.
Binary file added _build/.doctrees/distances.doctree
Binary file not shown.
Binary file added _build/.doctrees/environment.pickle
Binary file not shown.
Binary file added _build/.doctrees/index.doctree
Binary file not shown.
7 changes: 7 additions & 0 deletions _build/_sources/classifier.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DistanceMetricClassifier module
===============================

.. automodule:: distclassipy.classifier
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions _build/_sources/distances.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Distance module
===============

.. automodule:: distclassipy.distances
:members:
:undoc-members:
:show-inheritance:
63 changes: 63 additions & 0 deletions _build/_sources/index.rst.txt
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
Loading

0 comments on commit 7d7e5f2

Please sign in to comment.