Closed dhaval737 closed 3 years ago
The PR looks much better; thank you for making the suggested changes. I particularly like the detailed instructions about what you did and the test plans to verify the desired changes.
One feedback I would give is to investigate the codemod
tool; likely this is more efficient than sed
. (not necessary for this PR)
One thing I would add to your test plan is to test the Doxygen documentation. On main
and kmeds_clean_up
, the documentation appears different (file:///Users/motiwari/Desktop/BanditPAM/docs/html/index.html) -- for example, on this PR, the Main Page
is blank and it appears the documentation has been moved to "Related Pages". In addition, it looks like the "Files" dropdown menu now has a "File Members" page which should be deleted. Can you fix?
I have made the changes to the docs as per @motiwari's comment.
Please review the Pull request for issue #42. These are the steps that I performed to make changes STEPS:
Updated the filename from
kmeds_pywrapper.cpp
tokmedoids_pywrapper.cpp
Modified all the instances of kmeds to kmedoids in kmedoids_pywrapper.cpp
sed -i '' 's/kmeds/kmedoids/g' BanditPAM/src/kmedoids_pywrapper.cpp
Modified all the instances of
KMeds
toKMedoids
inkmedoids_pywrapper.cpp
sed -i '' 's/KMeds/KMedoids/g' BanditPAM/src/kmedoids_pywrapper.cpp
Modified all the instances of
kmeds
tokmedoids
insetup.py
sed -i '' 's/KMeds/KMedoids/g' BanditPAM/setup.py
Ran the command:
sudo pip3 install
.Tested example1 and example2; python examples from Readme
Executed option 2 (Installing Requirements and Building Directly) from the readme file
Ran the below command for test
./BanditPAM -f ../../data/MNIST-1k.csv -k 10 -v 1
dhavaldangaria@Dhavals-MacBook-Pro src % ./BanditPAM -f ../../data/MNIST-1k.csv -k 10 -v 1
Medoids: 694,800,306,714,324,959,737,527,168,251
Ran the
doxygen
from the docs folder: Before running the “doxygen” command, I cleaned the Docs folder and just kept the Doxyfile in it. Navigated to docs folder and ran the command:rm -rf $(find . -name "*" ! -name "Doxyfile")
doxygen Doxyfile
Ran the below commands from the root BanditPAM folder to confirm that there are no more instance of
kmeds
orKMeds
grep -H -r "kmeds"
.grep -H -r "KMeds"
.