楼主: ReneeBK
2547 19

Java Data Analysis [推广有奖]

  • 1关注
  • 62粉丝

VIP

学术权威

14%

还不是VIP/贵宾

-

TA的文库  其他...

R资源总汇

Panel Data Analysis

Experimental Design

威望
1
论坛币
49517 个
通用积分
53.5804
学术水平
370 点
热心指数
273 点
信用等级
335 点
经验
57815 点
帖子
4006
精华
21
在线时间
582 小时
注册时间
2005-5-8
最后登录
2023-11-26

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

本帖隐藏的内容

Java Data Analysis.rar (15.79 MB, 需要: 10 个论坛币) 本附件包括:
  • Java Data Analysis.azw3

  1. English | 19 Sept. 2017 | ISBN: 1787285650 | ASIN: B071DF8JSQ | 412 Pages | AZW3 | 19.95 MB


  2. Key Features

  3. Get your basics right for data analysis with Java and make sense of your data through effective visualizations.
  4. Use various Java APIs and tools such as Rapidminer and WEKA for effective data analysis and machine learning.
  5. This is your companion to understanding and implementing a solid data analysis solution using Java

  6. Book Description

  7. Data analysis is a process of inspecting, cleansing, transforming, and modeling data with the aim of discovering useful information. Java is one of the most popular languages to perform your data analysis tasks.

  8. This book will help you learn the tools and techniques in Java to conduct data analysis without any hassle. After getting a quick overview of what data science is and the steps involved in the process, you'll learn the statistical data analysis techniques and implement them using the popular Java APIs and libraries. Through practical examples, you will also learn the machine learning concepts such as classification and regression.

  9. In the process, you'll familiarize yourself with tools such as Rapidminer and WEKA and see how these Java-based tools can be used effectively for analysis. You will also learn how to analyze text and other types of multimedia. Learn to work with relational, NoSQL, and time-series data. This book will also show you how you can utilize different Java-based libraries to create insightful and easy to understand plots and graphs.

  10. By the end of this book, you will have a solid understanding of the various data analysis techniques, and how to implement them using Java.

  11. What you will learn

  12. Develop Java programs that analyze data sets of nearly any size, including text
  13. Implement important machine learning algorithms such as regression, classification, and clustering
  14. Interface with and apply standard open source Java libraries and APIs to analyze and visualize data
  15. Process data from both relational and non-relational databases and from time-series data
  16. Employ Java tools to visualize data in various forms
  17. Understand multimedia data analysis algorithms and implement them in Java.

  18. About the Author

  19. John R. Hubbard has been doing computer-based data analysis for over 40 years at colleges and universities in Pennsylvania and Virginia. He holds an MSc in computer science from Penn State University and a PhD in mathematics from the University of Michigan. He is currently a professor of mathematics and computer science, Emeritus, at the University of Richmond, where he has been teaching data structures, database systems, numerical analysis, and big data.

  20. Dr. Hubbard has published many books and research papers, including six other books on computing. Some of these books have been translated into German, French, Chinese, and five other languages. He is also an amateur timpanist.

  21. Table of Contents

  22. Introduction to Data Analysis
  23. Data Preprocessing
  24. Data Visualization
  25. Statistics: Elementary statistical methods and their implementation in Java
  26. Relational Database Access
  27. Regression Analysis
  28. Classification Analysis
  29. Cluster Analysis
  30. Recommender Systems
  31. Working with NoSQL Databases
  32. Big Data Analysis with Java
  33. Appendix A
复制代码



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Analysis Analysi alysis Analys Analy

本帖被以下文库推荐

沙发
ekscheng 发表于 2017-9-28 09:58:54 |只看作者 |坛友微信交流群
这个尚未被和谐,快下!
已有 1 人评分论坛币 收起 理由
Nicolle + 20 精彩帖子

总评分: 论坛币 + 20   查看全部评分

使用道具

藤椅
joshwa001 发表于 2017-9-28 10:19:01 |只看作者 |坛友微信交流群
  1. /*  Data Analysis with Java
  2. *  John R. Hubbard
  3. *  March 30, 2017
  4. */

  5. package dawj.ch02;

  6. import java.io.File;
  7. import java.io.FileNotFoundException;
  8. import java.io.FileOutputStream;
  9. import java.io.IOException;
  10. import java.util.Map;
  11. import java.util.Scanner;
  12. import java.util.Set;
  13. import java.util.TreeMap;
  14. import org.apache.poi.hssf.usermodel.HSSFRow;
  15. import org.apache.poi.hssf.usermodel.HSSFSheet;
  16. import org.apache.poi.hssf.usermodel.HSSFWorkbook;

  17. public class FromMapToExcel {
  18.     public static void main(String[] args) {
  19.         Map<String,Integer> map = new TreeMap();
  20.         load(map, "data/Countries.dat");
  21.         print(map);
  22.         storeXL(map, "data/Countries.xls", "Countries Worksheet");
  23.     }
  24.    
  25.     /** Loads the data from the specified file into the specified map.
  26.     */
  27.     public static void load(Map map, String fileSpec) {
  28.         File file = new File(fileSpec);
  29.         try {
  30.             Scanner input = new Scanner(file);
  31.             while (input.hasNext()) {
  32.                 String country = input.next();
  33.                 int population = input.nextInt();
  34.                 map.put(country, population);
  35.             }
  36.         } catch (FileNotFoundException e) {
  37.             System.out.println(e);
  38.         }
  39.     }
  40.    
  41.     public static void print(Map map) {
  42.         Set countries = map.keySet();
  43.         for (Object country : countries) {
  44.             Object population = map.get(country);
  45.             System.out.printf("%-10s%,12d%n", country, population);
  46.         }
  47.     }
  48.    
  49.     /** Stores the specified map in the specified worksheet of
  50.         the specified Excel workbook file.
  51.      * @param map
  52.      * @param fileSpec
  53.      * @param sheet
  54.     */
  55.     public static void storeXL(Map map, String fileSpec, String sheet) {
  56.         try {
  57.             FileOutputStream out = new FileOutputStream(fileSpec);
  58.             HSSFWorkbook workbook = new HSSFWorkbook();
  59.             HSSFSheet worksheet = workbook.createSheet(sheet);
  60.             Set countries = map.keySet();
  61.             short rowNum = 0;
  62.             for (Object country : countries) {
  63.                 Object population = map.get(country);
  64.                 HSSFRow row = worksheet.createRow(rowNum);
  65.                 row.createCell(0).setCellValue((String)country);
  66.                 row.createCell(1).setCellValue((Integer)population);
  67.                 ++rowNum;
  68.             }
  69.             workbook.write(out);
  70.             out.flush();
  71.             out.close();
  72.         } catch (FileNotFoundException e) {
  73.             System.err.println(e);
  74.         } catch (IOException e) {
  75.             System.err.println(e);
  76.         }
  77.     }
  78. }
复制代码

已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

使用道具

板凳
MouJack007 发表于 2017-9-28 11:18:31 |只看作者 |坛友微信交流群
  1. /*  Java Data Analysis
  2. *  John R. Hubbard
  3. *  Sep 13, 2017
  4. */

  5. package dawj.ch02;

  6. import java.io.File;
  7. import java.io.FileNotFoundException;
  8. import java.util.HashSet;
  9. import java.util.Scanner;
  10. import java.util.Set;
  11. import java.util.TreeMap;

  12. public class FilteringData {
  13.     private static final int MIN_AREA = 1000000;  // one million
  14.     public static void main(String[] args) {
  15.         File file = new File("data/Countries.dat");
  16.         Set<Country> dataset = readDataset(file);
  17.         
  18.         for (Country country : dataset) {
  19.             if (country.landlocked && country.area >= MIN_AREA) {
  20.                 System.out.println(country);
  21.             }
  22.         }
  23.     }
  24.    
  25.     public static Set readDataset(File file) {
  26.         Set<Country> set = new HashSet();
  27.         try {
  28.             Scanner input = new Scanner(file);
  29.             input.nextLine();  // read past headers
  30.             while (input.hasNextLine()) {
  31.                 set.add(new Country(input));
  32.             }
  33.             input.close();
  34.         } catch (FileNotFoundException e) {
  35.             System.out.println(e);
  36.         }
  37.         return set;
  38.     }
  39. }

  40. /*
  41. run:
  42. Niger        21,563,607    1,268,447 true
  43. Mali         18,689,966    1,221,566 true
  44. Chad         14,965,482    1,257,604 true
  45. Bolivia      11,052,864    1,083,614 true
  46. */
复制代码

已有 1 人评分论坛币 收起 理由
Nicolle + 20 鼓励积极发帖讨论

总评分: 论坛币 + 20   查看全部评分

使用道具

报纸
MouJack007 发表于 2017-9-28 11:19:33 |只看作者 |坛友微信交流群
  1. /*  Java Data Analysis
  2. *  John R. Hubbard
  3. *  Sep 13, 2017
  4. */

  5. package dawj.ch02;

  6. import java.io.File;
  7. import java.io.FileNotFoundException;
  8. import java.util.HashMap;
  9. import java.util.Scanner;

  10. public class HashMapExample {
  11.     public static void main(String[] args) {
  12.         File dataFile = new File("data/Countries.dat");
  13.         HashMap<String,Integer> dataset = new HashMap();
  14.         try {
  15.             Scanner input = new Scanner(dataFile);
  16.             while (input.hasNext()) {
  17.                 String country = input.next();
  18.                 int population = input.nextInt();
  19.                 dataset.put(country, population);
  20.             }
  21.         } catch (FileNotFoundException e) {
  22.             System.out.println(e);
  23.         }
  24.         System.out.printf("dataset.size(): %d%n", dataset.size());
  25.         System.out.printf("dataset.get(\"Peru\"): %,d%n", dataset.get("Peru"));
  26.     }
  27. }
复制代码

已有 1 人评分论坛币 收起 理由
Nicolle + 20 精彩帖子

总评分: 论坛币 + 20   查看全部评分

使用道具

地板
雨季黎明 在职认证  发表于 2017-9-28 23:18:55 |只看作者 |坛友微信交流群

Merging Files

  1. /*  Data Analysis with Java
  2. *  John R. Hubbard
  3. *  March 30, 2017
  4. */

  5. package dawj.ch02;

  6. import java.io.File;
  7. import java.io.FileNotFoundException;
  8. import java.io.PrintWriter;
  9. import java.util.Scanner;

  10. public class MergingFiles {
  11.     public static void main(String[] args) {
  12.         File inFile1 = new File("data/Countries1.dat");
  13.         File inFile2 = new File("data/Countries2.dat");
  14.         File outFile = new File("data/Countries.dat");
  15.         try {
  16.             Scanner in1 = new Scanner(inFile1);
  17.             Scanner in2 = new Scanner(inFile2);
  18.             PrintWriter out = new PrintWriter(outFile);
  19.             Country country1 = new Country(in1);
  20.             Country country2 = new Country(in2);  
  21.             System.out.println(country1.hashCode());
  22.             System.out.println(country2.hashCode());
  23.             while (!country1.isNull() && !country2.isNull()) {
  24.                 if (country1.compareTo(country2) < 0) {
  25.                     out.println(country1);
  26.                     country1 = new Country(in1);
  27.                 } else {
  28.                     out.println(country2);
  29.                     country2 = new Country(in2);
  30.                 }
  31.             }
  32.             while (!country1.isNull()) {
  33.                 out.println(country1);
  34.                 country1 = new Country(in1);
  35.             }
  36.             while (!country2.isNull()) {
  37.                 out.println(country2);
  38.                 country2 = new Country(in2);
  39.             }
  40.             in1.close();
  41.             in2.close();
  42.             out.close();
  43.         } catch (FileNotFoundException e) {
  44.             System.out.println(e);
  45.         }
  46.     }
  47. }
复制代码

已有 1 人评分论坛币 收起 理由
Nicolle + 20 精彩帖子

总评分: 论坛币 + 20   查看全部评分

使用道具

7
soccy 发表于 2017-9-28 23:36:02 |只看作者 |坛友微信交流群
  1. /*  Data Analysis with Java
  2. *  John R. Hubbard
  3. *  March 30, 2017
  4. */

  5. package dawj.ch02;

  6. import java.io.File;
  7. import java.io.FileNotFoundException;
  8. import java.util.HashMap;
  9. import java.util.Scanner;

  10. public class ReadingCSVFiles {
  11.     public static void main(String[] args) {
  12.         File dataFile = new File("data/Countries.csv");
  13.         try {
  14.             Scanner input = new Scanner(dataFile);
  15.             input.useDelimiter(",|\\s");
  16.             String column1 = input.next();
  17.             String column2 = input.next();
  18.             System.out.printf("%-10s%12s%n", column1, column2);
  19.             while (input.hasNext()) {
  20.                 String country = input.next();
  21.                 int population = input.nextInt();
  22.                 System.out.printf("%-10s%,12d%n", country, population);
  23.             }
  24.         } catch (FileNotFoundException e) {
  25.             System.out.println(e);
  26.         }
  27.     }
  28. }
复制代码

已有 1 人评分论坛币 收起 理由
Nicolle + 20 精彩帖子

总评分: 论坛币 + 20   查看全部评分

使用道具

8
fengyg 企业认证  发表于 2017-9-29 08:42:06 |只看作者 |坛友微信交流群
  1. /*  Data Analysis with Java
  2. *  John R. Hubbard
  3. *  March 30, 2017
  4. */

  5. package dawj.ch02;

  6. import java.io.File;
  7. import java.io.FileNotFoundException;
  8. import java.util.Collections;
  9. import java.util.HashMap;
  10. import java.util.Scanner;
  11. import java.util.Set;
  12. import java.util.TreeMap;

  13. public class SortingData {
  14.     public static void main(String[] args) {
  15.         File file = new File("data/Countries.dat");
  16.         TreeMap<Integer,String> dataset = new TreeMap();
  17.         try {
  18.             Scanner input = new Scanner(file);
  19.             while (input.hasNext()) {
  20.                 String x = input.next();
  21.                 int y = input.nextInt();
  22.                 dataset.put(y, x);
  23.             }
  24.             input.close();
  25.         } catch (FileNotFoundException e) {
  26.             System.out.println(e);
  27.         }
  28.         print(dataset);
  29.     }
  30.    
  31.     public static void print(TreeMap<Integer,String> map) {
  32.         for (Integer key : map.keySet()) {
  33.             System.out.printf("%,12d  %-16s%n", key, map.get(key));
  34.         }
  35.     }
  36. }
复制代码

已有 1 人评分论坛币 收起 理由
Nicolle + 20 精彩帖子

总评分: 论坛币 + 20   查看全部评分

使用道具

9
Nicolle 学生认证  发表于 2018-9-22 21:26:41 |只看作者 |坛友微信交流群
提示: 作者被禁止或删除 内容自动屏蔽

使用道具

10
Nicolle 学生认证  发表于 2018-9-22 21:27:19 |只看作者 |坛友微信交流群
提示: 作者被禁止或删除 内容自动屏蔽

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-11-8 07:32