Entradas

Creating an Ubuntu Server in Azure and Connecting through SSH

  Here's a step-by-step guide to create an Ubuntu server in Azure: Sign in to the Azure portal: Go to https://portal.azure.com/ and sign in using your Microsoft account credentials. Create a new resource: In the left-hand menu, click on "Create a resource" (the plus icon). This will open the Azure Marketplace. Search for Ubuntu: In the search bar, type "Ubuntu" and hit enter. You'll see a list of available Ubuntu Server images. Select an Ubuntu image: Choose an Ubuntu image, such as "Ubuntu Server 18.04 LTS" or "Ubuntu Server 20.04 LTS" provided by Canonical. Click on the desired image to proceed. Click "Create": On the image description page, click the "Create" button to start configuring your virtual machine. Configure basic settings: a. Subscription: Choose your Azure subscription. b. Resource group: Create a new resource group or choose an existing one. c. Virtual machine name: Enter a unique name for your virtual

How to Create a Bridge Between OpenAI ChatGPT and your applications

With this post, you will accomplish the following: Set up a Flask app on an Ubuntu server hosted on Azure to create a bridge between ChatGPT-4 and your applications. The Flask app listens on port 8080 and exposes an API endpoint to generate text based on the provided input. Secure the Flask app with an SSL certificate using Let's Encrypt and Certbot, ensuring that the API is accessible over HTTPS. Configure Nginx as a reverse proxy to forward requests to the Flask app, enabling the app to be accessed using your custom domain name. Create a Web Source Module in Oracle APEX to consume the Flask app's API. This involves configuring the API endpoint, HTTP method, authentication, and required parameters in APEX. The Web Source Module can be used in various components within your APEX application, such as Interactive Reports, Classic Reports, or Interactive Grids. Throughout the post, I will provide detailed instructions, code snippets, and troubleshooting steps to guide you in setti

Machine Learning - Decision Trees and Random Forests for Classification and Regression - Python Example using Real Data

 I've written the following code as an example of an application for Decision Trees and Random Forests for Classification and Regression using Python code and libraries with a downloadable CSV with real data about US housing prices and characteristics. The Use Case You want to predict the price of a property using training data for the machine learning supervised algorithms of Random Forests and Classification and Regression. The principle is very simple, you have a set of historic data, this can be separated into training data and test data for our algorithms, and determine the accuracy of each algorithm to see which one is better for this sample data. CSV File The file and be downloaded from my repository here . https://github.com/Markuspg1/machine-learning1 Loading CSV File Function Here's a python function that will help you upload any csv file going forward. Using the following code you can test this function, we use it now to upload the CSV into our df variable. Use the f
Imagen
Recomendaciones para trabajo desde casa: (3 mins) Llevo 5 años contando con la opción de trabajar remoto en Guatemala y Estados Unidos, únicamente visitando a nuestros clientes cuando es necesario en tiempos de planeación, capacitación, etc. En estos años he enfrentado varios retos estoy seguro muchos de ustedes también enfrentarán al tener esta opción, por lo que pongo a disposición mi experiencia para que puedan utilizar según les convenga. Problema: El reto más grande para mí fue lograr transmitir el mensaje de “estoy trabajando” al estar en casa rodeado de miembros de familia, muchas veces para mi mamá era pedirme favor que la lleve al super, que vaya por las tortillas, que corte la grama porque yo estoy en casa y mis hermanos están trabajando y yo no.  Mi solución: -Hay que tener conversaciones con ellos sobre su horario de trabajo y la importancia de cumplir con las tareas asignadas. -Aislarse en una parte de la casa donde puedan tener privacidad. -Tener un l

Fuze Box Business Model Canvas

Los riesgos “La, la. La, la. Si siempre hace lo que siempre ha hecho, siempre obtendrá lo que siempre ha obtenido. Así que para que su vida mejore, tiene que correr riesgos”. (Anónimo) ¿Cómo hará sus movimientos de carrera durante los años de su vida que dedique a trabajar? ¿Quiere hacer lo que siempre ha hecho o quiere tentar la suerte? ¿Se siente a gusto de tentar la suerte? Correr riesgos en la carrera no tiene por qué ser una apuesta. Correr riesgos responsablemente puede hacer que los resultados sean más previsibles. Veamos algunas sugerencias para correr riesgos de manera responsable y eficaz al tomar decisiones profesionales. Es importante investigar exhaustivamente el riesgo. Antes de arriesgarse en su carrera, piense en lo que perdería o en quién saldría dañado. ¿Qué importancia tienen para usted esas cosas y esas personas? Indague si puede alcanzar su meta de otra manera para no correr riesgos innecesarios. Averigüe todo lo que concierne a este riesgo en su

Expresiones Regulares

Expresiones Regulares En base al lenguaje establecido, se escribieron las expresiones regulares para los siguientes componentes léxicos: Lenguaje: U = {conjunto formado por todos los símbolos del lenguaje} (conjunto universo) L = {A,B,C,…,Z,a,b,c,…,z} N = {0,1,2,3,…,9} “_” = Guion bajo . = Punto ‘+’ , ’-‘ , ’*’ , ’/’ = Sean los símbolos de operaciones matemáticas /*…*/ = Comentario                        1-       Identificadores: L(L|N|”_”)*              2-       Números (-)?N+(.N+)?              3-       Comentarios /* U* */              4-       Operaciones Matemáticas (-)?N+(.N+)? (‘+’|’-‘|’*’|’/’) (-)?N+(.N+)? ( (‘+’|’-‘|’*’|’/’) (-)?N+(.N+)? ) *                                    O bien,                  Sea Numero = (-)?N+(.N+)?                  Y Signo = (‘+’|’-‘|’*’|’/’)                  Entonces, Numero Signo Numero (Signo Numero)*