noshot 0.1.7__py3-none-any.whl → 0.1.9__py3-none-any.whl

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.
Files changed (239) hide show
  1. noshot/data/ML TS XAI/ML/1. PCA - EDA/PCA-EDA.ipynb +207 -0
  2. noshot/data/ML TS XAI/ML/1. PCA - EDA/balance-scale.csv +626 -0
  3. noshot/data/ML TS XAI/ML/1. PCA - EDA/input.txt +625 -0
  4. noshot/data/ML TS XAI/ML/2. KNN Classifier/KNN.ipynb +287 -0
  5. noshot/data/ML TS XAI/ML/2. KNN Classifier/balance-scale.csv +626 -0
  6. noshot/data/ML TS XAI/ML/2. KNN Classifier/input.txt +625 -0
  7. noshot/data/ML TS XAI/ML/3. Linear Discriminant Analysis/LDA.ipynb +83 -0
  8. noshot/data/ML TS XAI/ML/3. Linear Discriminant Analysis/balance-scale.csv +626 -0
  9. noshot/data/ML TS XAI/ML/3. Linear Discriminant Analysis/input.txt +625 -0
  10. noshot/data/ML TS XAI/ML/4. Linear Regression/Linear-Regression.ipynb +117 -0
  11. noshot/data/ML TS XAI/ML/4. Linear Regression/machine-data.csv +210 -0
  12. noshot/data/ML TS XAI/ML/5. Logistic Regression/Logistic-Regression.ipynb +137 -0
  13. noshot/data/ML TS XAI/ML/5. Logistic Regression/wine-dataset.csv +179 -0
  14. noshot/data/ML TS XAI/ML/6. Bayesian Classifier/Bayesian.ipynb +129 -0
  15. noshot/data/ML TS XAI/ML/6. Bayesian Classifier/wine-dataset.csv +179 -0
  16. noshot/data/ML TS XAI/TS/1. EDA - Handling Time Series Data/Handling TS Data.ipynb +784 -0
  17. noshot/data/ML TS XAI/TS/1. EDA - Handling Time Series Data/raw_sales.csv +29581 -0
  18. noshot/data/ML TS XAI/TS/2. Feature Engineering/Feature Engineering-.ipynb +1445 -0
  19. noshot/data/ML TS XAI/TS/3. Temporal Relationships/Exploring Temporal Relationships.ipynb +603 -0
  20. noshot/data/ML TS XAI/TS/4. Up-Down-Sampling and Interploation/Up-Down-Sampling.ipynb +721 -0
  21. noshot/data/ML TS XAI/TS/4. Up-Down-Sampling and Interploation/shampoo_sales.csv +37 -0
  22. noshot/data/ML TS XAI/TS/5. Stationarity - Trend - Seasonality/Stationarity-Trend-Seasonality.ipynb +392 -0
  23. noshot/data/ML TS XAI/TS/5. Stationarity - Trend - Seasonality/daily-min-temperatures.csv +3651 -0
  24. noshot/data/ML TS XAI/TS/5. Stationarity - Trend - Seasonality/daily-total-female-births.csv +366 -0
  25. noshot/data/ML TS XAI/TS/6. Autocorrelation - Partial Autocorrelation/ACF-PACF.ipynb +175 -0
  26. noshot/data/ML TS XAI/TS/6. Autocorrelation - Partial Autocorrelation/daily-min-temperatures.csv +3651 -0
  27. {noshot-0.1.7.dist-info → noshot-0.1.9.dist-info}/METADATA +2 -2
  28. noshot-0.1.9.dist-info/RECORD +35 -0
  29. noshot/data/ML TS XAI/AIDS/1. Implement Basic Search Strategies/(A) Breadth First Search.ipynb +0 -112
  30. noshot/data/ML TS XAI/AIDS/1. Implement Basic Search Strategies/(B) Depth First Search.ipynb +0 -111
  31. noshot/data/ML TS XAI/AIDS/1. Implement Basic Search Strategies/(C) Uniform Cost Search.ipynb +0 -134
  32. noshot/data/ML TS XAI/AIDS/1. Implement Basic Search Strategies/(D) Depth Limites Search.ipynb +0 -115
  33. noshot/data/ML TS XAI/AIDS/1. Implement Basic Search Strategies/(E) Iterative Deepening DFS.ipynb +0 -123
  34. noshot/data/ML TS XAI/AIDS/10. ANOVA/2_ANOVA.csv +0 -769
  35. noshot/data/ML TS XAI/AIDS/10. ANOVA/One Way ANOVA (Repeated Measure).ipynb +0 -126
  36. noshot/data/ML TS XAI/AIDS/10. ANOVA/One Way ANOVA.ipynb +0 -134
  37. noshot/data/ML TS XAI/AIDS/10. ANOVA/Sample 1 Way ANOVA Test.ipynb +0 -119
  38. noshot/data/ML TS XAI/AIDS/10. ANOVA/Two Way ANOVA.ipynb +0 -138
  39. noshot/data/ML TS XAI/AIDS/10. ANOVA/reaction_time.csv +0 -5
  40. noshot/data/ML TS XAI/AIDS/10. ANOVA/sample_data.csv +0 -16
  41. noshot/data/ML TS XAI/AIDS/10. ANOVA/sleep_deprivation.csv +0 -4
  42. noshot/data/ML TS XAI/AIDS/11. Linear Regression/3_Linear.csv +0 -4802
  43. noshot/data/ML TS XAI/AIDS/11. Linear Regression/Linear Regression LAB.ipynb +0 -113
  44. noshot/data/ML TS XAI/AIDS/11. Linear Regression/Linear Regression New- sklearn.ipynb +0 -118
  45. noshot/data/ML TS XAI/AIDS/11. Linear Regression/Linear Regression.ipynb +0 -148
  46. noshot/data/ML TS XAI/AIDS/11. Linear Regression/house_rate.csv +0 -22
  47. noshot/data/ML TS XAI/AIDS/12. Logistic Regression/Logistic Regression New- sklearn.ipynb +0 -128
  48. noshot/data/ML TS XAI/AIDS/12. Logistic Regression/Logistic Regression.ipynb +0 -145
  49. noshot/data/ML TS XAI/AIDS/12. Logistic Regression/default.csv +0 -1001
  50. noshot/data/ML TS XAI/AIDS/12. Logistic Regression/hours_scores_records.csv +0 -101
  51. noshot/data/ML TS XAI/AIDS/2. Implement A Star And MA Star/(A) Astar.ipynb +0 -256
  52. noshot/data/ML TS XAI/AIDS/2. Implement A Star And MA Star/(B) IDAstar.ipynb +0 -157
  53. noshot/data/ML TS XAI/AIDS/2. Implement A Star And MA Star/(C) SMAstar.ipynb +0 -178
  54. noshot/data/ML TS XAI/AIDS/3. Genetic Algorithm/Genetic.ipynb +0 -95
  55. noshot/data/ML TS XAI/AIDS/4. Simulated Annealing/Simulated Annealing.ipynb +0 -74
  56. noshot/data/ML TS XAI/AIDS/4. Simulated Annealing/Sudoku Simulated Annealing.ipynb +0 -103
  57. noshot/data/ML TS XAI/AIDS/5. Alpha Beta Pruning/AlphaBetaPruning.ipynb +0 -182
  58. noshot/data/ML TS XAI/AIDS/6. Consraint Satisfaction Problems (CSP)/(A) CSP House Allocation.ipynb +0 -120
  59. noshot/data/ML TS XAI/AIDS/6. Consraint Satisfaction Problems (CSP)/(B) CSP Map Coloring.ipynb +0 -125
  60. noshot/data/ML TS XAI/AIDS/7. Random Sampling/Random Sampling.ipynb +0 -73
  61. noshot/data/ML TS XAI/AIDS/7. Random Sampling/height_weight_bmi.csv +0 -8389
  62. noshot/data/ML TS XAI/AIDS/8. Z Test/Z Test Hash Function.ipynb +0 -141
  63. noshot/data/ML TS XAI/AIDS/8. Z Test/Z Test.ipynb +0 -151
  64. noshot/data/ML TS XAI/AIDS/8. Z Test/height_weight_bmi.csv +0 -8389
  65. noshot/data/ML TS XAI/AIDS/9. T Test/1_heart.csv +0 -304
  66. noshot/data/ML TS XAI/AIDS/9. T Test/Independent T Test.ipynb +0 -119
  67. noshot/data/ML TS XAI/AIDS/9. T Test/Paired T Test.ipynb +0 -118
  68. noshot/data/ML TS XAI/AIDS/9. T Test/T Test Hash Function.ipynb +0 -142
  69. noshot/data/ML TS XAI/AIDS/9. T Test/T Test.ipynb +0 -158
  70. noshot/data/ML TS XAI/AIDS/9. T Test/height_weight_bmi.csv +0 -8389
  71. noshot/data/ML TS XAI/AIDS/9. T Test/iq_test.csv +0 -0
  72. noshot/data/ML TS XAI/AIDS/Others (AllinOne)/All In One.ipynb +0 -4581
  73. noshot/data/ML TS XAI/CN/1. Chat Application/chat.java +0 -81
  74. noshot/data/ML TS XAI/CN/1. Chat Application/output.png +0 -0
  75. noshot/data/ML TS XAI/CN/1. Chat Application/procedure.png +0 -0
  76. noshot/data/ML TS XAI/CN/10. Ethernet LAN IEEE 802.3/LAN.tcl +0 -65
  77. noshot/data/ML TS XAI/CN/10. Ethernet LAN IEEE 802.3/analysis.awk +0 -44
  78. noshot/data/ML TS XAI/CN/10. Ethernet LAN IEEE 802.3/output.png +0 -0
  79. noshot/data/ML TS XAI/CN/10. Ethernet LAN IEEE 802.3/procedure.png +0 -0
  80. noshot/data/ML TS XAI/CN/11. Wireless LAN IEEE 802.11/complexdcf.tcl +0 -229
  81. noshot/data/ML TS XAI/CN/11. Wireless LAN IEEE 802.11/output.png +0 -0
  82. noshot/data/ML TS XAI/CN/11. Wireless LAN IEEE 802.11/procedure.png +0 -0
  83. noshot/data/ML TS XAI/CN/2. File Transfer/file_to_send.txt +0 -2
  84. noshot/data/ML TS XAI/CN/2. File Transfer/filetransfer.java +0 -119
  85. noshot/data/ML TS XAI/CN/2. File Transfer/output.png +0 -0
  86. noshot/data/ML TS XAI/CN/2. File Transfer/procedure.png +0 -0
  87. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/Client.class +0 -0
  88. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/MyServerImpl.class +0 -0
  89. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/MyServerIntf.class +0 -0
  90. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/Server.class +0 -0
  91. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/output.png +0 -0
  92. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/procedure.png +0 -0
  93. noshot/data/ML TS XAI/CN/3. RMI (Remote Method Invocation)/rmi.java +0 -56
  94. noshot/data/ML TS XAI/CN/4. Wired Network/output.png +0 -0
  95. noshot/data/ML TS XAI/CN/4. Wired Network/procedure.png +0 -0
  96. noshot/data/ML TS XAI/CN/4. Wired Network/wired.awk +0 -25
  97. noshot/data/ML TS XAI/CN/4. Wired Network/wired.tcl +0 -81
  98. noshot/data/ML TS XAI/CN/5. Wireless Network/output.png +0 -0
  99. noshot/data/ML TS XAI/CN/5. Wireless Network/procedure.png +0 -0
  100. noshot/data/ML TS XAI/CN/5. Wireless Network/wireless.awk +0 -27
  101. noshot/data/ML TS XAI/CN/5. Wireless Network/wireless.tcl +0 -153
  102. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/analysis.awk +0 -27
  103. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/output.png +0 -0
  104. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/sack.tcl +0 -86
  105. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Sack And Vegas/vegas.tcl +0 -86
  106. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/analysis.awk +0 -28
  107. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/output.png +0 -0
  108. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/reno.tcl +0 -78
  109. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Congestion Control/Tahoe And Reno/tahoe.tcl +0 -79
  110. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Flow Control/analysis.awk +0 -27
  111. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Flow Control/flow.tcl +0 -163
  112. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/TCP Flow Control/output.png +0 -0
  113. noshot/data/ML TS XAI/CN/6. TCP Flow And Congestion Control/procedure.png +0 -0
  114. noshot/data/ML TS XAI/CN/7. Link State And Distance Vector Routing/DV.tcl +0 -111
  115. noshot/data/ML TS XAI/CN/7. Link State And Distance Vector Routing/LS.tcl +0 -106
  116. noshot/data/ML TS XAI/CN/7. Link State And Distance Vector Routing/analysis.awk +0 -36
  117. noshot/data/ML TS XAI/CN/7. Link State And Distance Vector Routing/output.png +0 -0
  118. noshot/data/ML TS XAI/CN/7. Link State And Distance Vector Routing/procedure.png +0 -0
  119. noshot/data/ML TS XAI/CN/8. Multicast And Broadcast Routing/analysis.awk +0 -20
  120. noshot/data/ML TS XAI/CN/8. Multicast And Broadcast Routing/broadcast.tcl +0 -76
  121. noshot/data/ML TS XAI/CN/8. Multicast And Broadcast Routing/multicast.tcl +0 -103
  122. noshot/data/ML TS XAI/CN/8. Multicast And Broadcast Routing/output.png +0 -0
  123. noshot/data/ML TS XAI/CN/8. Multicast And Broadcast Routing/procedure.png +0 -0
  124. noshot/data/ML TS XAI/CN/9. DHCP/DHCP.java +0 -125
  125. noshot/data/ML TS XAI/CN/9. DHCP/output.png +0 -0
  126. noshot/data/ML TS XAI/CN/9. DHCP/procedure.png +0 -0
  127. noshot/data/ML TS XAI/NLP/NLP 1/1-Prereqs.py +0 -18
  128. noshot/data/ML TS XAI/NLP/NLP 1/2-Chi2test.py +0 -83
  129. noshot/data/ML TS XAI/NLP/NLP 1/2-T-test.py +0 -79
  130. noshot/data/ML TS XAI/NLP/NLP 1/3-WSD-nb.py +0 -53
  131. noshot/data/ML TS XAI/NLP/NLP 1/4-Hindle-Rooth.py +0 -53
  132. noshot/data/ML TS XAI/NLP/NLP 1/5-HMM-Trellis.py +0 -82
  133. noshot/data/ML TS XAI/NLP/NLP 1/6-HMM-Viterbi.py +0 -16
  134. noshot/data/ML TS XAI/NLP/NLP 1/7-PCFG-parsetree.py +0 -15
  135. noshot/data/ML TS XAI/NLP/NLP 1/Chi2test.ipynb +0 -285
  136. noshot/data/ML TS XAI/NLP/NLP 1/Hindle-Rooth.ipynb +0 -179
  137. noshot/data/ML TS XAI/NLP/NLP 1/Lab 10 - Text generator using LSTM.ipynb +0 -1461
  138. noshot/data/ML TS XAI/NLP/NLP 1/Lab 11 NMT.ipynb +0 -2307
  139. noshot/data/ML TS XAI/NLP/NLP 1/PCFG.ipynb +0 -134
  140. noshot/data/ML TS XAI/NLP/NLP 1/Prereqs.ipynb +0 -131
  141. noshot/data/ML TS XAI/NLP/NLP 1/T test.ipynb +0 -252
  142. noshot/data/ML TS XAI/NLP/NLP 1/TFIDF BOW.ipynb +0 -171
  143. noshot/data/ML TS XAI/NLP/NLP 1/Trellis.ipynb +0 -244
  144. noshot/data/ML TS XAI/NLP/NLP 1/WSD.ipynb +0 -645
  145. noshot/data/ML TS XAI/NLP/NLP 1/Word2Vec.ipynb +0 -93
  146. noshot/data/ML TS XAI/NLP/NLP 2/Lab01(tokenizer)/tokenizer.ipynb +0 -370
  147. noshot/data/ML TS XAI/NLP/NLP 2/Lab01(tokenizer)/training_tokenizer.txt +0 -6
  148. noshot/data/ML TS XAI/NLP/NLP 2/Lab02(stemming)/exp0.ipynb +0 -274
  149. noshot/data/ML TS XAI/NLP/NLP 2/Lab02(stemming)/lab2.ipynb +0 -905
  150. noshot/data/ML TS XAI/NLP/NLP 2/Lab02(stemming)/test.txt +0 -1
  151. noshot/data/ML TS XAI/NLP/NLP 2/Lab02(stemming)/tokenizing.ipynb +0 -272
  152. noshot/data/ML TS XAI/NLP/NLP 2/Lab03(parse-tree)/collocation.ipynb +0 -332
  153. noshot/data/ML TS XAI/NLP/NLP 2/Lab03(parse-tree)/lab3.ipynb +0 -549
  154. noshot/data/ML TS XAI/NLP/NLP 2/Lab03(parse-tree)/nlp.txt +0 -1
  155. noshot/data/ML TS XAI/NLP/NLP 2/Lab04(collocation)/Lab4-NLP-Exp-2.ipynb +0 -817
  156. noshot/data/ML TS XAI/NLP/NLP 2/Lab04(collocation)/collocation.ipynb +0 -332
  157. noshot/data/ML TS XAI/NLP/NLP 2/Lab05(WSD)/NLP-Lab-5-Exp3.ipynb +0 -231
  158. noshot/data/ML TS XAI/NLP/NLP 2/Lab05(WSD)/word-sense-disambiguation.ipynb +0 -507
  159. noshot/data/ML TS XAI/NLP/NLP 2/Lab06(additional-exercise)/lab6.ipynb +0 -134
  160. noshot/data/ML TS XAI/NLP/NLP 2/Lab07(HMM,Viterbi)/NLP Exp 4.ipynb +0 -255
  161. noshot/data/ML TS XAI/NLP/NLP 2/Lab07(HMM,Viterbi)/NLP_Exp_5.ipynb +0 -159
  162. noshot/data/ML TS XAI/NLP/NLP 2/Lab08(PCFG)/PCFG.ipynb +0 -282
  163. noshot/data/ML TS XAI/NLP/NLP 2/Lab09-Hindle-rooth&MLP/Lab 9 - MLP classifier.ipynb +0 -670
  164. noshot/data/ML TS XAI/NLP/NLP 2/Lab09-Hindle-rooth&MLP/MLP-alternative-code.ipynb +0 -613
  165. noshot/data/ML TS XAI/NLP/NLP 2/Lab09-Hindle-rooth&MLP/hindle-rooth-algorithm.ipynb +0 -74
  166. noshot/data/ML TS XAI/NLP/NLP 2/Lab10(LSTM)/Lab_10_Text_generator_using_LSTM.ipynb +0 -480
  167. noshot/data/ML TS XAI/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/Machine-translation.ipynb +0 -445
  168. noshot/data/ML TS XAI/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/Viterbi-PCFG.ipynb +0 -105
  169. noshot/data/ML TS XAI/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/corpora_tools.py +0 -87
  170. noshot/data/ML TS XAI/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/data_utils.py +0 -11
  171. noshot/data/ML TS XAI/NLP/NLP 2/Lab11(Viterbi-PCFG,Machine-translation)/train_translator.py +0 -83
  172. noshot/data/ML TS XAI/NLP/NLP 2/Lab12(Information-Extraction)/Information_Extraction.ipynb +0 -201
  173. noshot/data/ML TS XAI/NLP/NLP 3/Backtrack-without-Verbitri.ipynb +0 -185
  174. noshot/data/ML TS XAI/NLP/NLP 3/Backward-Procedure.ipynb +0 -597
  175. noshot/data/ML TS XAI/NLP/NLP 3/Bag_of.ipynb +0 -1422
  176. noshot/data/ML TS XAI/NLP/NLP 3/CYK-algorithm.ipynb +0 -1067
  177. noshot/data/ML TS XAI/NLP/NLP 3/Forward-Procedure.ipynb +0 -477
  178. noshot/data/ML TS XAI/NLP/NLP 3/LSTM.ipynb +0 -1290
  179. noshot/data/ML TS XAI/NLP/NLP 3/Lab 10 - Text generator using LSTM.ipynb +0 -1461
  180. noshot/data/ML TS XAI/NLP/NLP 3/Lab 11 NMT.ipynb +0 -2307
  181. noshot/data/ML TS XAI/NLP/NLP 3/NLP-LAB-4.ipynb +0 -216
  182. noshot/data/ML TS XAI/NLP/NLP 3/NLP-LAB-5.ipynb +0 -216
  183. noshot/data/ML TS XAI/NLP/NLP 3/abc.txt +0 -6
  184. noshot/data/ML TS XAI/NLP/NLP 3/ex-1-nltk.ipynb +0 -711
  185. noshot/data/ML TS XAI/NLP/NLP 3/ex-2-nlp.ipynb +0 -267
  186. noshot/data/ML TS XAI/NLP/NLP 3/exp8&9.ipynb +0 -305
  187. noshot/data/ML TS XAI/NLP/NLP 3/hind.ipynb +0 -287
  188. noshot/data/ML TS XAI/NLP/NLP 3/lab66.ipynb +0 -752
  189. noshot/data/ML TS XAI/NLP/NLP 3/leb_3.ipynb +0 -612
  190. noshot/data/ML TS XAI/NLP/NLP 3/naive_bayes_classifier.pkl +0 -0
  191. noshot/data/ML TS XAI/NLP/NLP 3/nlp_leb_1.ipynb +0 -3008
  192. noshot/data/ML TS XAI/NLP/NLP 3/nlp_leb_2.ipynb +0 -3095
  193. noshot/data/ML TS XAI/NLP/NLP 3/nlplab-9.ipynb +0 -295
  194. noshot/data/ML TS XAI/NLP/NLP 3/nltk-ex-4.ipynb +0 -506
  195. noshot/data/ML TS XAI/NLP/NLP 3/text1.txt +0 -48
  196. noshot/data/ML TS XAI/NLP/NLP 3/text2.txt +0 -8
  197. noshot/data/ML TS XAI/NLP/NLP 3/text3.txt +0 -48
  198. noshot/data/ML TS XAI/NLP/NLP 3/translation-rnn.ipynb +0 -812
  199. noshot/data/ML TS XAI/NLP/NLP 3/word2vector.ipynb +0 -173
  200. noshot/data/ML TS XAI/NLP/NLP 4/Backward Procedure Algorithm.ipynb +0 -179
  201. noshot/data/ML TS XAI/NLP/NLP 4/Chi Square Collocation.ipynb +0 -208
  202. noshot/data/ML TS XAI/NLP/NLP 4/Collocation (T test).ipynb +0 -188
  203. noshot/data/ML TS XAI/NLP/NLP 4/Experiment 1.ipynb +0 -437
  204. noshot/data/ML TS XAI/NLP/NLP 4/Forward Procedure Algorithm.ipynb +0 -132
  205. noshot/data/ML TS XAI/NLP/NLP 4/Hindle Rooth.ipynb +0 -414
  206. noshot/data/ML TS XAI/NLP/NLP 4/MachineTranslation.ipynb +0 -368
  207. noshot/data/ML TS XAI/NLP/NLP 4/Multi Layer Perceptron using MLPClassifier.ipynb +0 -86
  208. noshot/data/ML TS XAI/NLP/NLP 4/Multi Layer Perceptron using Tensorflow.ipynb +0 -112
  209. noshot/data/ML TS XAI/NLP/NLP 4/PCFG Inside Probability.ipynb +0 -451
  210. noshot/data/ML TS XAI/NLP/NLP 4/Text Generation using LSTM.ipynb +0 -297
  211. noshot/data/ML TS XAI/NLP/NLP 4/Viterbi.ipynb +0 -310
  212. noshot/data/ML TS XAI/NLP/NLP 4/Word Sense Disambiguation.ipynb +0 -335
  213. noshot/data/ML TS XAI/NLP/NLP 5/10.Text Generation using LSTM.ipynb +0 -316
  214. noshot/data/ML TS XAI/NLP/NLP 5/11.Machine Translation.ipynb +0 -868
  215. noshot/data/ML TS XAI/NLP/NLP 5/2.T and Chi2 Test.ipynb +0 -204
  216. noshot/data/ML TS XAI/NLP/NLP 5/3.Word Sense Diambiguation.ipynb +0 -234
  217. noshot/data/ML TS XAI/NLP/NLP 5/4.Hinddle and Rooth.ipynb +0 -128
  218. noshot/data/ML TS XAI/NLP/NLP 5/5.Forward and Backward.ipynb +0 -149
  219. noshot/data/ML TS XAI/NLP/NLP 5/6.Viterbi.ipynb +0 -111
  220. noshot/data/ML TS XAI/NLP/NLP 5/7.PCFG Parse Tree.ipynb +0 -134
  221. noshot/data/ML TS XAI/NLP/NLP 5/7.PCFG using cyk.ipynb +0 -101
  222. noshot/data/ML TS XAI/NLP/NLP 5/8.Bag of words and TF-IDF.ipynb +0 -310
  223. noshot/data/ML TS XAI/NLP/NLP 5/9.Word2Vector.ipynb +0 -78
  224. noshot/data/ML TS XAI/NLP/NLP 5/NLP ALL In One.ipynb +0 -2619
  225. noshot/data/ML TS XAI/NLP/NLP 5/sample1.txt +0 -15
  226. noshot/data/ML TS XAI/NLP/NLP 5/sample2.txt +0 -4
  227. noshot/data/ML TS XAI/NLP/NLP 5/word2vec_model.bin +0 -0
  228. noshot/data/ML TS XAI/NLP/NLP 6/1. Tokenize, Tagging, NER, Parse Tree.ipynb +0 -312
  229. noshot/data/ML TS XAI/NLP/NLP 6/2. T Test and Chi2 Test.ipynb +0 -185
  230. noshot/data/ML TS XAI/NLP/NLP 6/3. Naive Bayes WSD.ipynb +0 -199
  231. noshot/data/ML TS XAI/NLP/NLP 6/4. Hinddle and Rooth.ipynb +0 -151
  232. noshot/data/ML TS XAI/NLP/NLP 6/5 and 6 FWD, BWD, Viterbi.ipynb +0 -164
  233. noshot/data/ML TS XAI/NLP/NLP 6/7. PCFG using CYK.ipynb +0 -383
  234. noshot/data/ML TS XAI/NLP/NLP 6/8. BOW and TF-IDF.ipynb +0 -252
  235. noshot/data/ML TS XAI/Ubuntu CN Lab.iso +0 -0
  236. noshot-0.1.7.dist-info/RECORD +0 -216
  237. {noshot-0.1.7.dist-info → noshot-0.1.9.dist-info}/LICENSE.txt +0 -0
  238. {noshot-0.1.7.dist-info → noshot-0.1.9.dist-info}/WHEEL +0 -0
  239. {noshot-0.1.7.dist-info → noshot-0.1.9.dist-info}/top_level.txt +0 -0
@@ -1,81 +0,0 @@
1
- #How to run
2
- #==========
3
- #save this file as wired.tcl in desktop folder
4
- #also save wired.awk file in the same location
5
- #open desktop right-click and choose 'Open in Terminal'
6
- #run this command
7
- #ns wired.tcl
8
-
9
- #both nam and awk file will be executed automatically
10
-
11
- #create a simulator object
12
- set ns [new Simulator]
13
-
14
- #create a trace file, this file is for logging purpose
15
- set tracefile [open wired.tr w]
16
- $ns trace-all $tracefile
17
-
18
- #create a animation infomration or NAM file creation
19
- set namfile [open wired.nam w]
20
- $ns namtrace-all $namfile
21
-
22
- #create nodes
23
- set n0 [$ns node]
24
- set n1 [$ns node]
25
- set n2 [$ns node]
26
- set n3 [$ns node]
27
- set n4 [$ns node]
28
- set n5 [$ns node]
29
-
30
- #creation of link between nodes with DropTail Queue
31
- #Droptail means Dropping the tail.
32
- $ns duplex-link $n0 $n1 5Mb 2ms DropTail
33
- $ns duplex-link $n2 $n1 10Mb 5ms DropTail
34
- $ns duplex-link $n1 $n4 3Mb 10ms DropTail
35
- $ns duplex-link $n4 $n3 100Mb 2ms DropTail
36
- $ns duplex-link $n4 $n5 4Mb 10ms DropTail
37
-
38
- #creation of Agents
39
- #node 0 to Node 3
40
- set udp [new Agent/UDP]
41
- set null [new Agent/Null]
42
- $ns attach-agent $n0 $udp
43
- $ns attach-agent $n3 $null
44
- $ns connect $udp $null
45
-
46
- #creation of TCP Agent
47
- set tcp [new Agent/TCP]
48
- set sink [new Agent/TCPSink]
49
- $ns attach-agent $n2 $tcp
50
- $ns attach-agent $n5 $sink
51
- $ns connect $tcp $sink
52
-
53
- #creation of Application CBR, FTP
54
- #CBR - Constant Bit Rate (Example nmp3 files that have a CBR or 192kbps, 320kbps, etc.)
55
- #FTP - File Transfer Protocol (Ex: To download a file from a network)
56
- set cbr [new Application/Traffic/CBR]
57
- $cbr attach-agent $udp
58
-
59
- set ftp [new Application/FTP]
60
- $ftp attach-agent $tcp
61
-
62
- #Start the traffic
63
- $ns at 1.0 "$cbr start"
64
- $ns at 2.0 "$ftp start"
65
-
66
- $ns at 10.0 "finish"
67
-
68
- #the following procedure will be called at 10.0 seconds
69
- proc finish {} {
70
- global ns tracefile namfile
71
- $ns flush-trace
72
- close $tracefile
73
- close $namfile
74
- puts "Executing nam file"
75
- exec nam wired.nam &
76
- exec awk -f wired.awk wired.tr &
77
- exit 0
78
- }
79
-
80
- puts "Simulation is starting..."
81
- $ns run
@@ -1,27 +0,0 @@
1
- BEGIN {
2
- rec=sen=drp=0
3
- res=start=end=0.0
4
- }
5
-
6
- {
7
- if($1 == "s")sen++
8
- if($1 == "r"){
9
- if(rec==0)start = $2
10
- rec++
11
- res += $8
12
- end = $2
13
- }
14
- if($1 == "D")drp++
15
- }
16
-
17
- END {
18
- print("")
19
- print("Wireless-Network")
20
- print("Number Of Packets Sent : ", sen)
21
- print("Number Of Packets Recieved : ", rec)
22
- print("Number Of Packets Dropped : ", drp)
23
- print("Start Of Simulation (in sec) : ", start)
24
- print("End Of Simulation (in sec) : ", end)
25
- print("Total Throughput : ",((res*8) / ((end-start)*1000000))," Mbps")
26
- print("Packet Delivery Ratio: ",rec*100/sen,"%")
27
- }
@@ -1,153 +0,0 @@
1
- #How to run
2
- #==========
3
- #save this file as wireless.tcl in desktop folder
4
- #also save wireless.awk file in the same location
5
- #open desktop right-click and choose 'Open in Terminal'
6
- #run this command
7
- #ns wireless.tcl
8
-
9
- #both nam and awk file will be executed automatically
10
-
11
-
12
- #Example of Wireless networks
13
- #Step 1 initialize variables
14
- #Step 2 - Create a Simulator object
15
- #step 3 - Create Tracing and animation file
16
- #step 4 - topography
17
- #step 5 - GOD - General Operations Director
18
- #step 6 - Create nodes
19
- #Step 7 - Create Channel (Communication PATH)
20
- #step 8 - Position of the nodes (Wireless nodes needs a location)
21
- #step 9 - Any mobility codes (if the nodes are moving)
22
- #step 10 - TCP, UDP Traffic
23
- #run the simulation
24
-
25
- #initialize the variables
26
- set val(chan) Channel/WirelessChannel ;#Channel Type
27
- set val(prop) Propagation/TwoRayGround ;# radio-propagation model
28
- set val(netif) Phy/WirelessPhy ;# network interface type WAVELAN DSSS 2.4GHz
29
- set val(mac) Mac/802_11 ;# MAC type
30
- set val(ifq) Queue/DropTail/PriQueue ;# interface queue type
31
- set val(ll) LL ;# link layer type
32
- set val(ant) Antenna/OmniAntenna ;# antenna model
33
- set val(ifqlen) 50 ;# max packet in ifq
34
- set val(nn) 6 ;# number of mobilenodes
35
- set val(rp) AODV ;# routing protocol
36
- set val(x) 500 ;# in metres
37
- set val(y) 500 ;# in metres
38
- #Adhoc OnDemand Distance Vector
39
-
40
- #creation of Simulator
41
- set ns [new Simulator]
42
-
43
- #creation of Trace and namfile
44
- set tracefile [open wireless.tr w]
45
- $ns trace-all $tracefile
46
-
47
- #Creation of Network Animation file
48
- set namfile [open wireless.nam w]
49
- $ns namtrace-all-wireless $namfile $val(x) $val(y)
50
-
51
- #create topography
52
- set topo [new Topography]
53
- $topo load_flatgrid $val(x) $val(y)
54
-
55
- #GOD Creation - General Operations Director
56
- create-god $val(nn)
57
-
58
- set channel1 [new $val(chan)]
59
- set channel2 [new $val(chan)]
60
- set channel3 [new $val(chan)]
61
-
62
- #configure the node
63
- $ns node-config -adhocRouting $val(rp) -llType $val(ll) -macType $val(mac) -ifqType $val(ifq) -ifqLen $val(ifqlen) -antType $val(ant) -propType $val(prop) -phyType $val(netif) -topoInstance $topo -agentTrace ON -macTrace ON -routerTrace ON -movementTrace ON -channel $channel1
64
-
65
- set n0 [$ns node]
66
- set n1 [$ns node]
67
- set n2 [$ns node]
68
- set n3 [$ns node]
69
- set n4 [$ns node]
70
- set n5 [$ns node]
71
-
72
- $n0 random-motion 0
73
- $n1 random-motion 0
74
- $n2 random-motion 0
75
- $n3 random-motion 0
76
- $n4 random-motion 0
77
- $n5 random-motion 0
78
-
79
- $ns initial_node_pos $n0 20
80
- $ns initial_node_pos $n1 20
81
- $ns initial_node_pos $n2 20
82
- $ns initial_node_pos $n3 20
83
- $ns initial_node_pos $n4 20
84
- $ns initial_node_pos $n5 50
85
-
86
- #initial coordinates of the nodes
87
- $n0 set X_ 10.0
88
- $n0 set Y_ 20.0
89
- $n0 set Z_ 0.0
90
-
91
- $n1 set X_ 210.0
92
- $n1 set Y_ 230.0
93
- $n1 set Z_ 0.0
94
-
95
- $n2 set X_ 100.0
96
- $n2 set Y_ 200.0
97
- $n2 set Z_ 0.0
98
-
99
- $n3 set X_ 150.0
100
- $n3 set Y_ 230.0
101
- $n3 set Z_ 0.0
102
-
103
- $n4 set X_ 430.0
104
- $n4 set Y_ 320.0
105
- $n4 set Z_ 0.0
106
-
107
- $n5 set X_ 270.0
108
- $n5 set Y_ 120.0
109
- $n5 set Z_ 0.0
110
- #Dont mention any values above than 500 because in this example, we use X and Y as 500,500
111
-
112
- #mobility of the nodes
113
- #At what Time? Which node? Where to? at What Speed?
114
- $ns at 1.0 "$n1 setdest 490.0 340.0 25.0"
115
- $ns at 1.0 "$n4 setdest 300.0 130.0 5.0"
116
- $ns at 1.0 "$n5 setdest 190.0 440.0 15.0"
117
- #the nodes can move any number of times at any location during the simulation (runtime)
118
- $ns at 20.0 "$n5 setdest 100.0 200.0 30.0"
119
-
120
- #creation of agents
121
- set tcp [new Agent/TCP]
122
- set sink [new Agent/TCPSink]
123
- $ns attach-agent $n0 $tcp
124
- $ns attach-agent $n5 $sink
125
- $ns connect $tcp $sink
126
- set ftp [new Application/FTP]
127
- $ftp attach-agent $tcp
128
- $ns at 1.0 "$ftp start"
129
-
130
- set udp [new Agent/UDP]
131
- set null [new Agent/Null]
132
- $ns attach-agent $n2 $udp
133
- $ns attach-agent $n3 $null
134
- $ns connect $udp $null
135
- set cbr [new Application/Traffic/CBR]
136
- $cbr attach-agent $udp
137
- $ns at 1.0 "$cbr start"
138
-
139
- $ns at 30.0 "finish"
140
-
141
- proc finish {} {
142
- global ns tracefile namfile
143
- $ns flush-trace
144
- close $tracefile
145
- close $namfile
146
- puts "Executing nam file"
147
- exec nam wireless.nam &
148
- exec awk -f wireless.awk wireless.tr &
149
- exit 0
150
- }
151
-
152
- puts "Starting Simulation"
153
- $ns run
@@ -1,27 +0,0 @@
1
- BEGIN{
2
- st1=ft1=0
3
- throughput1=0
4
- delay1=flag1=data1=0
5
- }
6
-
7
- {
8
- if($1=="r"&&$4==5){
9
- data1+=$6
10
- if(flag1==0){
11
- st1=$2
12
- flag1=1}
13
- if(flag1==1){
14
- ft1=$2}}
15
- }
16
-
17
- END{
18
- delay1=ft1-st1
19
- throughput1=data1/delay1
20
- print("")
21
- print("**********HTTP***********")
22
- print("Start time =",st1)
23
- print("End time =",ft1)
24
- print("Data:",data1)
25
- print("Throughput:",throughput1)
26
- print("Delay:",delay1)
27
- }
@@ -1,86 +0,0 @@
1
- #How to run
2
- #==========
3
- #save this file as sack.tcl in desktop folder
4
- #open desktop right-click and choose 'Open in Terminal'
5
- #run this command
6
- #ns sack.tcl
7
-
8
- #nam file, xgraph and awk file will be executed automatically
9
-
10
- #creating a simulator object
11
- set ns [ new Simulator ]
12
- $ns color 3 Green
13
- #creating trace file
14
- set tf [open sack.tr w]
15
- $ns trace-all $tf
16
-
17
- #creating nam file
18
- set nf [open sack.nam w]
19
- $ns namtrace-all $nf
20
-
21
- set ft3 [open sack_Sender_throughput w]
22
-
23
- #finish procedure to call nam and xgraph
24
- proc finish {} {
25
- global ns nf ft3
26
- $ns flush-trace
27
- close $nf
28
- close $ft3
29
- exec xgraph sack_Sender_throughput &
30
- puts "running nam..."
31
- exec nam sack.nam &
32
- exec awk -f analysis.awk sack.tr &
33
- exit 0
34
- }
35
- #record procedure to calculate total bandwidth and throughput
36
- proc record {} {
37
- global null3 ft3
38
- global http1
39
- set ns [Simulator instance]
40
- set time 0.1
41
- set now [$ns now]
42
- set bw2 [$null3 set bytes_]
43
- puts $ft3 "$now [expr $bw2/$time*8/1000000]"
44
- $null3 set bytes_ 0
45
- $ns at [expr $now+$time] "record"
46
- }
47
- #creating 10 nodes
48
- for {set i 0} {$i < 6} {incr i} {
49
- set n($i) [$ns node]
50
- }
51
- #creating duplex links
52
- $ns duplex-link $n(0) $n(1) 10Kb 10ms DropTail
53
- $ns duplex-link $n(0) $n(3) 100Kb 10ms RED
54
- $ns duplex-link $n(1) $n(2) 50Kb 10ms DropTail
55
- $ns duplex-link $n(2) $n(5) 200Kb 10ms RED
56
- $ns duplex-link $n(3) $n(4) 70Kb 10ms DropTail
57
- $ns duplex-link $n(4) $n(5) 100Kb 10ms DropTail
58
-
59
- #orienting links
60
- $ns duplex-link-op $n(0) $n(1) orient right
61
- $ns duplex-link-op $n(1) $n(2) orient right-down
62
- $ns duplex-link-op $n(0) $n(3) orient left-down
63
- $ns duplex-link-op $n(3) $n(4) orient right-down
64
- $ns duplex-link-op $n(4) $n(5) orient right
65
- $ns duplex-link-op $n(2) $n(5) orient left-down
66
-
67
-
68
- set tcp3 [new Agent/TCP/Sack1]
69
- set null3 [new Agent/TCPSink]
70
- $ns attach-agent $n(0) $tcp3
71
- $ns attach-agent $n(5) $null3
72
- $ns connect $tcp3 $null3
73
- set http1 [new Application/Traffic/Exponential]
74
- $http1 attach-agent $tcp3
75
-
76
-
77
- #scheduling events
78
- $ns at 0.5 "record"
79
- $ns at 0.2 "$ns trace-annotate \"Starting HTTP from 0 to 5\""
80
- $ns at 0.2 "$n(0) color \"green\""
81
- $ns at 0.2 "$n(5) color \"green\""
82
- $ns at 0.2 "$http1 start"
83
- $ns at 3.2 "$http1 stop"
84
- $ns at 5.0 "finish"
85
- $ns run
86
-
@@ -1,86 +0,0 @@
1
- #How to run
2
- #==========
3
- #save this file as vegas.tcl in desktop folder
4
- #open desktop right-click and choose 'Open in Terminal'
5
- #run this command
6
- #ns vegas.tcl
7
-
8
- #nam file, xgraph and awk file will be executed automatically
9
-
10
- #creating a simulator object
11
- set ns [ new Simulator ]
12
- $ns color 3 Green
13
- #creating trace file
14
- set tf [open vegas.tr w]
15
- $ns trace-all $tf
16
-
17
- #creating nam file
18
- set nf [open vegas.nam w]
19
- $ns namtrace-all $nf
20
-
21
- set ft3 [open vegas_Sender_throughput w]
22
-
23
- #finish procedure to call nam and xgraph
24
- proc finish {} {
25
- global ns nf ft3
26
- $ns flush-trace
27
- close $nf
28
- close $ft3
29
- exec xgraph vegas_Sender_throughput &
30
- puts "running nam..."
31
- exec nam vegas.nam &
32
- exec awk -f analysis.awk vegas.tr &
33
- exit 0
34
- }
35
- #record procedure to calculate total bandwidth and throughput
36
- proc record {} {
37
- global null3 ft3
38
- global http1
39
- set ns [Simulator instance]
40
- set time 0.1
41
- set now [$ns now]
42
- set bw2 [$null3 set bytes_]
43
- puts $ft3 "$now [expr $bw2/$time*8/1000000]"
44
- $null3 set bytes_ 0
45
- $ns at [expr $now+$time] "record"
46
- }
47
- #creating 10 nodes
48
- for {set i 0} {$i < 6} {incr i} {
49
- set n($i) [$ns node]
50
- }
51
- #creating duplex links
52
- $ns duplex-link $n(0) $n(1) 10Kb 10ms DropTail
53
- $ns duplex-link $n(0) $n(3) 100Kb 10ms RED
54
- $ns duplex-link $n(1) $n(2) 50Kb 10ms DropTail
55
- $ns duplex-link $n(2) $n(5) 200Kb 10ms RED
56
- $ns duplex-link $n(3) $n(4) 70Kb 10ms DropTail
57
- $ns duplex-link $n(4) $n(5) 100Kb 10ms DropTail
58
-
59
- #orienting links
60
- $ns duplex-link-op $n(0) $n(1) orient right
61
- $ns duplex-link-op $n(1) $n(2) orient right-down
62
- $ns duplex-link-op $n(0) $n(3) orient left-down
63
- $ns duplex-link-op $n(3) $n(4) orient right-down
64
- $ns duplex-link-op $n(4) $n(5) orient right
65
- $ns duplex-link-op $n(2) $n(5) orient left-down
66
-
67
-
68
- set tcp3 [new Agent/TCP/Vegas]
69
- set null3 [new Agent/TCPSink]
70
- $ns attach-agent $n(0) $tcp3
71
- $ns attach-agent $n(5) $null3
72
- $ns connect $tcp3 $null3
73
- set http1 [new Application/Traffic/Exponential]
74
- $http1 attach-agent $tcp3
75
-
76
-
77
- #scheduling events
78
- $ns at 0.5 "record"
79
- $ns at 0.2 "$ns trace-annotate \"Starting HTTP from 0 to 5\""
80
- $ns at 0.2 "$n(0) color \"green\""
81
- $ns at 0.2 "$n(5) color \"green\""
82
- $ns at 0.2 "$http1 start"
83
- $ns at 3.2 "$http1 stop"
84
- $ns at 5.0 "finish"
85
- $ns run
86
-
@@ -1,28 +0,0 @@
1
- BEGIN{
2
- start = end = th = dly = 0
3
- flag = data = 0
4
- }
5
-
6
- {
7
- if($1=="r"&&$4==5){
8
- data+=$6
9
- if(flag==0){
10
- start=$2
11
- flag=1
12
- }
13
- if(flag==1)
14
- end=$2
15
- }
16
- }
17
-
18
- END{
19
- dly = end - start
20
- th = data/dly
21
- print("")
22
- print("**********HTTP***********")
23
- print("Start time:",start)
24
- print("End time:",end)
25
- print("Data =",data)
26
- print("Throughput =",th)
27
- print("Delay =",dly)
28
- }
@@ -1,78 +0,0 @@
1
- #How to run
2
- #==========
3
- #save this file as reno.tcl in desktop folder
4
- #also save analysis.awk file in the same location
5
- #open desktop right-click and choose 'Open in Terminal'
6
- #run this command
7
- #ns reno.tcl
8
-
9
- #both nam and awk file will be executed automatically
10
-
11
- set ns [ new Simulator ]
12
- $ns color 3 Green
13
- set tf [open reno.tr w]
14
- $ns trace-all $tf
15
-
16
- set nf [open reno.nam w]
17
- $ns namtrace-all $nf
18
-
19
- set ft3 [open reno_Sender_throughput w]
20
-
21
- proc finish {} {
22
- global ns nf ft3
23
- $ns flush-trace
24
- close $nf
25
- close $ft3
26
- exec xgraph reno_Sender_throughput &
27
- puts "running nam..."
28
- exec nam reno.nam &
29
- exec awk -f analysis.awk reno.tr &
30
- exit 0
31
- }
32
-
33
- proc record {} {
34
- global null3 ft3
35
- global http1
36
- set ns [Simulator instance]
37
- set time 0.1
38
- set now [$ns now]
39
- set bw2 [$null3 set bytes_]
40
- puts $ft3 "$now [expr $bw2/$time*8/1000000]"
41
- $null3 set bytes_ 0
42
- $ns at [expr $now+$time] "record"
43
- }
44
-
45
- for {set i 0} {$i < 6} {incr i} {
46
- set n($i) [$ns node]
47
- }
48
-
49
- $ns duplex-link $n(0) $n(1) 10Kb 10ms DropTail
50
- $ns duplex-link $n(0) $n(3) 100Kb 10ms RED
51
- $ns duplex-link $n(1) $n(2) 50Kb 10ms DropTail
52
- $ns duplex-link $n(2) $n(5) 200Kb 10ms RED
53
- $ns duplex-link $n(3) $n(4) 70Kb 10ms DropTail
54
- $ns duplex-link $n(4) $n(5) 100Kb 10ms DropTail
55
-
56
- $ns duplex-link-op $n(0) $n(1) orient right
57
- $ns duplex-link-op $n(1) $n(2) orient right-down
58
- $ns duplex-link-op $n(0) $n(3) orient left-down
59
- $ns duplex-link-op $n(3) $n(4) orient right-down
60
- $ns duplex-link-op $n(4) $n(5) orient right
61
- $ns duplex-link-op $n(2) $n(5) orient left-down
62
-
63
- set tcp3 [new Agent/TCP/Reno]
64
- set null3 [new Agent/TCPSink]
65
- $ns attach-agent $n(0) $tcp3
66
- $ns attach-agent $n(5) $null3
67
- $ns connect $tcp3 $null3
68
- set http1 [new Application/Traffic/Exponential]
69
- $http1 attach-agent $tcp3
70
-
71
- $ns at 0.5 "record"
72
- $ns at 0.2 "$ns trace-annotate \"Starting HTTP from 0 to 5\""
73
- $ns at 0.2 "$n(0) color \"green\""
74
- $ns at 0.2 "$n(5) color \"green\""
75
- $ns at 0.2 "$http1 start"
76
- $ns at 3.2 "$http1 stop"
77
- $ns at 5.0 "finish"
78
- $ns run
@@ -1,79 +0,0 @@
1
- #How to run
2
- #==========
3
- #save this file as tahoe.tcl in desktop folder
4
- #also save analysis.awk file in the same location
5
- #open desktop right-click and choose 'Open in Terminal'
6
- #run this command
7
- #ns tahoe.tcl
8
-
9
- #both nam and awk file will be executed automatically
10
-
11
- set ns [ new Simulator ]
12
- $ns color 3 Green
13
- set tf [open tahoe.tr w]
14
- $ns trace-all $tf
15
-
16
- set nf [open tahoe.nam w]
17
- $ns namtrace-all $nf
18
-
19
- set ft3 [open tahoe_Sender_throughput w]
20
-
21
- proc finish {} {
22
- global ns nf ft3
23
- $ns flush-trace
24
- close $nf
25
- close $ft3
26
- exec xgraph tahoe_Sender_throughput &
27
- puts "running nam..."
28
- exec nam tahoe.nam &
29
- exec awk -f analysis.awk tahoe.tr &
30
- exit 0
31
- }
32
-
33
- proc record {} {
34
- global null3 ft3
35
- global http1
36
- set ns [Simulator instance]
37
- set time 0.1
38
- set now [$ns now]
39
- set bw2 [$null3 set bytes_]
40
- puts $ft3 "$now [expr $bw2/$time*8/1000000]"
41
- $null3 set bytes_ 0
42
- $ns at [expr $now+$time] "record"
43
- }
44
-
45
- for {set i 0} {$i < 6} {incr i} {
46
- set n($i) [$ns node]
47
- }
48
-
49
- $ns duplex-link $n(0) $n(1) 10Kb 10ms DropTail
50
- $ns duplex-link $n(0) $n(3) 100Kb 10ms RED
51
- $ns duplex-link $n(1) $n(2) 50Kb 10ms DropTail
52
- $ns duplex-link $n(2) $n(5) 200Kb 10ms RED
53
- $ns duplex-link $n(3) $n(4) 70Kb 10ms DropTail
54
- $ns duplex-link $n(4) $n(5) 100Kb 10ms DropTail
55
-
56
- $ns duplex-link-op $n(0) $n(1) orient right
57
- $ns duplex-link-op $n(1) $n(2) orient right-down
58
- $ns duplex-link-op $n(0) $n(3) orient left-down
59
- $ns duplex-link-op $n(3) $n(4) orient right-down
60
- $ns duplex-link-op $n(4) $n(5) orient right
61
- $ns duplex-link-op $n(2) $n(5) orient left-down
62
-
63
-
64
- set tcp3 [new Agent/TCP]
65
- set null3 [new Agent/TCPSink]
66
- $ns attach-agent $n(0) $tcp3
67
- $ns attach-agent $n(5) $null3
68
- $ns connect $tcp3 $null3
69
- set http1 [new Application/Traffic/Exponential]
70
- $http1 attach-agent $tcp3
71
-
72
- $ns at 0.5 "record"
73
- $ns at 0.2 "$ns trace-annotate \"Starting HTTP from 0 to 5\""
74
- $ns at 0.2 "$n(0) color \"green\""
75
- $ns at 0.2 "$n(5) color \"green\""
76
- $ns at 0.2 "$http1 start"
77
- $ns at 3.2 "$http1 stop"
78
- $ns at 5.0 "finish"
79
- $ns run
@@ -1,27 +0,0 @@
1
- BEGIN{
2
- st1=ft1=0
3
- throughput1=0
4
- delay1=flag1=data1=0
5
- }
6
-
7
- {
8
- if($1=="r"&&$4==5){
9
- data1+=$6
10
- if(flag1==0){
11
- st1=$2
12
- flag1=1}
13
- if(flag1==1){
14
- ft1=$2}}
15
- }
16
-
17
- END{
18
- delay1=ft1-st1
19
- throughput1=data1/delay1
20
- print("")
21
- print("**********HTTP***********")
22
- print("Start time =",st1)
23
- print("End time =",ft1)
24
- print("Data:",data1)
25
- print("Throughput:",throughput1)
26
- print("Delay:",delay1)
27
- }