MOA (Massive Online Analysis) is a great opensource and free software for data stream mining. If you are an enthusiastic of machine learning, classification or clustering, you should try it. You can work with MOA using the GUI, as well as the command line interface via Java. If you are using the graphical interface, you [...]
Me ha costado averiguar cómo se calcula la edad de una persona usando Java, así que dejo aquí mi solución por si a alguien más le pudiera servir. public int calcularEdad(Calendar fechaNac){ Calendar today = Calendar.getInstance(); int diff_year = today.get(Calendar.YEAR) – fechaNac.get(Calendar.YEAR); int diff_month = today.get(Calendar.MONTH) – [...]
Me ha costado demasiadas búsquedas en Google cómo leer un mísero archivo de texto en Java. Os dejo la solución que encontré aquí. import java.io.BufferedReader; import java.io.File; import java.io.FileReader; public class MainClass { public static void main(String[] a) { FileReader fr; try { fr = new FileReader [...]
The Power of Mind es el blog personal de DraXus, orientado a temas de Informática, Software Libre e Internet. Más sobre el autor…
Últimos comentarios