noshot 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- noshot-0.1.0/LICENSE.txt +21 -0
- noshot-0.1.0/PKG-INFO +65 -0
- noshot-0.1.0/README.md +40 -0
- noshot-0.1.0/noshot.egg-info/PKG-INFO +65 -0
- noshot-0.1.0/noshot.egg-info/SOURCES.txt +213 -0
- noshot-0.1.0/noshot.egg-info/dependency_links.txt +1 -0
- noshot-0.1.0/noshot.egg-info/not-zip-safe +1 -0
- noshot-0.1.0/noshot.egg-info/top_level.txt +1 -0
- noshot-0.1.0/setup.cfg +4 -0
- noshot-0.1.0/setup.py +32 -0
- noshot-0.1.0/src/noshot/__init__.py +1 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(A) Breadth First Search.ipynb +112 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(B) Depth First Search.ipynb +111 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(C) Uniform Cost Search.ipynb +134 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(D) Depth Limites Search.ipynb +115 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(E) Iterative Deepening DFS.ipynb +123 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/2_ANOVA.csv +769 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/One Way ANOVA (Repeated Measure).ipynb +126 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/One Way ANOVA.ipynb +134 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/Sample 1 Way ANOVA Test.ipynb +119 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/Two Way ANOVA.ipynb +138 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/reaction_time.csv +5 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/sample_data.csv +16 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/sleep_deprivation.csv +4 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/3_Linear.csv +4802 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/Linear Regression LAB.ipynb +113 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/Linear Regression New- sklearn.ipynb +118 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/Linear Regression.ipynb +148 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/house_rate.csv +22 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/Logistic Regression New- sklearn.ipynb +128 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/Logistic Regression.ipynb +145 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/default.csv +1001 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/hours_scores_records.csv +101 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/2. Implement A Star And MA Star/(A) Astar.ipynb +256 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/2. Implement A Star And MA Star/(B) IDAstar.ipynb +157 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/2. Implement A Star And MA Star/(C) SMAstar.ipynb +178 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/3. Genetic Algorithm/Genetic.ipynb +95 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/4. Simulated Annealing/Simulated Annealing.ipynb +74 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/4. Simulated Annealing/Sudoku Simulated Annealing.ipynb +103 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/5. Alpha Beta Pruning/AlphaBetaPruning.ipynb +182 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/6. Consraint Satisfaction Problems (CSP)/(A) CSP House Allocation.ipynb +120 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/6. Consraint Satisfaction Problems (CSP)/(B) CSP Map Coloring.ipynb +125 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/7. Random Sampling/Random Sampling.ipynb +73 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/7. Random Sampling/height_weight_bmi.csv +8389 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/8. Z Test/Z Test Hash Function.ipynb +141 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/8. Z Test/Z Test.ipynb +151 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/8. Z Test/height_weight_bmi.csv +8389 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/1_heart.csv +304 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/Independent T Test.ipynb +119 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/Paired T Test.ipynb +118 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/T Test Hash Function.ipynb +142 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/T Test.ipynb +158 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/height_weight_bmi.csv +8389 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/9. T Test/iq_test.csv +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/AIDS/Others (AllinOne)/All In One.ipynb +4581 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/1. Chat Application/chat.java +81 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/1. Chat Application/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/1. Chat Application/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/LAN.tcl +65 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/analysis.awk +44 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/11. Wireless LAN IEEE 802.11/complexdcf.tcl +229 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/11. Wireless LAN IEEE 802.11/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/11. Wireless LAN IEEE 802.11/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/2. File Transfer/file_to_send.txt +2 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/2. File Transfer/filetransfer.java +119 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/2. File Transfer/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/2. File Transfer/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/3. RMI (Remote Method Invocation)/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/3. RMI (Remote Method Invocation)/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/3. RMI (Remote Method Invocation)/rmi.java +56 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/4. Wired Network/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/4. Wired Network/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/4. Wired Network/wired.awk +25 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/4. Wired Network/wired.tcl +81 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/wireless.awk +27 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/wireless.tcl +153 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/analysis.awk +27 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/sack.tcl +86 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/vegas.tcl +86 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/analysis.awk +28 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/reno.tcl +78 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/tahoe.tcl +79 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Flow Control/analysis.awk +27 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Flow Control/flow.tcl +163 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Flow Control/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/DV.tcl +111 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/LS.tcl +106 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/analysis.awk +36 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/analysis.awk +20 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/broadcast.tcl +76 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/multicast.tcl +103 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/9. DHCP/DHCP.java +125 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/9. DHCP/output.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/CN/9. DHCP/procedure.png +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/1-Prereqs.py +18 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/2-Chi2test.py +83 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/2-T-test.py +79 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/3-WSD-nb.py +53 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/4-Hindle-Rooth.py +53 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/5-HMM-Trellis.py +82 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/6-HMM-Viterbi.py +16 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/7-PCFG-parsetree.py +15 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Chi2test.ipynb +285 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Hindle-Rooth.ipynb +179 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Lab 10 - Text generator using LSTM.ipynb +1461 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Lab 11 NMT.ipynb +2307 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/PCFG.ipynb +134 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Prereqs.ipynb +131 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/T test.ipynb +252 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/TFIDF BOW.ipynb +171 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Trellis.ipynb +244 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/WSD.ipynb +645 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 1/Word2Vec.ipynb +93 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab01(tokenizer)/tokenizer.ipynb +370 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab01(tokenizer)/training_tokenizer.txt +6 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/exp0.ipynb +274 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/lab2.ipynb +905 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/test.txt +1 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/tokenizing.ipynb +272 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab03(parse-tree)/collocation.ipynb +332 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab03(parse-tree)/lab3.ipynb +549 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab03(parse-tree)/nlp.txt +1 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab04(collocation)/Lab4-NLP-Exp-2.ipynb +817 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab04(collocation)/collocation.ipynb +332 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab05(WSD)/NLP-Lab-5-Exp3.ipynb +231 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab05(WSD)/word-sense-disambiguation.ipynb +507 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab06(additional-exercise)/lab6.ipynb +134 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab07(HMM,Viterbi)/NLP Exp 4.ipynb +255 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab07(HMM,Viterbi)/NLP_Exp_5.ipynb +159 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab08(PCFG)/PCFG.ipynb +282 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab09-Hindle-rooth&MLP/Lab 9 - MLP classifier.ipynb +670 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab09-Hindle-rooth&MLP/MLP-alternative-code.ipynb +613 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab09-Hindle-rooth&MLP/hindle-rooth-algorithm.ipynb +74 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab10(LSTM)/Lab_10_Text_generator_using_LSTM.ipynb +480 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/Machine-translation.ipynb +445 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/Viterbi-PCFG.ipynb +105 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/corpora_tools.py +87 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/data_utils.py +11 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/train_translator.py +83 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab12(Information-Extraction)/Information_Extraction.ipynb +201 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/Backtrack-without-Verbitri.ipynb +185 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/Backward-Procedure.ipynb +597 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/Bag_of.ipynb +1422 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/CYK-algorithm.ipynb +1067 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/Forward-Procedure.ipynb +477 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/LSTM.ipynb +1290 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/Lab 10 - Text generator using LSTM.ipynb +1461 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/Lab 11 NMT.ipynb +2307 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/NLP-LAB-4.ipynb +216 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/NLP-LAB-5.ipynb +216 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/abc.txt +6 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/ex-1-nltk.ipynb +711 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/ex-2-nlp.ipynb +267 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/exp8&9.ipynb +305 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/hind.ipynb +287 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/lab66.ipynb +752 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/leb_3.ipynb +612 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/naive_bayes_classifier.pkl +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/nlp_leb_1.ipynb +3008 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/nlp_leb_2.ipynb +3095 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/nlplab-9.ipynb +295 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/nltk-ex-4.ipynb +506 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/text1.txt +48 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/text2.txt +8 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/text3.txt +48 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/translation-rnn.ipynb +812 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 3/word2vector.ipynb +173 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Backward Procedure Algorithm.ipynb +179 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Chi Square Collocation.ipynb +208 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Collocation (T test).ipynb +188 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Experiment 1.ipynb +437 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Forward Procedure Algorithm.ipynb +132 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Hindle Rooth.ipynb +414 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/MachineTranslation.ipynb +368 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Multi Layer Perceptron using MLPClassifier.ipynb +86 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Multi Layer Perceptron using Tensorflow.ipynb +112 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/PCFG Inside Probability.ipynb +451 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Text Generation using LSTM.ipynb +297 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Viterbi.ipynb +310 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 4/Word Sense Disambiguation.ipynb +335 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/10.Text Generation using LSTM.ipynb +316 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/11.Machine Translation.ipynb +868 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/2.T and Chi2 Test.ipynb +204 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/3.Word Sense Diambiguation.ipynb +234 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/4.Hinddle and Rooth.ipynb +128 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/5.Forward and Backward.ipynb +149 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/6.Viterbi.ipynb +111 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/7.PCFG Parse Tree.ipynb +134 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/7.PCFG using cyk.ipynb +101 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/8.Bag of words and TF-IDF.ipynb +310 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/9.Word2Vector.ipynb +78 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/NLP ALL In One.ipynb +2619 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/sample1.txt +15 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/sample2.txt +4 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 5/word2vec_model.bin +0 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/1. Tokenize, Tagging, NER, Parse Tree.ipynb +312 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/2. T Test and Chi2 Test.ipynb +185 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/3. Naive Bayes WSD.ipynb +199 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/4. Hinddle and Rooth.ipynb +151 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/5 and 6 FWD, BWD, Viterbi.ipynb +164 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/7. PCFG using CYK.ipynb +383 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/NLP/NLP 6/8. BOW and TF-IDF.ipynb +252 -0
- noshot-0.1.0/src/noshot/data/AIDS CN NLP/Ubuntu CN Lab.iso +0 -0
- noshot-0.1.0/src/noshot/main.py +47 -0
noshot-0.1.0/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 The author
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
noshot-0.1.0/PKG-INFO
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: noshot
|
3
|
+
Version: 0.1.0
|
4
|
+
Summary: Support library for Artificial Intelligence, Machine Learning and Data Science tools
|
5
|
+
Author: Tim Stan S
|
6
|
+
License: MIT
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
8
|
+
Classifier: Programming Language :: Python :: 3.7
|
9
|
+
Classifier: Programming Language :: Python :: 3.8
|
10
|
+
Classifier: Programming Language :: Python :: 3.9
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
14
|
+
Classifier: Operating System :: OS Independent
|
15
|
+
Requires-Python: >=3.7
|
16
|
+
Description-Content-Type: text/markdown
|
17
|
+
License-File: LICENSE.txt
|
18
|
+
Dynamic: author
|
19
|
+
Dynamic: classifier
|
20
|
+
Dynamic: description
|
21
|
+
Dynamic: description-content-type
|
22
|
+
Dynamic: license
|
23
|
+
Dynamic: requires-python
|
24
|
+
Dynamic: summary
|
25
|
+
|
26
|
+
<p align="center">
|
27
|
+
<a href="https://pypi.org/project/noshot/">
|
28
|
+
<img src="https://img.shields.io/pypi/v/noshot?color=blue&logo=pypi" alt="PyPI Version">
|
29
|
+
</a>
|
30
|
+
<a href="https://pypi.org/project/noshot/">
|
31
|
+
<img src="https://img.shields.io/pypi/pyversions/noshot.svg?logo=python&color=yellow" alt="Python Versions">
|
32
|
+
</a>
|
33
|
+
<a href="https://opensource.org/licenses/MIT">
|
34
|
+
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="LICENSE">
|
35
|
+
</a>
|
36
|
+
<a href="https://github.com/suganthangnanavelan/one-shot-coding/actions/workflows/tests.yml">
|
37
|
+
<img src="https://img.shields.io/github/actions/workflow/status/suganthangnanavelan/one-shot-coding/tests.yml?branch=main" alt="Build Status">
|
38
|
+
</a>
|
39
|
+
<a href="https://pepy.tech/project/noshot">
|
40
|
+
<img src="https://pepy.tech/badge/noshot" alt="Downloads">
|
41
|
+
</a>
|
42
|
+
</p>
|
43
|
+
|
44
|
+
<p align="center">
|
45
|
+
<img src="logo.png" alt="NoShot Logo" width="800">
|
46
|
+
</p>
|
47
|
+
|
48
|
+
<h1 align="center">NoShot</h1>
|
49
|
+
|
50
|
+
<p align="center">
|
51
|
+
A powerful support library that enhances the capabilities of NumPy, Pandas, and Matplotlib by providing additional algorithms, visualizations, and utilities.
|
52
|
+
</p>
|
53
|
+
|
54
|
+
## 🚀 **Overview**
|
55
|
+
`NoShot` is a utility library that acts as a **support dependency** for larger modules like **NumPy, Pandas, and Matplotlib**. It enhances their functionality by introducing:
|
56
|
+
- 📊 **Custom visualizations** built on top of Matplotlib.
|
57
|
+
- 📈 **Optimized algorithms** for data processing.
|
58
|
+
- ⚡ **Additional utilities** for working with structured data.
|
59
|
+
|
60
|
+
This package is **not a replacement** for NumPy or Pandas but extends their features to simplify complex operations.
|
61
|
+
|
62
|
+
## 📦 **Installation**
|
63
|
+
Install via `pip`:
|
64
|
+
```sh
|
65
|
+
pip install noshot
|
noshot-0.1.0/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://pypi.org/project/noshot/">
|
3
|
+
<img src="https://img.shields.io/pypi/v/noshot?color=blue&logo=pypi" alt="PyPI Version">
|
4
|
+
</a>
|
5
|
+
<a href="https://pypi.org/project/noshot/">
|
6
|
+
<img src="https://img.shields.io/pypi/pyversions/noshot.svg?logo=python&color=yellow" alt="Python Versions">
|
7
|
+
</a>
|
8
|
+
<a href="https://opensource.org/licenses/MIT">
|
9
|
+
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="LICENSE">
|
10
|
+
</a>
|
11
|
+
<a href="https://github.com/suganthangnanavelan/one-shot-coding/actions/workflows/tests.yml">
|
12
|
+
<img src="https://img.shields.io/github/actions/workflow/status/suganthangnanavelan/one-shot-coding/tests.yml?branch=main" alt="Build Status">
|
13
|
+
</a>
|
14
|
+
<a href="https://pepy.tech/project/noshot">
|
15
|
+
<img src="https://pepy.tech/badge/noshot" alt="Downloads">
|
16
|
+
</a>
|
17
|
+
</p>
|
18
|
+
|
19
|
+
<p align="center">
|
20
|
+
<img src="logo.png" alt="NoShot Logo" width="800">
|
21
|
+
</p>
|
22
|
+
|
23
|
+
<h1 align="center">NoShot</h1>
|
24
|
+
|
25
|
+
<p align="center">
|
26
|
+
A powerful support library that enhances the capabilities of NumPy, Pandas, and Matplotlib by providing additional algorithms, visualizations, and utilities.
|
27
|
+
</p>
|
28
|
+
|
29
|
+
## 🚀 **Overview**
|
30
|
+
`NoShot` is a utility library that acts as a **support dependency** for larger modules like **NumPy, Pandas, and Matplotlib**. It enhances their functionality by introducing:
|
31
|
+
- 📊 **Custom visualizations** built on top of Matplotlib.
|
32
|
+
- 📈 **Optimized algorithms** for data processing.
|
33
|
+
- ⚡ **Additional utilities** for working with structured data.
|
34
|
+
|
35
|
+
This package is **not a replacement** for NumPy or Pandas but extends their features to simplify complex operations.
|
36
|
+
|
37
|
+
## 📦 **Installation**
|
38
|
+
Install via `pip`:
|
39
|
+
```sh
|
40
|
+
pip install noshot
|
@@ -0,0 +1,65 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: noshot
|
3
|
+
Version: 0.1.0
|
4
|
+
Summary: Support library for Artificial Intelligence, Machine Learning and Data Science tools
|
5
|
+
Author: Tim Stan S
|
6
|
+
License: MIT
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
8
|
+
Classifier: Programming Language :: Python :: 3.7
|
9
|
+
Classifier: Programming Language :: Python :: 3.8
|
10
|
+
Classifier: Programming Language :: Python :: 3.9
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
14
|
+
Classifier: Operating System :: OS Independent
|
15
|
+
Requires-Python: >=3.7
|
16
|
+
Description-Content-Type: text/markdown
|
17
|
+
License-File: LICENSE.txt
|
18
|
+
Dynamic: author
|
19
|
+
Dynamic: classifier
|
20
|
+
Dynamic: description
|
21
|
+
Dynamic: description-content-type
|
22
|
+
Dynamic: license
|
23
|
+
Dynamic: requires-python
|
24
|
+
Dynamic: summary
|
25
|
+
|
26
|
+
<p align="center">
|
27
|
+
<a href="https://pypi.org/project/noshot/">
|
28
|
+
<img src="https://img.shields.io/pypi/v/noshot?color=blue&logo=pypi" alt="PyPI Version">
|
29
|
+
</a>
|
30
|
+
<a href="https://pypi.org/project/noshot/">
|
31
|
+
<img src="https://img.shields.io/pypi/pyversions/noshot.svg?logo=python&color=yellow" alt="Python Versions">
|
32
|
+
</a>
|
33
|
+
<a href="https://opensource.org/licenses/MIT">
|
34
|
+
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="LICENSE">
|
35
|
+
</a>
|
36
|
+
<a href="https://github.com/suganthangnanavelan/one-shot-coding/actions/workflows/tests.yml">
|
37
|
+
<img src="https://img.shields.io/github/actions/workflow/status/suganthangnanavelan/one-shot-coding/tests.yml?branch=main" alt="Build Status">
|
38
|
+
</a>
|
39
|
+
<a href="https://pepy.tech/project/noshot">
|
40
|
+
<img src="https://pepy.tech/badge/noshot" alt="Downloads">
|
41
|
+
</a>
|
42
|
+
</p>
|
43
|
+
|
44
|
+
<p align="center">
|
45
|
+
<img src="logo.png" alt="NoShot Logo" width="800">
|
46
|
+
</p>
|
47
|
+
|
48
|
+
<h1 align="center">NoShot</h1>
|
49
|
+
|
50
|
+
<p align="center">
|
51
|
+
A powerful support library that enhances the capabilities of NumPy, Pandas, and Matplotlib by providing additional algorithms, visualizations, and utilities.
|
52
|
+
</p>
|
53
|
+
|
54
|
+
## 🚀 **Overview**
|
55
|
+
`NoShot` is a utility library that acts as a **support dependency** for larger modules like **NumPy, Pandas, and Matplotlib**. It enhances their functionality by introducing:
|
56
|
+
- 📊 **Custom visualizations** built on top of Matplotlib.
|
57
|
+
- 📈 **Optimized algorithms** for data processing.
|
58
|
+
- ⚡ **Additional utilities** for working with structured data.
|
59
|
+
|
60
|
+
This package is **not a replacement** for NumPy or Pandas but extends their features to simplify complex operations.
|
61
|
+
|
62
|
+
## 📦 **Installation**
|
63
|
+
Install via `pip`:
|
64
|
+
```sh
|
65
|
+
pip install noshot
|
@@ -0,0 +1,213 @@
|
|
1
|
+
LICENSE.txt
|
2
|
+
README.md
|
3
|
+
setup.py
|
4
|
+
noshot.egg-info/PKG-INFO
|
5
|
+
noshot.egg-info/SOURCES.txt
|
6
|
+
noshot.egg-info/dependency_links.txt
|
7
|
+
noshot.egg-info/not-zip-safe
|
8
|
+
noshot.egg-info/top_level.txt
|
9
|
+
src/noshot/__init__.py
|
10
|
+
src/noshot/main.py
|
11
|
+
src/noshot/data/AIDS CN NLP/Ubuntu CN Lab.iso
|
12
|
+
src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(A) Breadth First Search.ipynb
|
13
|
+
src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(B) Depth First Search.ipynb
|
14
|
+
src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(C) Uniform Cost Search.ipynb
|
15
|
+
src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(D) Depth Limites Search.ipynb
|
16
|
+
src/noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(E) Iterative Deepening DFS.ipynb
|
17
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/2_ANOVA.csv
|
18
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/One Way ANOVA (Repeated Measure).ipynb
|
19
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/One Way ANOVA.ipynb
|
20
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/Sample 1 Way ANOVA Test.ipynb
|
21
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/Two Way ANOVA.ipynb
|
22
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/reaction_time.csv
|
23
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/sample_data.csv
|
24
|
+
src/noshot/data/AIDS CN NLP/AIDS/10. ANOVA/sleep_deprivation.csv
|
25
|
+
src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/3_Linear.csv
|
26
|
+
src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/Linear Regression LAB.ipynb
|
27
|
+
src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/Linear Regression New- sklearn.ipynb
|
28
|
+
src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/Linear Regression.ipynb
|
29
|
+
src/noshot/data/AIDS CN NLP/AIDS/11. Linear Regression/house_rate.csv
|
30
|
+
src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/Logistic Regression New- sklearn.ipynb
|
31
|
+
src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/Logistic Regression.ipynb
|
32
|
+
src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/default.csv
|
33
|
+
src/noshot/data/AIDS CN NLP/AIDS/12. Logistic Regression/hours_scores_records.csv
|
34
|
+
src/noshot/data/AIDS CN NLP/AIDS/2. Implement A Star And MA Star/(A) Astar.ipynb
|
35
|
+
src/noshot/data/AIDS CN NLP/AIDS/2. Implement A Star And MA Star/(B) IDAstar.ipynb
|
36
|
+
src/noshot/data/AIDS CN NLP/AIDS/2. Implement A Star And MA Star/(C) SMAstar.ipynb
|
37
|
+
src/noshot/data/AIDS CN NLP/AIDS/3. Genetic Algorithm/Genetic.ipynb
|
38
|
+
src/noshot/data/AIDS CN NLP/AIDS/4. Simulated Annealing/Simulated Annealing.ipynb
|
39
|
+
src/noshot/data/AIDS CN NLP/AIDS/4. Simulated Annealing/Sudoku Simulated Annealing.ipynb
|
40
|
+
src/noshot/data/AIDS CN NLP/AIDS/5. Alpha Beta Pruning/AlphaBetaPruning.ipynb
|
41
|
+
src/noshot/data/AIDS CN NLP/AIDS/6. Consraint Satisfaction Problems (CSP)/(A) CSP House Allocation.ipynb
|
42
|
+
src/noshot/data/AIDS CN NLP/AIDS/6. Consraint Satisfaction Problems (CSP)/(B) CSP Map Coloring.ipynb
|
43
|
+
src/noshot/data/AIDS CN NLP/AIDS/7. Random Sampling/Random Sampling.ipynb
|
44
|
+
src/noshot/data/AIDS CN NLP/AIDS/7. Random Sampling/height_weight_bmi.csv
|
45
|
+
src/noshot/data/AIDS CN NLP/AIDS/8. Z Test/Z Test Hash Function.ipynb
|
46
|
+
src/noshot/data/AIDS CN NLP/AIDS/8. Z Test/Z Test.ipynb
|
47
|
+
src/noshot/data/AIDS CN NLP/AIDS/8. Z Test/height_weight_bmi.csv
|
48
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/1_heart.csv
|
49
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/Independent T Test.ipynb
|
50
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/Paired T Test.ipynb
|
51
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/T Test Hash Function.ipynb
|
52
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/T Test.ipynb
|
53
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/height_weight_bmi.csv
|
54
|
+
src/noshot/data/AIDS CN NLP/AIDS/9. T Test/iq_test.csv
|
55
|
+
src/noshot/data/AIDS CN NLP/AIDS/Others (AllinOne)/All In One.ipynb
|
56
|
+
src/noshot/data/AIDS CN NLP/CN/1. Chat Application/chat.java
|
57
|
+
src/noshot/data/AIDS CN NLP/CN/1. Chat Application/output.png
|
58
|
+
src/noshot/data/AIDS CN NLP/CN/1. Chat Application/procedure.png
|
59
|
+
src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/LAN.tcl
|
60
|
+
src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/analysis.awk
|
61
|
+
src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/output.png
|
62
|
+
src/noshot/data/AIDS CN NLP/CN/10. Ethernet LAN IEEE 802.3/procedure.png
|
63
|
+
src/noshot/data/AIDS CN NLP/CN/11. Wireless LAN IEEE 802.11/complexdcf.tcl
|
64
|
+
src/noshot/data/AIDS CN NLP/CN/11. Wireless LAN IEEE 802.11/output.png
|
65
|
+
src/noshot/data/AIDS CN NLP/CN/11. Wireless LAN IEEE 802.11/procedure.png
|
66
|
+
src/noshot/data/AIDS CN NLP/CN/2. File Transfer/file_to_send.txt
|
67
|
+
src/noshot/data/AIDS CN NLP/CN/2. File Transfer/filetransfer.java
|
68
|
+
src/noshot/data/AIDS CN NLP/CN/2. File Transfer/output.png
|
69
|
+
src/noshot/data/AIDS CN NLP/CN/2. File Transfer/procedure.png
|
70
|
+
src/noshot/data/AIDS CN NLP/CN/3. RMI (Remote Method Invocation)/output.png
|
71
|
+
src/noshot/data/AIDS CN NLP/CN/3. RMI (Remote Method Invocation)/procedure.png
|
72
|
+
src/noshot/data/AIDS CN NLP/CN/3. RMI (Remote Method Invocation)/rmi.java
|
73
|
+
src/noshot/data/AIDS CN NLP/CN/4. Wired Network/output.png
|
74
|
+
src/noshot/data/AIDS CN NLP/CN/4. Wired Network/procedure.png
|
75
|
+
src/noshot/data/AIDS CN NLP/CN/4. Wired Network/wired.awk
|
76
|
+
src/noshot/data/AIDS CN NLP/CN/4. Wired Network/wired.tcl
|
77
|
+
src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/output.png
|
78
|
+
src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/procedure.png
|
79
|
+
src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/wireless.awk
|
80
|
+
src/noshot/data/AIDS CN NLP/CN/5. Wireless Network/wireless.tcl
|
81
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/procedure.png
|
82
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/analysis.awk
|
83
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/output.png
|
84
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/sack.tcl
|
85
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/vegas.tcl
|
86
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/analysis.awk
|
87
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/output.png
|
88
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/reno.tcl
|
89
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/tahoe.tcl
|
90
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Flow Control/analysis.awk
|
91
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Flow Control/flow.tcl
|
92
|
+
src/noshot/data/AIDS CN NLP/CN/6. TCP Flow And Congestion Control/TCP Flow Control/output.png
|
93
|
+
src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/DV.tcl
|
94
|
+
src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/LS.tcl
|
95
|
+
src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/analysis.awk
|
96
|
+
src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/output.png
|
97
|
+
src/noshot/data/AIDS CN NLP/CN/7. Link State And Distance Vector Routing/procedure.png
|
98
|
+
src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/analysis.awk
|
99
|
+
src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/broadcast.tcl
|
100
|
+
src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/multicast.tcl
|
101
|
+
src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/output.png
|
102
|
+
src/noshot/data/AIDS CN NLP/CN/8. Multicast And Broadcast Routing/procedure.png
|
103
|
+
src/noshot/data/AIDS CN NLP/CN/9. DHCP/DHCP.java
|
104
|
+
src/noshot/data/AIDS CN NLP/CN/9. DHCP/output.png
|
105
|
+
src/noshot/data/AIDS CN NLP/CN/9. DHCP/procedure.png
|
106
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/1-Prereqs.py
|
107
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/2-Chi2test.py
|
108
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/2-T-test.py
|
109
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/3-WSD-nb.py
|
110
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/4-Hindle-Rooth.py
|
111
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/5-HMM-Trellis.py
|
112
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/6-HMM-Viterbi.py
|
113
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/7-PCFG-parsetree.py
|
114
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Chi2test.ipynb
|
115
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Hindle-Rooth.ipynb
|
116
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Lab 10 - Text generator using LSTM.ipynb
|
117
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Lab 11 NMT.ipynb
|
118
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/PCFG.ipynb
|
119
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Prereqs.ipynb
|
120
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/T test.ipynb
|
121
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/TFIDF BOW.ipynb
|
122
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Trellis.ipynb
|
123
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/WSD.ipynb
|
124
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 1/Word2Vec.ipynb
|
125
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab01(tokenizer)/tokenizer.ipynb
|
126
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab01(tokenizer)/training_tokenizer.txt
|
127
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/exp0.ipynb
|
128
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/lab2.ipynb
|
129
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/test.txt
|
130
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab02(stemming)/tokenizing.ipynb
|
131
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab03(parse-tree)/collocation.ipynb
|
132
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab03(parse-tree)/lab3.ipynb
|
133
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab03(parse-tree)/nlp.txt
|
134
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab04(collocation)/Lab4-NLP-Exp-2.ipynb
|
135
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab04(collocation)/collocation.ipynb
|
136
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab05(WSD)/NLP-Lab-5-Exp3.ipynb
|
137
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab05(WSD)/word-sense-disambiguation.ipynb
|
138
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab06(additional-exercise)/lab6.ipynb
|
139
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab07(HMM,Viterbi)/NLP Exp 4.ipynb
|
140
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab07(HMM,Viterbi)/NLP_Exp_5.ipynb
|
141
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab08(PCFG)/PCFG.ipynb
|
142
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab09-Hindle-rooth&MLP/Lab 9 - MLP classifier.ipynb
|
143
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab09-Hindle-rooth&MLP/MLP-alternative-code.ipynb
|
144
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab09-Hindle-rooth&MLP/hindle-rooth-algorithm.ipynb
|
145
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab10(LSTM)/Lab_10_Text_generator_using_LSTM.ipynb
|
146
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/Machine-translation.ipynb
|
147
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/Viterbi-PCFG.ipynb
|
148
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/corpora_tools.py
|
149
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/data_utils.py
|
150
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/train_translator.py
|
151
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 2/Lab12(Information-Extraction)/Information_Extraction.ipynb
|
152
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/Backtrack-without-Verbitri.ipynb
|
153
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/Backward-Procedure.ipynb
|
154
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/Bag_of.ipynb
|
155
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/CYK-algorithm.ipynb
|
156
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/Forward-Procedure.ipynb
|
157
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/LSTM.ipynb
|
158
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/Lab 10 - Text generator using LSTM.ipynb
|
159
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/Lab 11 NMT.ipynb
|
160
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/NLP-LAB-4.ipynb
|
161
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/NLP-LAB-5.ipynb
|
162
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/abc.txt
|
163
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/ex-1-nltk.ipynb
|
164
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/ex-2-nlp.ipynb
|
165
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/exp8&9.ipynb
|
166
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/hind.ipynb
|
167
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/lab66.ipynb
|
168
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/leb_3.ipynb
|
169
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/naive_bayes_classifier.pkl
|
170
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/nlp_leb_1.ipynb
|
171
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/nlp_leb_2.ipynb
|
172
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/nlplab-9.ipynb
|
173
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/nltk-ex-4.ipynb
|
174
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/text1.txt
|
175
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/text2.txt
|
176
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/text3.txt
|
177
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/translation-rnn.ipynb
|
178
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 3/word2vector.ipynb
|
179
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Backward Procedure Algorithm.ipynb
|
180
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Chi Square Collocation.ipynb
|
181
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Collocation (T test).ipynb
|
182
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Experiment 1.ipynb
|
183
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Forward Procedure Algorithm.ipynb
|
184
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Hindle Rooth.ipynb
|
185
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/MachineTranslation.ipynb
|
186
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Multi Layer Perceptron using MLPClassifier.ipynb
|
187
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Multi Layer Perceptron using Tensorflow.ipynb
|
188
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/PCFG Inside Probability.ipynb
|
189
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Text Generation using LSTM.ipynb
|
190
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Viterbi.ipynb
|
191
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 4/Word Sense Disambiguation.ipynb
|
192
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/10.Text Generation using LSTM.ipynb
|
193
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/11.Machine Translation.ipynb
|
194
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/2.T and Chi2 Test.ipynb
|
195
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/3.Word Sense Diambiguation.ipynb
|
196
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/4.Hinddle and Rooth.ipynb
|
197
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/5.Forward and Backward.ipynb
|
198
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/6.Viterbi.ipynb
|
199
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/7.PCFG Parse Tree.ipynb
|
200
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/7.PCFG using cyk.ipynb
|
201
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/8.Bag of words and TF-IDF.ipynb
|
202
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/9.Word2Vector.ipynb
|
203
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/NLP ALL In One.ipynb
|
204
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/sample1.txt
|
205
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/sample2.txt
|
206
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 5/word2vec_model.bin
|
207
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/1. Tokenize, Tagging, NER, Parse Tree.ipynb
|
208
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/2. T Test and Chi2 Test.ipynb
|
209
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/3. Naive Bayes WSD.ipynb
|
210
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/4. Hinddle and Rooth.ipynb
|
211
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/5 and 6 FWD, BWD, Viterbi.ipynb
|
212
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/7. PCFG using CYK.ipynb
|
213
|
+
src/noshot/data/AIDS CN NLP/NLP/NLP 6/8. BOW and TF-IDF.ipynb
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
noshot
|
noshot-0.1.0/setup.cfg
ADDED
noshot-0.1.0/setup.py
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
from setuptools import setup, find_packages, find_namespace_packages
|
2
|
+
|
3
|
+
with open("README.md", "r", encoding="utf-8") as f:
|
4
|
+
long_description = f.read()
|
5
|
+
|
6
|
+
setup(
|
7
|
+
name="noshot",
|
8
|
+
version="0.1.0",
|
9
|
+
author="Tim Stan S",
|
10
|
+
description="Support library for Artificial Intelligence, Machine Learning and Data Science tools",
|
11
|
+
long_description=long_description,
|
12
|
+
long_description_content_type="text/markdown",
|
13
|
+
license="MIT",
|
14
|
+
license_files=("LICENSE.txt",),
|
15
|
+
package_dir={"noshot": "src/noshot"},
|
16
|
+
package_data = {'noshot':['data/**']},
|
17
|
+
include_package_data=True,
|
18
|
+
packages=find_namespace_packages(where='src'),
|
19
|
+
install_requires=[],
|
20
|
+
classifiers=[
|
21
|
+
"Programming Language :: Python :: 3",
|
22
|
+
"Programming Language :: Python :: 3.7",
|
23
|
+
"Programming Language :: Python :: 3.8",
|
24
|
+
"Programming Language :: Python :: 3.9",
|
25
|
+
"Programming Language :: Python :: 3.10",
|
26
|
+
"Programming Language :: Python :: 3.11",
|
27
|
+
"License :: OSI Approved :: MIT License",
|
28
|
+
"Operating System :: OS Independent",
|
29
|
+
],
|
30
|
+
python_requires=">=3.7",
|
31
|
+
zip_safe=False,
|
32
|
+
)
|
@@ -0,0 +1 @@
|
|
1
|
+
from .main import get
|
@@ -0,0 +1,112 @@
|
|
1
|
+
{
|
2
|
+
"cells": [
|
3
|
+
{
|
4
|
+
"cell_type": "code",
|
5
|
+
"execution_count": null,
|
6
|
+
"id": "d2b42a21-ddab-46e8-9926-fb21c7209107",
|
7
|
+
"metadata": {},
|
8
|
+
"outputs": [],
|
9
|
+
"source": [
|
10
|
+
"import networkx as nx\n",
|
11
|
+
"import matplotlib.pyplot as plt\n",
|
12
|
+
"\n",
|
13
|
+
"def display(graph, directed = False):\n",
|
14
|
+
" g = nx.DiGraph(graph) if directed else nx.Graph(graph)\n",
|
15
|
+
" nx.draw(g, with_labels = True)\n",
|
16
|
+
" plt.suptitle(\"Breadth First Search\")\n",
|
17
|
+
" plt.show()\n",
|
18
|
+
" plt.clf()\n",
|
19
|
+
"def print_path(node, parent):\n",
|
20
|
+
" if node != None:\n",
|
21
|
+
" return print_path(parent[node], parent) + [node]\n",
|
22
|
+
" return []\n",
|
23
|
+
"def BFS(graph, start, goal):\n",
|
24
|
+
" queue = [start]\n",
|
25
|
+
" visited = []\n",
|
26
|
+
" parent = {start : None}\n",
|
27
|
+
" while queue:\n",
|
28
|
+
" node = queue.pop(0)#First element\n",
|
29
|
+
" visited.append(node)\n",
|
30
|
+
" if node == goal:\n",
|
31
|
+
" print(f\"Result(BFS {start} to {goal}):\",print_path(node, parent))\n",
|
32
|
+
" return True \n",
|
33
|
+
" for adj in graph[node]:\n",
|
34
|
+
" if adj not in visited and adj not in queue:\n",
|
35
|
+
" queue.append(adj)\n",
|
36
|
+
" parent[adj] = node\n",
|
37
|
+
" print(f\"Result(BFS {start} to {goal}): No Solution\")\n",
|
38
|
+
" return False\n",
|
39
|
+
"def get_graph(directed = False):\n",
|
40
|
+
" graph = {}\n",
|
41
|
+
" print(\"Enter edge (u, v)\")\n",
|
42
|
+
" print(\"[PRESS ENTER TO STOP]\")\n",
|
43
|
+
" x = input()\n",
|
44
|
+
" while x:\n",
|
45
|
+
" x = x.split(maxsplit = 1)\n",
|
46
|
+
" u, adj = x[0], {v.strip() for v in x[1].strip(' []').split(',') if v}\n",
|
47
|
+
" graph[u] = graph.get(u,set()) | adj\n",
|
48
|
+
" for v in adj:\n",
|
49
|
+
" graph[v] = graph.get(v,set()) | ({u} if not directed else set())\n",
|
50
|
+
" x = input()\n",
|
51
|
+
" return graph\n",
|
52
|
+
"def example():\n",
|
53
|
+
" graph = {\"A\" : [\"B\",\"C\",\"D\"],\n",
|
54
|
+
" \"B\" : [\"A\",\"E\"],\n",
|
55
|
+
" \"C\" : [\"A\",\"E\",\"F\"],\n",
|
56
|
+
" \"D\" : [\"A\",\"F\"],\n",
|
57
|
+
" \"E\" : [\"B\",\"G\",\"C\"],\n",
|
58
|
+
" \"F\" : [\"D\",\"C\",\"G\"],\n",
|
59
|
+
" \"G\" : [\"E\",\"F\"]}\n",
|
60
|
+
" display(graph)\n",
|
61
|
+
" print(graph)\n",
|
62
|
+
" BFS(graph, \"A\", \"F\")\n",
|
63
|
+
" \n",
|
64
|
+
"def main():\n",
|
65
|
+
" #example();return #Uncomment to run the example\n",
|
66
|
+
" graph = get_graph(directed = False)#undirected graph\n",
|
67
|
+
" source, goal = input(\"Enter source and goal: \").split()\n",
|
68
|
+
" display(graph, directed = False)\n",
|
69
|
+
" print(graph)\n",
|
70
|
+
" BFS(graph, source, goal)\n",
|
71
|
+
" \n",
|
72
|
+
" #Sample output\n",
|
73
|
+
" #Enter edge (u, v)\n",
|
74
|
+
" #[PRESS ENTER TO STOP]\n",
|
75
|
+
" #A B\n",
|
76
|
+
" #A C\n",
|
77
|
+
" #A D\n",
|
78
|
+
" #B E\n",
|
79
|
+
" #C E\n",
|
80
|
+
" #C F\n",
|
81
|
+
" #D F\n",
|
82
|
+
" #E G\n",
|
83
|
+
" #F G\n",
|
84
|
+
"\n",
|
85
|
+
" #Enter source and goal: A F\n",
|
86
|
+
" #Result(BFS A to F): ['A', 'D', 'F']\n",
|
87
|
+
"main()"
|
88
|
+
]
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"metadata": {
|
92
|
+
"kernelspec": {
|
93
|
+
"display_name": "Python 3 (ipykernel)",
|
94
|
+
"language": "python",
|
95
|
+
"name": "python3"
|
96
|
+
},
|
97
|
+
"language_info": {
|
98
|
+
"codemirror_mode": {
|
99
|
+
"name": "ipython",
|
100
|
+
"version": 3
|
101
|
+
},
|
102
|
+
"file_extension": ".py",
|
103
|
+
"mimetype": "text/x-python",
|
104
|
+
"name": "python",
|
105
|
+
"nbconvert_exporter": "python",
|
106
|
+
"pygments_lexer": "ipython3",
|
107
|
+
"version": "3.12.4"
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"nbformat": 4,
|
111
|
+
"nbformat_minor": 5
|
112
|
+
}
|