數(shù)據(jù)分析是包含檢查、清洗、轉(zhuǎn)化和建模的整個(gè)過程,旨在發(fā)現(xiàn)有用的信息。Java是實(shí)現(xiàn)數(shù)據(jù)分析任務(wù)的流行語言之一。
《Java數(shù)據(jù)分析(影印版 英文版)》將提供數(shù)據(jù)科學(xué)和相關(guān)流程步驟的快速概覽。你將從中學(xué)到統(tǒng)計(jì)數(shù)據(jù)分析技巧,并通過流行的Java API和類庫把它們實(shí)現(xiàn)。你還能在實(shí)際案例中學(xué)到諸如分類和回歸之類的機(jī)器學(xué)習(xí)概念。
在這個(gè)過程中,你將熟悉RapidMinet和Weka等工具,了解這些Java工具如何更有效地用于分析。還會(huì)學(xué)到如何與關(guān)系型、NoSQL和時(shí)間序列數(shù)據(jù)打交道。
《Java數(shù)據(jù)分析(影印版 英文版)》也將介紹如何利用不同的Java類庫創(chuàng)建富有洞見又容易理解的圖表。
學(xué)完《Java數(shù)據(jù)分析(影印版 英文版)》,你將對多種數(shù)據(jù)分析技巧和相應(yīng)的Java實(shí)現(xiàn)擁有扎實(shí)的基礎(chǔ)知識(shí)。
Preface
Chapter 1: Introduction to Data Analysis
Origins of data analysis
The scientific method
Actuarial science
Calculated by steam
A spectacular example
Herman Hollerith
ENIAC
VisiCalc
Data, information, and knowledge
Why Java?
Java Integrated Development Environments
Summary
Chapter 2: Data Pre_processing
Data types
Variables
Data points and datasets
Null values
Relational database tables
Key fields
Key-value pairs
Hash tables
File formats
Microsoft Excel data
XML and JSON data
Generating test datasets
Metadata
Data cleaning
Data scaling
Data filtering
Sorting
Merging
Hashing
Summary
Chapter 3: Data Visualization
Tables and graphs
Scatter plots
Line graphs
Bar charts
Histograms
Time series
Java implementation
Moving average
Data ranking
Frequency distributions
The normal distribution
A thought experiment
The exponential distribution
Java example
Summary
Chapter 4: Statistics
Descriptive statistics
Random sampling
Random variables
Probability distributions
Cumulative distributions
The binomial distribution
Multivariate distributions
Conditional probability
The independence of probabilistic events
Contingency tables
Bayes' theorem
Covariance and correlation
The standard normal distribution
The central limit theorem
Confidence intervals
Hypothesis testing
Summary
Chapter 5: Relational Databases
The relation data model
Relational databases
Foreign keys
Relational database design
Creating a database
SQL commands
Inserting data into the database
Database queries
SQL data types
JDBC
Using a JDBC PreparedStatement
Batch processing
Database views
Subqueries
Table indexes
Summary
Chapter 6: Regression Analysis
Linear regression
Linear regression in Excel
Computing the regression coefficients
Variation statistics
Java implementation of linear regression
Anscombe's quartet
Polynomial regression
Multiple linear regression
The Apache Commons implementation
Curve fitting
Summary
Chapter 7: Classification Analysis
Decision trees
What does entropy have to do with it?
The ID3 algorithm
Java Implementation of the ID3 algorithm
The Weka platform
The ARFF filetype for data
Java implementation with Weka
Bayesian classifiers
Java implementation with Weka
Support vector machine algorithms
Logistic regression
K-Nearest Neighbors
Fuzzy classification algorithms
Summary
Chapter 8: Cluster Analysis
Measuring distances
The curse of dimensionality
Hierarchical clustering
Weka implementation
K-means clustering
K-mecloids clustering
Affinity propagation clustering
Summary
Chapter 9: Recommender Systems
Utility matrices
Similarity measures
Cosine similarity
A simple recommender system
Amazon's item-to-item collaborative filtering recommender
Implementing user ratings
Large sparse matrices
Using random access files
The Netflix prize
Summary
Chapter 10: NoSQL Databases
The Map data structure
SQL versus NoSQL
The Mongo database system
The Library database
Java development with MongoDB
The MongoDB extension for geospatial databases
Indexing in MongoDB
Why NoSQL and why MongoDB?
Other NoSQL database systems
Summary
Chapter 11:Data Analysis with Java
Scaling, data striping, and sharding
Google's PageRank algorithm
Google's MapReduce framework
Some examples of MapReduce applications
The WordCount example
Scalability
Matrix multiplication with MapReduce
MapReduce in MongoDB
Apache Hadoop
Hadoop MapReduce
Summary
Appendix: Java Tools
The command line
Java
NetBeans
MySQL
MySQL Workbench
Accessing the MySQL database from NetBeans
The Apache Commons Math Library
The javax JSON Library
The Weka libraries
MongoDB
Index