Skip to content

dCrawler pip package and animations #7

Open
Elsword016 wants to merge 15 commits intomleiwe:mainfrom
Elsword016:main
Open

dCrawler pip package and animations #7
Elsword016 wants to merge 15 commits intomleiwe:mainfrom
Elsword016:main

Conversation

@Elsword016
Copy link
Copy Markdown
Contributor

Added crawler_animate.ipynb in the Python_implementation folder and a gif of the same. I think the movie may not work as well as the MATLAB counterpart.
Added a pip ready package for dcrawler. We need a PyPI account to push to the public library.

If you want to test the package in /dCrawler. The directory has to follow a specific structure that's why I made a new folder, after we push the package in the public stream, we have to do a little cleanup maybe.

  • Clone the repo.
  • cd into the directory
  • python setup.py sdist
  • Then pip install .
    You can then import it into any file in the current environment.
from dCrawler import dCrawler
# Initialize the dCrawler object
crawler = dCrawler(threshold=1.0)
crawler.fit(data)
centroids,clusters = crawler.centroids,crawler.clusters

Elsword016 and others added 15 commits May 8, 2024 17:27
Saving states for each steps, animation functions, plotting, etc
Improved the animation to do every step of the crawl, adjust and merge. There are still some bugs in the merge, may also need to re-factor the titles at a later date. Aspects such as initial crawl are not accurate in the merge section
test.py added as a script to test the running of dCrawler_api. It works :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants