Thursday, October 31, 2019

US Role Essay Example | Topics and Well Written Essays - 500 words

US Role - Essay Example When that was rejected, other presidents tried using diplomacy to settle the conflict like presidents W. Bush’s administration in the 1990s during the gulf war. The diplomacy path has enabled the United States gain confidence of the Arab nations and this facilitated the second camp David peace agreement that was also rejected. In the wake of September 11 terrorist attacks, the Bush administration started siding more with the Israeli because the Arab countries could not be trusted anymore. It also led to declaration of war on the terrorist groups which reside in the middle east and this put to an abrupt stop the peace talks and the mediation role of the United States. Even though this took place and is still taking place, the Obama administration has once again embarked on the peace talks for the sake of the energy products in the middle east. President Obama has constantly been advocating for peace in those Arab countries that are in conflict and once again has gained the trust of the Arab countries and the results of the peace talks are yet to be seen (Simon 2009). United States government has its reasons for seeking peace in the Arab countries. The Middle East is endowed with oil that is an essential commodity in the world and also has other minerals that are interest to the American government. The mediation by the US is a faà §ade so that their reputation as the superpowers and being more in control of the world than the Soviet Union is not questioned or even threatened (Mahler and Mahler 2010). In reality, war in the Arab countries benefits the United States by them pretending to side with no one and hence gaining the support of all the fighting parties and thus continuing to gain the oil and minerals without struggle. If the conflict between the Arab and Israeli ends without the face and hands of US being seen in the peace talks and

Tuesday, October 29, 2019

Outline for arts speech - story of Hamlet Essay Example for Free

Outline for arts speech story of Hamlet Essay IB TOK R3 1. Story of Hamlet A. Hamlet son of late king Claudius, mother remarried less than 2 months after her husbands death. B. Ghost of late king visits Hamlet and tells him that the new king murdered him. C. Hamlet lashes out at everyone around him, including his love Ophelia. D. Hamlet plots to kill king E. Hamlet stages a play called The Mousetrap, in which a king is murdered by his brother, who then takes up with his wife, Claudius freaked out and Hamlet Claudius is guilty. F. Hamlet visited his mother and derides her for taking up such man. G. Polonius, Ophelias father, hid himself in Gertrudes, Hamlets mother, room behind a curtain. When he calls out for help, Hamlet kills him thinking that it is the king. See more: outline format for essay H. Because of the murder, Hamlet is sent to England and when he returns to Elsinore, he sees a funeral-taking place, he finds that Ophelia has drowned. Her brother Laertes, blaming Hamlet for the death his father and sister, challenges Hamlet to a duel. I. At the duel, Laertes poisons his blade to make sure Hamlet will die. At the same time, Claudius inserts a poison pearl into a wine cup in hope that Hamlet will drink it. J. Every important character dies: Gertrude gets to the cup first, and dies. Laertes wounds Hamlet with the poison blade, Hamlet mortally wounds Laertes. Hamlet then finds out that Claudius put poison in the cup and he goes after the king and kills him. Then Hamlet lies down and dies. K. This play is often referred to as the one in which everybody dies. 2. Differences between the two A. Mel Gibson version directed by Franco Zeffirelli 1. Starts differently 2. Only 135 min. cut out huge sections. 3. High number of extra- King actually seems to have power 4. Color -can relate 5. Play-in-play with spoken words- much more importance- used by hamlet as proof. 6. Seemed to be made to retell an old story 7. Switched around to make it more entertaining 8. Said by a critic to be written for the masses a. short b. cut out dialogue- easier for common people to understand c. fun to watch B. Olivier as hamlet directed by himself 1. Starts as the play does 2. Less extras- King seems to rule no one 3. 155 min -missing huge sections 4. Play-in-play in mime less importance done to jab at the king and queen for what they have done 5. New interpretation of an old story 6. Black and White cannot relate to lack of color as well 7. Friends of Hamlet left out a. Rosencrantz and Guildenstern not in b. Allows Hamlet to be less insane 8. Better sword play- build more suspense as to who will win 9. Cinematography changes feeling Darker a. castle is dark and so is the sky, see more of the dark sky b. Humor is cut out 3. Differences in Hamlet A. Soliloquies in Olivier to self allows him to get closer to subjects, inner turmoil, in Zeffirelli it is out loud, insanity 1. Kill Claudius when praying 2. To be or not to be B. In Zeffirelli- acts much more insane- wild eyed, over the top. C. In Olivier- much more reserved, caustic when speaking. 4. Other differences in characters A. Queen Gertrude 1. In Olivier a. actress is 29 years old Olivier is 41- looks strange b. drinks the poison knowing that she will die- to save Hamlet, a noble death 2. In Zeffirelli a. Devastating and tragic death- didnt knew that the cup was poisoned, more of an impact on viewers. B. Ophelia 1. In Zeffirelli a. Completely mad, gives out bones and sticks and calls them flowers 2. Olivier a. Semi-mad, more out of it than insane C. Dead King 1. Zeffirelli a. King looks like he is alive and is just back visiting not freighting 2. Olivier a. Never see the face of the king, comes surrounded in fog b. Scary c. See the murder acted out 5. Conclusion A. Way the director influenced my perception of the story 1. Same story, many of the same lines, same characters, but different feelings emitted from both. a. Zeffirelli humorous, have fun watching it makes the ending more tragic more of a dramatic change b. Olivier is dark always fell that something terrible is going to happen end not as devastating c. Polonius: Words, words, words B. Olivier version constitutes what I believe to be a masterpiece when following Clarks definition from unit four of our book. 1. follows all of the guidelines a. The original play by Shakespeare that it is based off of fills the first 5 requirements as well as the last. b. Oliviers version creates the feeling of complete supremacy of the artists art. Whereas Zeffirellis is entertaining but not a masterpiece. c. Oliviers version won 5 Oscars, Zeffirellis, none. Show preview only

Sunday, October 27, 2019

Lazy, Decision Tree classifier and Multilayer Perceptron

Lazy, Decision Tree classifier and Multilayer Perceptron Performance Evaluation of Lazy, Decision Tree classifier and Multilayer Perceptron on Traffic Accident Analysis Abstract. Traffic and road accident are a big issue in every country. Road accident influence on many things such as property damage, different injury level as well as a large amount of death. Data science has such capability to assist us to analyze different factors behind traffic and road accident such as weather, road, time etc. In this paper, we proposed different clustering and classification techniques to analyze data. We implemented different classification techniques such as Decision Tree, Lazy classifier, and Multilayer perceptron classifier to classify dataset based on casualty class as well as clustering techniques which are k-means and Hierarchical clustering techniques to cluster dataset. Firstly we analyzed dataset by using these classifiers and we achieved accuracy at some level and later, we applied clustering techniques and then applied classification techniques on that clustered data. Our accuracy level increased at some level by using clustering techniques on datas et compared to a dataset which was classified without clustering. Keywords: Decision tree, Lazy classifier, Multilayer perceptron, K-means, Hierarchical clustering INTRODUCTION Traffic and road accident are one of the important problem across the world. Diminishing accident ratio is most effective way to improve traffic safety. There are many type of research has been done in many countries in traffic accident analysis by using different type of data mining techniques. Many researcher proposed their work in order to reduce the accident ratio by identifying risk factors which particularly impact in the accident [1-5]. There are also different techniques used to analyze traffic accident but its stated that data mining technique is more advance technique and shown better results as compared to statistical analysis. However, both methods provide appreciable outcome which is helpful to reduce accident ratio [6-13, 28, 29]. From the experimental point of view, mostly studies tried to find out the risk factors which affect the severity levels. Among most of studies explained that drinking alcoholic beverage and driving influenced more in accident [14]. It identified that drinking alcoholic beverage and driving seriously increase the accident ratio. There are various studies which have focused on restraint devices like helmet, seat belts influence the severity level of accident and if these devices would have been used to accident ratio had decreased at certain level [15]. In addition, few studies have focused on identifying the group of drivers who are mostly involved in accident. Elderly drivers whose age are more than 60 years, they are identified mostly in road accident [16]. Many studies provided different level of risk factors which influenced more in severity level of accident. Lee C [17] stated that statistical approaches were good option to analyze the relation between in various risk factors and accident. Although, Chen and Jovanis [18] identified that there are some problem like large contingency table during analyzing big dimensional dataset by using statistical techniques. As well as statistical approach also have their own violation and assumption which can bring some error results [30-33]. Because of these limitation in statistical approach, Data techniques came into existence to analyze data of road accident. Data mining often called as knowledge or data discovery. This is set of techniques to achieve hidden information from large amount of data. It is shown that there are many implementation of data mining in transportation system like pavement analysis, roughness analysis of road and road accident analysis. Data mining techniques has been the most widely used techniques in field like agriculture, medical, transportation, business, industries, engineering and many other scientific fields [21-23]. There are many diverse data mining methodologies such as classification, association rules and clustering has been extensivally used for analyzing dataset of road accident [19-20]. Geurts K [24] analyzed dataset by using association rule mining to know the different factors that happens at very high frequency road accident areas on Belgium road. Depaire [25] analyzed dataset of road accident in Belgium by using different clustering techniques and stated that clustered based data can extract better information as compared without clustered data. Kwon analyzed dataset by using Decision Tree and NB classifiers to factors which is affecting more in road accident. Kashani [27] analyzed dataset by using classification and regression algorithm to analyze accident ratio in Iran and achieved that there a re factors such as wrong overtaking, not using seat belts, and badly speeding affected the severity level of accident. METHODOLOGY This research work focus on casualty class based classification of road accident. The paper describe the k-means and Hierarchical clustering techniques for cluster analysis. Moreover, Decision Tree, Lazy classifier and Multilayer perceptron used in this paper to classify the accident data. Clustering Techniques Hierarchical Clustering Hierarchical clustering is also known as HCS (Hierarchical cluster analysis). It is unsupervised clustering techniques which attempt to make clusters hierarchy. It is divided into two categories which are Divisive and Agglomerative clustering. Divisive Clustering: In this clustering technique, we allocate all of the inspection to one cluster and later, partition that single cluster into two similar clusters. Finally, we continue repeatedly on every cluster till there would be one cluster for every inspection. Agglomerative method: It is bottom up approach. We allocate every inspection to their own cluster. Later, evaluate the distance between every clusters and then amalgamate the most two similar clusters. Repeat steps second and third until there could be one cluster left. The algorithm is given below   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   X set A of objects {a1, a2,à ¢Ã¢â€š ¬Ã‚ ¦Ãƒ ¢Ã¢â€š ¬Ã‚ ¦Ãƒ ¢Ã¢â€š ¬Ã‚ ¦an}   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Distance function is d1 and d2   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   For j=1 to n   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   dj={aj}   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   end for   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   D= {d1, d2,à ¢Ã¢â€š ¬Ã‚ ¦..dn}   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Y=n+1   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   while D.size>1 do -(dmin1, dmin2)=minimum distance (dj, dk) for all dj, dk in all D -Delete dmin1 and   dmin2   from D -Add (dmin1, dmin2) to D -Y=Y+1   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   end while K-modes clustering Clustering is an data mining technique which use unsupervised learning, whose major aim is to categorize the data features into a distinct type of clusters in such a way that features inside a group are more alike than the features in different clusters. K-means technique is an extensively used clustering technique for large numerical data analysis. In this, the dataset is grouped into k-clusters. There are diverse clustering techniques available but the assortment of appropriate clustering algorithm rely on the nature and type of data. Our major objective of this work is to differentiate the accident places on their frequency occurrence. Lets assume thatX and Y is a matrix of m by n matrix of categorical data. The straightforward closeness coordinating measure amongst X and Y is the quantity of coordinating quality estimations of the two values. The more noteworthy the quantity of matches is more the comparability of two items. K-modes algorithm can be explained as:   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   d (Xi,Yi)=   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   (1)   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Where   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   - (2) Classification Techniques Lazy Classifier Lazy classifier save the training instances and do no genuine work until classification time. Lazy classifier is a learning strategy in which speculation past the preparation information is postponed until a question is made to the framework where the framework tries to sum up the training data before getting queries. The main advantage of utilizing a lazy classification strategy is that the objective scope will be exacted locally, for example, in the k-nearest neighbor. Since the target capacity is approximated locally for each question to the framework, lazy classifier frameworks can simultaneously take care of various issues and arrangement effectively with changes in the issue field. The burdens with lazy classifier incorporate the extensive space necessity to store the total preparing dataset. For the most part boisterous preparing information expands the case bolster pointlessly, in light of the fact that no idea is made amid the preparation stage and another detriment is that lazy classification strategies are generally slower to assess, however this is joined with a quicker preparing stage. K Star The K star can be characterized as a strategy for cluster examination which fundamentally goes for the partition of n perception into k-clusters, where every perception has a location with the group to the closest mean. We can depict K star as an occurrence based learner which utilizes entropy as a separation measure. The advantages are that it gives a predictable way to deal with treatment of genuine esteemed attributes, typical attributes and missing attributes. K star is a basic, instance based classifier, like K Nearest Neighbor (K-NN). New data instance, x, are doled out to the class that happens most every now and again among the k closest information focuses, yj, where j = 1, 2à ¢Ã¢â€š ¬Ã‚ ¦ k. Entropic separation is then used to recover the most comparable occasions from the informational index. By method for entropic remove as a metric has a number of advantages including treatment of genuine esteemed qualities and missing qualities. The K star function can be ascertained a s: K*(yi, x)=-ln P*(yi, x) Where P* is the likelihood of all transformational means from instance x to y. It can be valuable to comprehend this as the likelihood that x will touch base at y by means of an arbitrary stroll in IC highlight space. It will performed streamlining over the percent mixing proportion parameter which is closely resembling K-NN sphere of influence, before appraisal with other Machine Learning strategies. IBK (K Nearest Neighbor) Its a k-closest neighbor classifier technique that utilize a similar separation metric. The quantity of closest neighbors may be illustrated unequivocally in the object editor or determined consequently utilizing blow one cross-approval center to a maximum point of confinement provided by the predetermined esteem. IBK is the knearest-neighbor classifier. A sort of divorce pursuit calculations might be used to quicken the errand of identifying the closest neighbors. A direct inquiry is the default yet promote decision blend ball trees, KD-trees, thus called cover trees. The dissolution work used is a parameter of the inquiry strategy. The rest of the thing is alike one the basis of IBL-which is called Euclidean separation; different alternatives blend Chebyshev, Manhattan, and Minkowski separations. Forecasts higher than one neighbor may be weighted by their distance from the test occurrence and two unique equations are implemented for altering over the distance into a weight. The qua ntity of preparing occasions kept by the classifier can be limited by setting the window estimate choice. As new preparing occasions are included, the most seasoned ones are segregated to keep up the quantity of preparing cases at this size. Decision Tree Random decision forests or random forest are a package learning techniques for regression, classification and other tasks, that perform by building a legion of decision trees at training time and resulting the class which would be the mode of the mean prediction (regression) or classes (classification) of the separate trees. Random decision forests good for decision trees routime of overfitting to their training set. In different calculations, the classification is executed recursively till each and every leaf is clean or pure, that is the order of the data ought to be as impeccable as would be prudent. The goal is dynamically speculation of a choice tree until it picks up the balance of adaptability and exactness. This technique utilized the Entropy that is the computation of disorder data. Here Entropy is measured by:   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Entropy () =   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Entropy () = Hence so total gain = Entropy () Entropy () Here the goal is to increase the total gain by dividing total entropy because of diverging arguments by value i. Multilayer Perceptron An MLP might be observed as a logistic regression classifier in which input data is firstly altered utilizing a non-linear transformation. This alteration deal the input dataset into space, and the place where this turn into linearly separable. This layer as an intermediate layer is known as a hidden layer. One hidden layer is enough to create MLPs. Formally, a single hidden layer Multilayer Perceptron (MLP) is a function of f: YIà ¢Ã¢â‚¬  Ã¢â‚¬â„¢YO, where I would be the input size vector x and O is the size of output vector f(x), such that, in matrix notation   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   F(x) = g(ÃŽÂ ¸(2)+W(2)(s(ÃŽÂ ¸(1)+W(1)x))) DESCRIPTION OF DATASET The traffic accident data is obtained from online data source for Leeds UK [8]. This data set comprises 13062 accident which happened since last 5 years from 2011 to 2015. After carefully analyzed this data, there are 11 attributes discovered for this study. The dataset consist attributes which are Number of vehicles, time, road surface, weather conditions, lightening conditions, casualty class, sex of casualty, age, type of vehicle, day and month and these attributes have different features like casualty class has driver, pedestrian, passenger as well as same with other attributes with having different features which was given in data set. These data are shown briefly in table 2 ACCURACY MEASUREMENT The accuracy is defined by different classifiers of provided dataset and that is achieved a percentage of dataset tuples which is classified precisely by help of different classifiers. The confusion matrix is also called as error matrix which is just layout table that enables to visualize the behavior of an algorithm. Here confusing matrix provides also an important role to achieve the efficiency of different classifiers.   There are two class labels given and each cell consist prediction by a classifier which comes into that cell. Table 1 Confusion Matrix   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Correct Labels Negative Positive Negative TN (True negative) FN (False negative) Positive FP (False positive) TP (True positive) Now, there are many factors like Accuracy, sensitivity, specificity, error rate, precision, f-measures, recall and so on. TPR (Accuracy or True Positive Rate) = FPR (False Positive Rate) = Precision = Sensitivity = And there are also other factors which can find out to classify the dataset correctly. RESULTS AND DISCUSSION Table 2 describe all the attributes available in the road accident dataset. There are 11 attributes mentioned and their code, values, total and other factors included. We divided total accident value on the basis of casualty class which is Driver, Passenger, and Pedestrian by the help of SQL. Table 2 S.NO. Attribute Code Value Total   Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚  Ãƒâ€šÃ‚   Casualty Class Driver Passenger Pedestrian 1. No. of vehicles 1 1 vehicle 3334 763 817 753 2 2 vehicle 7991 5676 2215 99 3+ >3 vehicle 5214 1218 510 10 2. Time T1 [0-4] 630 269 250 110 T2 [4-8] 903 698 133 71 T3 [6-12] 2720 1701 644 374 T4 [12-16] 3342 1812 1027 502 T5 [16-20] 3976 2387 990 598 T6 [20-24] 1496 790 498 207 3. Road Surface OTR Other 106 62 30 13 DR Dry 9828 5687 2695 1445 WT Wet 3063 1858 803 401 SNW Snow 157 101 39 16 FLD Flood 17 11 5 0 4. Lightening Condition DLGT Day Light 9020 5422 2348 1249 NLGT No Light 1446 858 389 198 SLGT Street Light 2598 1377 805 415 5. Weather Condition CLR Clear 11584 6770 3140 1666 FG Fog 37 26 7 3 SNY Snowy 63 41 15 6 RNY Rainy 1276 751 350 174 6. Casualty Class DR Driver PSG Passenger PDT Pedestrian 7. Sex of Casualty M Male 7758 5223 1460 1074 F Female 5305 2434 2082 788 8. Age Minor 1976 454 855 667 Youth 18-30 years 4267 2646 1158 462 Adult 30-60 years 4254 3152 742 359 Senior >60 years 2567 1405 787 374 9. Type of Vehicle BS Bus 842 52 687 102 CR Car 9208 4959 2692 1556 GDV GoodsVehicle 449 245 86 117 BCL Bicycle 1512 1476 11 24 PTV PTWW 977 876 48 52 OTR Other 79 49 18 11 10. Day WKD Weekday 9884 5980 2499 1404 WND Weekend 3179 1677 1043 458 11. Month Q1 Jan-March 3017 1731 803 482 Q2 April-June 3220 1887 907 425 Q3 July-September 3376 2021 948 406 Q4 Oct-December 3452 2018 884 549 Direct Classification Analysis We utilized different approaches to classify this bunch of dataset on the basis of casualty class. We used classifier which are Decision Tree, Lazy classifier and Multilayer perceptron. We attained some result to few level as shown in table 3 Table 3 Classifiers Accuracy Lazy classifier(K-Star) 67.7324% Lazy classifier (IBK) 68.5634% Decision Tree 70.7566% Multilayer perceptron 69.3031% We achieved some results to this given level by using these three approaches and then later we utilized different clustering techniques which are Hierarchical clustering and K-modes. Figure 1   Direct classified Accuracy Analysis by using clustering techniques In this analysis, we utilized two clustering techniques which are Hierarchical and K-modes techniques, Later we divided dataset into 9 clusters. We achieved better results by using Hierarchical as compared to K-modes techniques. Lazy Classifier Output K Star: In this, our classified result increased from 67.7324 % to 82.352%. Its sharp improvement in result after clustering. Table 4 TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.956 0.320 0.809 0.956 0.876 0.679 0.928 0.947 Driver 0.529 0.029 0.873 0.529 0.659 0.600 0.917 0.824 Passenger 0.839 0.027 0.837 0.839 0.838 0.811 0.981 0.906 Pedestrian IBK: In this, our classified result increased from 68.5634% to 84.4729%. Its sharp improvement in result after clustering. Table 5 TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.945 0.254 0.840 0.945 0.890 0.717 0.950 0.964 Driver 0.644 0.048 0.833 0.644 0.726 0.651 0.940 0.867 Passenger 0.816 0.018 0.884 0.816 0.849 0.826 0.990 0.946 Pedestrian Decision Tree Output In this study, we used Decision Tree classifier which improved the accuracy better than ear

Friday, October 25, 2019

Arthur Koestlers Darkness At Noon :: essays research papers

Arthur Koestler: ‘Darkness at Noon’ Revolutionary and political ethics ‘Darkness at Noon’ is the second novel of a trilogy, which revolves around the central theme of revolutionary ethics, and of political ethics in general: the problem whether, or to what extent, a noble ends justifies ignoble means, and the related conflict between morality and expediency. The theme of the novel relates to the ever-present predicament faced by the leaders of any political party or revolutionary movement, from the slave revolt in the first century to the Old Bolsheviks of the nineteen thirties. Revolutionary ethics or the issues faced in revolutionary movements are timeless, and as an incentive to writing his novel, Arthur Koestler was troubled by this theory, and also by the regime of terror that was governed by Stalin this century. This issue of whether a noble end justifies ignoble means is the revolutionary predicament that Koestler refers to, and was the question that he aspired to resolve. From the sixth hour until the ninth hour darkness came over all the land. About the ninth hour Jesus cried out in a loud voice, ‘Eloi, Eloi, lama sabachthani?’ – which means, “My God, My God, why have you forsaken me?’ (Matthew 27:45-46) Darkness at Noon is a fictional account of the truth behind the Stalinist State at the close of the infamous Moscow Show Trials in 1938, where forty-eight of the fifty-four on the executive of the Communist Party were dead. All members of the party knew that Lenin and Trotsky had been the real leaders of the Revolution and consequently they did not accept Stalin as the successor to Lenin. So accordingly, as Stalin was aware of the aspirations against him, as he consolidated power it became more dangerous to have known Lenin. The result of this was that over 70% of the Seventeenth Party Congress, which was held in 1934, had been arrested and executed; in Stalin’s opinion, these people had outlived their usefulness. Through the thoughts and actions of the main character, Nicolas Salmanovitch Rubashov, an Old Bolshevik, the Soviet politics between 1917 and the Stalin era were outlined. The party’s transformation disturbed Rubashov, as a member of the party, but he did not wish to be expelled, so he continued to work with the Party against his conscious. Rubashov did everything that was asked of him, and therefore in essence he was a loyal Party member.

Thursday, October 24, 2019

Basketball and Soccer

Basketball and Soccer Do you know what the differences are between soccer and basketball? These are the two most popular sports around the world. Soccer was invented over 2000 years ago in China. On the other hand, basketball is one of my favorite sports. Originally, this game was played in American schools in 1891. There are some differences between basketball and soccer such as, the part of the body that you play with, the number of players and the form of shooting.Though soccer and basketball have large differences, they are both the most popular sports in the world. First of all, the most noticeable difference between these two sports is the parts of the body that are involved in the games. For example, in soccer the players have to use their legs because†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦. That is to say is more a feet sport. In contrast, ba sketball is a sport where you mostly use your hands. In soccer, if you kick the ball the other team gets the ball. Athletes in both sports †¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦..Second of all, in basketball and soccer each team has a different number of players. In soccer there are eleven players per team on the field†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦ On the other hand, in basketball there are only five players per team on the court at one time. A soccer field, is bigger that a basketball court because there are more people playing at once. This†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦.. Finally, the form of shooting is another difference that distinguishes these sports. In soccer, goals are scored when the ball passes across the line, between the goal posts into the net.The ball is moved by kicking the ball with your feet and is shot into the goal. On the other hand, in basketball the players pass the ball with their hands and move the ball by bouncing it on the court. The goals in each sport are worth a different amount points. For example in soccer each goal is woth one point and in basketball each basket is worth one, two or three points. In conclusion, soccer and basketball are someof the most popular sports, even though they are different.

Wednesday, October 23, 2019

Abraham Lincoln and American History

Abraham Lincoln was an important part of American history. He ended slavery and helped America through the civil war. Abraham Lincoln was one of the truly great men of all time. Even as a boy, Lincoln showed ability as a speaker. He often amused himself and others by imitating some preacher or politician who had spoken in the area. People liked to gather at the general store in the crossroads village of Gentryville. Lincoln's gift for telling stories made him a favorite with the people there. In spite of his youth, he was well known in his neighborhood. In 1834, Lincoln again ran for the legislature. He had become better known by this time, and won election as a Whig. He served four successive two-year terms in the lower house of the Illinois General Assembly. During his first term, he met a young Democratic legislator, Stephen A. Douglas. Lincoln quickly came to the front in the legislature. He was witty and ready in debate. His skill in party management enabled him to become the Whig floor leader at the beginning of his second term. He took leading parts in the establishment of the Bank of Illinois and in the adoption of a plan for a system of railroads and canals. This plan broke down after the Panic of 1837. Lincoln also led a successful campaign for moving the state capital from Vandalia to Springfield. While in the legislature, Lincoln made his first public statement on slavery. In 1837, the legislature passed by an overwhelming majority resolutions condemning abolition societies. These societies urged freedom for slaves. Lincoln and another legislator, Dan Stone, filed a protest. They admitted that Congress had no power to interfere with slavery in the states where it existed. They believed â€Å"the promulgation of abolition doctrines tend rather to increase than abate its evils. *1 Their protest arose from the legislature's failure to call slavery an evil practice. Lincoln and Stone declared that â€Å"the institution of slavery is founded on both injustice and bad policy. â€Å"*2 Later, Lincoln continued with his dream to become part of the law. He wanted to become president. On March 4, 1861, Lincoln took the oath of office and became the 16th President of the United States. In his inaugural address, Lincoln denied that he had any intention of interfering with slavery in states where the Constitution protected it. He urged the preservation of the Union. Lincoln warned that he would use the full power of the nation to â€Å"hold, occupy, and possess† the â€Å"property and places†*3 belonging to the federal government. By â€Å"property and places,† he meant forts, arsenals, and custom houses. Lincoln's closing passage had great beauty and literary power. He appealed to â€Å"the mystic chords of memory, stretching from every battlefield and patriot grave to every living heart and hearthstone all over this broad land. † The attack on Fort Sumter marked the start of the Civil War. Lincoln met the crisis with energetic action. He called out the militia to suppress the â€Å"insurrection. He proclaimed a blockade of Southern ports, and expanded the army beyond the limit set by law. He then led the United States during the Civil War (1861-1865), which was the greatest crisis in U. S. history. During the Civil War, Lincoln's first task was to win the war. He had to view nearly all other matters in relation to the war. It was â€Å"the progress of our arms,† he once said, â€Å"upon which all else depends. † But Lincoln was a peace-loving man who had earlier described military glory as â€Å"that attractive rainbow, that rises in showers of blood–that serpent's eye that charms to destroy. *4 The Civil War was by far the bloodiest war in U. S. history. Lincoln became a remarkable war leader. Some historians believe he was the chief architect of the Union's victorious military strategy. This strategy called for Union armies to advance against the enemy on all fronts at the same time. Lincoln also insisted that the objective of the Union armies should be the destruction of opposing forces, not the conquest of territory. Lincoln changed generals several times because he could not find one who would fight the war the way he wanted it fought. When he finally found such a general, Ulysses S. Grant, Lincoln stood firmly behind him. Lincoln's second great task was to keep up Northern morale through the horrible war in which many relatives in the North and South fought against one another. He understood that the Union's resources vastly exceeded those of the Confederacy, and that the Union would eventually triumph if it remained dedicated to victory. For this reason, Lincoln used his great writing and speechmaking abilities to spur on his people. If the Union had been destroyed, the United States could have become two, or possibly more, nations. These nations separately could not have become as prosperous and important as the United States is today. By preserving the Union, Lincoln influenced the course of world history. By ending slavery, he helped assure the moral strength of the United States. His own life story, too, has been important. He rose from humble origin to the nation's highest office. What did Abraham Lincolns Emancipation Proclamation do to help the Civil War? It declared freedom for slaves in all areas of the Confederacy that were still in rebellion against the Union. The proclamation also provided for the use of blacks in the Union Army and Navy. As a result, it greatly influenced the North's victory in the war. The 11 states of the Confederacy seceded from the Union in 1860 and 1861. They seceded primarily because they feared Lincoln would restrict their right to do as they chose about the question of black slavery. The North entered the Civil War only to reunite the nation, not to end slavery. During the first half of the war, abolitionists and some Union military leaders urged Lincoln to issue a proclamation freeing the slaves. They argued that such a policy would help the North because slaves were contributing greatly to the Confederate war effort. By doing most of the South's farming and factory work, slaves made whites available for the Confederate Army. Lincoln agreed with the abolitionists' view of slavery. He once declared that â€Å"if slavery is not wrong, nothing is wrong. â€Å"*5 But early in the war, Lincoln believed that if he freed the slaves, he would divide the North. Lincoln feared that four slave-owning border states; Delaware, Kentucky, Maryland, and Missouri, would secede if he adopted such a policy. In July 1862, with the war going badly for the North, Congress passed a law freeing all Confederate slaves who came into Union lines. At about that same time, Lincoln decided to change his stand on slavery. But he waited for a Union military victory, so that his decision would not appear to be a desperate act. On Sept. 22, 1862, five days after Union forces won the Battle of Antietam, Lincoln issued a preliminary proclamation. It stated that if the rebelling states did not return to the Union by Jan. 1, 1863, he would declare their slaves to be â€Å"forever free. The South rejected Lincoln's policy, and so he issued the Emancipation Proclamation on Jan. 1, 1863. Lincoln took this action as commander in chief of the Army and Navy of the United States. He called it â€Å"a fit and necessary war measure. † The Emancipation Proclamation did not actually free a single slave, because it affected only areas under Confederate control. It excluded slaves in the border states and in such Southern areas under Union control as Tennessee and parts of Louisiana and Virginia. But it did lead to the 13th Amendment to the Constitution. This amendment, which became law on Dec. 18, 1865, ended slavery in all parts of the United States. As the abolitionists had predicted, the Emancipation Proclamation strengthened the North's war effort and weakened the South's. By the end of the war, more than 500,000 slaves had fled to freedom behind Northern lines. Many of them joined the Union Army or Navy or worked for the armed forces as laborers. By allowing blacks to serve in the Army and Navy, the Emancipation Proclamation helped solve the North's problem of declining enlistments. About 200,000 black soldiers and sailors, many of them former slaves, served in the armed forces. They helped the North win the war. The Emancipation Proclamation also hurt the South by discouraging Britain and France from entering the war. Both of those nations depended on the South to supply them with cotton, and the Confederacy hoped that they would fight on its side. But the proclamation made the war a fight against slavery. Lincoln†s decisions and Emancipation Proclamation led to the 15th amendment which freed slaves. Without it, life today would be much different. He changed life for all Americans, black and white. How did the Pacific Railroad Act have an impact on American History? It provided for the building of the nation's first transcontinental rail line. Abraham Lincoln was in office when the Pacific Railroad Act was signed. He made a huge impact by signing the act. It was the first step to trading with other states that were far apart and new ways of transportation. States could now trade meat and states could focus on the products that are most practical for their part of the country. The act gave two companies responsibility for building the railroad. The Union Pacific was to start laying track westward from a point near Omaha. The Central Pacific Railroad was to lay track eastward from Sacramento. Congress granted both railroads large tracts of land and millions of dollars in government loans. Work began on the Central Pacific track in 1863 and on the Union Pacific in 1865. The railroads faced the gigantic task of crossing the rugged Rockies and the towering Sierra Nevada. To obtain the necessary labor, the Central Pacific hired thousands of Chinese immigrants to work on the railroad. Thousands of European immigrants worked on the Union Pacific. On May 10, 1869, the tracks of the two railroads finally met at Promontory, Utah. North America became the first continent to have a rail line from coast to coast. By the end of the 1800's, the United States had five transcontinental rail lines. The Canadian Pacific Railway (now CP Rail) completed Canada's first transcontinental line in 1885. It extended from Montreal, Quebec, to Vancouver, British Columbia. The completion of these rail lines opened vast regions of the continent to settlement and trade. How did the sayings of Abraham Lincoln help people? Abraham gave many speeches in his life that inspired people to be all that they can be and do what is right. Gettysburg Address is a short speech that United States President Abraham Lincoln delivered during the American Civil War at the site of the Battle of Gettysburg in Pennsylvania. He delivered the address on Nov. 19, 1863, at ceremonies to dedicate a part of the battlefield as a cemetery for those who had lost their lives in the battle. The principal speaker was Edward Everett, one of the greatest orators of his day. He spoke for two hours. Lincoln was asked to say a few words, and spoke for about two minutes. Lincoln wrote the address to help ensure that the battle would be seen as a great Union triumph and to define for the people of the Northern States the purpose in fighting the war. Some historians think his simple and inspired words, which are among the best remembered in American history, reshaped the nation by defining it as one people dedicated to one principle–that of equality. Lincoln wrote five different versions of the speech. He wrote most of the first version in Washington, D. C. , and probably completed it at Gettysburg. He probably wrote the second version at Gettysburg on the evening before he delivered his address. He held this second version in his hand during the address. But he made several changes as he spoke. The most important change was to add the phrase â€Å"under God† after the word â€Å"nation† in the last sentence. Lincoln also added that phrase to the three versions of the address that he wrote after the ceremonies at Gettysburg. Lincoln wrote the final version of the address–the fifth written version–in 1864. This version also differed somewhat from the speech he actually gave, but it was the only copy he signed. It is carved on a stone plaque in the Lincoln Memorial. Many false stories have grown up about this famous speech. One story says that the people of Lincoln's time did not appreciate the speech. But the reaction of the nation's newspapers largely followed party lines. Most of the newspapers that backed the Republican Party, the party to which Lincoln belonged, liked the speech. A majority of the newspapers that supported the Democratic Party did not. Edward Everett, the principal speaker at the dedication, wrote to Lincoln: â€Å"I should be glad if I could flatter myself that I came as near to the central idea of the occasion in two hours as you did in two minutes. *6 Abrahams two minute speech had more of an impact that a two hour speech. Lincoln touched many hearts and others despised him. It does not matter if they liked him or not, they were still affected by his words and actions. Abraham Lincoln affected the U. S. in many different ways. He led the United States during the Civil War, one of the most brutal battles in history. Lincoln helped end slavery in the nation and helped keep the American Union from splitting apart during the war. Lincoln thus believed that he proved to the world that democracy can be a lasting form of government. Lincoln's Gettysburg Address, second inaugural address, and many of his other speeches and writings are classic statements of democratic beliefs and goals. Lincoln, a Republican, was the first member of his party to become President. He was assassinated near the end of the Civil War and was succeeded by Vice President Andrew Johnson. Lincoln was the first U. S. President to be assassinated. Without President Lincoln life today would be much different. We have him to thank for a lot of the great accomplishments in history.