<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Methodology for the Use of Machine Learning, Applied in Predicting the Level of Success in Legal Cases</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Wilver</forename><surname>Auccahuasi</surname></persName>
						</author>
						<author>
							<persName><forename type="first">Lucas</forename><surname>Herrera</surname></persName>
							<affiliation key="aff1">
								<orgName type="institution">Universidad Continental</orgName>
								<address>
									<settlement>Huancayo</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Karin</forename><surname>Rojas</surname></persName>
							<affiliation key="aff2">
								<orgName type="institution">Universidad Tecnológica del Perú</orgName>
								<address>
									<settlement>Lima</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Kitty</forename><surname>Urbano</surname></persName>
							<affiliation key="aff0">
								<orgName type="institution">Universidad Privada del Norte</orgName>
								<address>
									<settlement>Lima</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Brayan</forename><surname>Peláez</surname></persName>
						</author>
						<author>
							<persName><forename type="first">Pedro</forename><surname>Flores Peña</surname></persName>
							<affiliation key="aff3">
								<orgName type="institution">Universidad Nacional Mayor de San Marcos</orgName>
								<address>
									<settlement>Lima</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Yuly</forename><surname>Montes Osorio</surname></persName>
							<affiliation key="aff4">
								<orgName type="institution">Universidad ESAN</orgName>
								<address>
									<settlement>Lima</settlement>
									<region>Perú</region>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Grisi</forename><surname>Bernardo</surname></persName>
						</author>
						<author>
							<persName><forename type="first">Madelaine</forename><surname>Bernardo</surname></persName>
						</author>
						<author>
							<persName><forename type="first">Sandra</forename><surname>Meza</surname></persName>
							<affiliation key="aff6">
								<orgName type="institution">Universidad Científica del Sur</orgName>
								<address>
									<settlement>Lima</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Christian</forename><surname>Ovalle</surname></persName>
							<affiliation key="aff7">
								<orgName type="institution">Universidad Autónoma de Ica</orgName>
								<address>
									<settlement>Ica</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Francisco</forename><surname>Hilario</surname></persName>
						</author>
						<author>
							<persName><forename type="first">Milner</forename><surname>Liendo</surname></persName>
							<affiliation key="aff8">
								<orgName type="institution">Universidad Privada san Juan Bautista</orgName>
								<address>
									<settlement>Lima</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<author role="corresp">
							<persName><forename type="first">Fernando</forename><surname>Sernaque</surname></persName>
							<email>fsernaque@ucv.edu.pe</email>
							<affiliation key="aff5">
								<orgName type="institution">Universidad César Vallejo</orgName>
								<address>
									<settlement>Lima</settlement>
									<country>Perú</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Methodology for the Use of Machine Learning, Applied in Predicting the Level of Success in Legal Cases</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">8A2F7934FE9E1DAD27DB63A18191D065</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-23T20:40+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>Artificial Intelligence</term>
					<term>methodology</term>
					<term>cases</term>
					<term>legal</term>
					<term>protocol</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>ICTs have allowed the applications of artificial intelligence to grow exponentially, where different applications are being presented, based on the application of neural networks as prediction mechanisms for different processes and applications, in the present work the use of the Neural networks for the legal case prediction process, in which the analysis of approximately 200 cases was used between cases that had "positive and negative" final results, the expected results after implementing the solution in the MATLAB tool, they presented us effectiveness results in a value of 93%, as a conclusion we can indicate that the model provided allows us to be applied in other conditions as well as to be scaled, taking into account the historical data that may be available for the training process.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Information and communication technologies are allowing the development of new ways of analyzing data, a proof of this are the new applications using artificial intelligence, for this it is necessary to have historical information that can serve us to describe models and applications that exploit these data, in this context, when we talk about judicial processes, it is not known initially if the process has options to have good results, in this work we will develop a model to describe a method that leads us to estimate whether a new legal case has a chance of winning, then we present the state of the art:</p><p>In the present work we are going to make a general calculation about the relationship between Artificial Intelligence and Law, seen as a conversation at the same level where we see contributions, criticisms and challenges, which we are going to verify with the analysis of examples, The first step that was made was the analysis on the topics Artificial Intelligence and Law as individual topics where contributions and challenges will be analyzed comparing with the modern theories that are found for theoretical-political and legal bases on the development of Artificial Intelligence systems applied to Law, then reflection of the theoretical and practical contributions was given from where we will define conclusions on the topics, in the last years the technological advance has inference in the juridical impacts. In China the first trial was implemented through the use of an application developed so that when you click after filling in the fields it automatically emits its sentence where more than 100 crimes are included, the creator of the program has designed to make standardized decisions on the length of sentences, an alternative on impartiality since it is believed that people may have been convicted by their personal or social characteristics. With time and technological advancement, technology has entered the different areas, one can think of the future of lawyers only as counseling, formalized and proceduralized and will be systematized, when we mention the term that technology can replace human beings this creates uncertainty and concern in people. Computer applications in the legal field are growing in an excessive way, but in the area of law it is still an uncertain field in which we can implement models of legal activity with the consequent benefit which seeks to enhance the quality of legal activity, its main interest is to emphasize ways to improve the systems of legal operations and vice versa <ref type="bibr" target="#b0">[1]</ref>.</p><p>In this work we want to evaluate the possibility of implementing some type of Artificial Intelligence as an auxiliary tool for lawyers, what we seek is to make a brief and clear analysis of the activities of lawyers, verify the types of applications that can provide solutions to legal problems with concrete applications with the use of IT and Artificial Intelligence which we will illustrate all the above with the example ARPO-2, which is a prototype in the field of legal documentation retrieval. The methodology for the application of AI is not very different from the others applied, therefore any methodology can be applied, but what we must take into account for this work consists of 8 steps <ref type="bibr" target="#b1">[2]</ref>.</p><p>In the 1950's, the use of artificial intelligence in law began with the first system for queries on legal information, which simulated aspects of human intelligence such as memory and symbol recognition, where intelligent legal systems appeared, which helped the lawyer with the preparation of working documents. Expert systems are computer programs with the assistance of human experts capable of solving problems. Expert systems use reasoning with production rules, systems that satisfy the conditions however there are legal constraints based on rules. When there was a change of law a reprogramming of the whole system was performed limiting the inability to simulate analogical reasoning. On the legal profession will use three kinds of premises or normative standards, in conjunction with each other so that Thursdays will justify their decisions in particular cases, using legal doctrines. Another fundamental characteristic that must be considered for the conceptualization of the components that allow the individualization of a case, based on objective and subjective situations, is the skepticism to the facts. The justifications provided by the legal expert system based on jurisprudence will be driven by the final and subjective components of all antecedent cases <ref type="bibr" target="#b2">[3]</ref>.</p><p>In the current times there are situations or inconveniences that apparently can not be solved, but with the phenomenon of globalization brings thousands of operations that are performed en masse, however, everything can be eliminated these obstacles with the implementation of artificial intelligence and blockchain technology for analysis, drafting and others reducing their cost and risk associated with legal-commercial transactions, for which we must analyze the bases and possibilities of implementation of artificial intelligence and blockchain technologies, once evaluated the possibility of acceptance of the system, logic and legal practice for which we will use methods of analysis and interpretation of documents for the application of this method the first step is to know the concept of artificial intelligence and logical-legal reasoning to demonstrate its existence for a long time <ref type="bibr" target="#b3">[4]</ref>.</p><p>In this research we will call legal expert systems (SEJ), with the intervention of artificial intelligence (AAAI), thanks to the intervention of the interdisciplinary nature of the sciences it has been possible to achieve that matters outside the legal world can be affected directly contributing to its development, which is not only part of the daily life of the common inhabitant, but on the contrary, the lawyers of the territory, who in some situation have been validated in a computer or similar artifacts, to make their task much easier, either by consulting information, storing it, sharing it, etcetera. In this way, on-line databases of laws, jurisprudence, ideology, the purchase of books electronically, the use of social networks for research or work contacts, and video tutorial clips can easily explain legal topics through portals such as YouTube among others that are various tools that offer technology in all areas <ref type="bibr" target="#b4">[5]</ref>.</p><p>In this paper we aim to address what are the limits and possibilities that we can implement in the future jurisdictional function which are exercised by computer equipment which we call expert systems in the area of law which is a sensitive area on Artificial Intelligence and an expert system so that the limits and possibilities field of legal reasoning in the future could be replaced judges and other legal operators by computer systems. The first thing is that we are going to consider the meaning of artificial intelligence, we can understand by this term the process by means of computer equipment which is performed by human beings so that some kind of reasoning is required. Then we will look for the meaning of expert systems that means to realize a program which contains data of expert levels so that they can facilitate the information where we can define that the artificial system is a set of logical procedures of artificial intelligence to be able to adapt to certain analyses <ref type="bibr" target="#b5">[6]</ref>.</p><p>Undoubtedly, technology has become a transcendental part of contemporary life, advancing to the point of being able to be autonomous because the leading companies in the electronic and digital market have in their organizations centers, and engineering and development laboratories seeking to innovate every day to improve and expand their portfolio of products or services, they have drawn increasingly shorter spaces to show and launch products that satisfy the capitalist consumer society. for this reason, the analysis of existing laws to respond to robotics with artificial intelligence in civil law will be performed. For this process we must analyze the laws that protect each field. When we see this problematic we find the necessity to realize the update of incorporating the computer science towards the legal subject <ref type="bibr" target="#b6">[7]</ref>.</p><p>When we talk about AI it will lead to changes in society where we can expect to see performance in all types of tasks which are interconnected. There will be great alternatives on the application of AI and on the implementation in the area of law which will have to deal with the disruptive technology that will revolutionize healthcare. The big question will be how to design and above all how these technologies will work within the medical branch to create confidence in the use of the device especially in the legal area which is urgently required, the other problem is the big question that an AI robot could replace the human, hence the implementation is rushed. In conclusion, on the analysis of the implementation on the elaboration of a social contract as this was directly related to the type of life that was short, idea that is in decline as currently the new contracts that give priority to the collective interest and self-interest, from there we start from the recovery of confidence on the part of customers <ref type="bibr" target="#b7">[8]</ref>.</p><p>In the present work, a method based on artificial intelligence techniques based on neural networks is developed, for the process of predicting judicial cases, according to the documents that are available to present in the legal process.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Materials and Methods</head><p>The materials and methods that we present are related to the description of the problem until the description of the model implemented in the MATLAB tool, it is represented in figure <ref type="figure" target="#fig_0">1</ref>: </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Information on legal cases with positive and negative results:</head><p>The information collection process is carried out by collecting and registering the judicial cases of previous processes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Case data processing:</head><p>Having the historical cases, the following process consists of separating into two groups, a group with positive cases considered as won cases and negative cases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Design of a Machine Learning model:</head><p>Having the data of the positive and negative cases, the computational model is designed, based on the input data and creating the main characteristics, which will be the evaluation criteria.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Implementation of a Computer Solution based on Machine Learning:</head><p>The implementation for the final verification is carried out using the MATLAB computational tool, through the training and simulation of the implemented neural network. In figure <ref type="figure" target="#fig_1">2</ref>, the vector of characteristics is presented, which will serve as input for the neural network </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Results</head><p>The results that are presented are related to the explanation of the developed application, where it is presented in figure <ref type="figure" target="#fig_3">4</ref>, in which we have two groups of processes, the first where it is dedicated to the entry of the values of the vector of characteristics, the values entered are related to a quantitative value of each characteristic, in order to be evaluated and to obtain a predictive value. A second group of processes is dedicated to the processes related to the computational model, where we have the process of loading the historical data that will be used in the network training process, as well as the network creation process and finally the process of predicting the expected result, the estimated values that are expected are between the values of 0 to 1, indicating their corresponding estimated percentage, for example if we obtain a value of 0.75 it indicates 75% of being positive.  Figure <ref type="figure" target="#fig_4">5</ref> shows the components of the vector of characteristics. In practice, in order to execute the application, an approximate value must be calculated for each characteristic, with a value between 0 and 100, where 0 indicates that there is no relevant information with respect to the characteristic and 100 indicates that there is relevant information; intermediate values indicate the proportion of information. In the fields to be completed, only numerical values should be filled in. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusion</head><p>The conclusions that we can indicate are related to the experience of being able to work in a process specifically related to qualitative issues and work them towards a quantitative approach, analyzing the characteristics that appear in legal cases, managing to take them to a quantitative value of direct correspondence with which to be able to estimate a value resulting from an analysis and classification by implementing a neural network.</p><p>The result of working with the neural network presented us with a level of effectiveness of 93%, with which we can work and with the option of improvement when carrying out training processes, increasing the number of historical cases, which would improve the process. training and increase the level of effectiveness, the presented model can be scaled for other legal purposes.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Block diagram of the proposed methodology.</figDesc><graphic coords="4,122.75,72.00,348.90,239.05" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Characteristic vector of the computational model.</figDesc><graphic coords="4,101.00,514.21,392.45,146.39" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: Feature vector detail</figDesc><graphic coords="5,85.25,72.00,424.02,159.55" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Figure 4 :</head><label>4</label><figDesc>Figure 4: Computer application for the computational model</figDesc><graphic coords="5,140.68,517.75,313.65,175.10" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Figure 5 :</head><label>5</label><figDesc>Figure 5: Entering the values of the characteristics</figDesc><graphic coords="6,156.98,110.73,281.01,197.00" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Figure 6 :</head><label>6</label><figDesc>Figure 6: Processes to run in model</figDesc><graphic coords="6,235.65,411.25,123.70,183.25" type="bitmap" /></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<monogr>
		<title level="m" type="main">Conversaciones entre la inteligencia artificial y el derecho</title>
		<author>
			<persName><forename type="first">Coddou</forename><surname>Mc Manus</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename></persName>
		</author>
		<imprint>
			<date type="published" when="2008">2008</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Metodología para el desarrollo de sistemas jurídicos de inteligencia artificial: el prototipo ARPO-2 como ejemplo</title>
		<author>
			<persName><forename type="first">F</forename><forename type="middle">G</forename><surname>Ayuda</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><forename type="middle">P L</forename><surname>Calleja</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Scire: Representación y Organización del conocimiento</title>
		<imprint>
			<biblScope unit="volume">1</biblScope>
			<biblScope unit="issue">2</biblScope>
			<biblScope unit="page" from="73" to="103" />
			<date type="published" when="1995">1995</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Un Sistema Experto Legal para la Individualización y Acuerdos para Penas</title>
		<author>
			<persName><forename type="first">S</forename><surname>Gómez</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Perichinsky</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Garcia Martinez</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="s">Proceedings del Simposio Argentino de Informática y Derecho. Pág</title>
		<imprint>
			<biblScope unit="page" from="23" to="33" />
			<date type="published" when="2001-09">2001. September</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<title level="m" type="main">aplicabilidad de la inteligencia artificial y la tecnología blockchain en el derecho contractual privado</title>
		<author>
			<persName><forename type="first">Jorge Almonacid</forename><surname>Sierra</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename></persName>
		</author>
		<imprint/>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<title level="m" type="main">Inteligencia artificial aplicada al derecho</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">F</forename><surname>Samacá González</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">¿Seguirán existiendo jueces en el futuro?: el razonamiento judicial y la inteligencia artificial</title>
		<author>
			<persName><forename type="first">F</forename><surname>De Trazegnies Granda</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Ius et Veritas</title>
		<imprint>
			<biblScope unit="volume">47</biblScope>
			<biblScope unit="page" from="112" to="130" />
			<date type="published" when="2013">2013</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<monogr>
		<title level="m" type="main">La responsabilidad civil en el derecho privado colombiano de la robótica con inteligencia artificial</title>
		<author>
			<persName><forename type="first">C</forename><forename type="middle">F</forename><surname>Gordillo Rodríguez</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">La inteligencia artificial (IA): Aplicación jurídica y regulación en los servicios de salud</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">E C</forename><surname>Benito</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">DS: Derecho y salud</title>
		<imprint>
			<biblScope unit="volume">29</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page" from="265" to="277" />
			<date type="published" when="2019">2019</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
