This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#importacion de metodo random | |
from random import uniform as rand | |
#declaracion de variables | |
aprendiendo=True | |
weights=[rand(-1,1),rand(-1,1)] | |
bias=rand(-1,1) | |
iteraciones=0 | |
#tabla de la verdad y datos de entrada y saldia | |
datos=[ | |
[1,1,1], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
namespace App1 | |
{ | |
class Perceptron | |
{ | |
//peceptron simple | |
static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
*{ | |
font-family: calibri; | |
margin: 0; | |
padding: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
*{ | |
font-family: calibri; | |
margin: 0; | |
padding: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { DateTime } = require("luxon"); | |
// datos de entrada | |
const currentDate = DateTime.now().setZone("America/New_York"); | |
const horasDeSla = 12; //300 min | |
// horas de configuracion | |
const horaDeInicioDeJornada = 8; | |
const horaDeInicioDeAlmuerzo = 12; | |
const horaDeFinDeJornada = 17; |