Java programming parses by matching and merging data instances (data preprocessing)

This paper mainly studies the relevant contents of Java programming through matching and merging data (data preprocessing), as follows.

data description

The following procedure is to merge the data in the following format.

@H_ 403_ 11@

Each row of this table represents the user ID and user characteristics. Among them, a user has only one eigenvector, that is, the first column will not be repeated.

@H_ 403_ 11@

The first column of this table represents the user's ID, the second column represents the movie seen by the user, the third column represents the user's score on the movie (1-13 points), and the fourth column represents the user's score on the movie, but the score range is 1-5 points.

Problem description

How to add user characteristics to the second table during data preprocessing? In fact, the method is very simple. Just match the user ID of the second table with the user ID of the first table. The consolidated results are shown in the figure below.

@H_ 403_ 11@

Data processing program

summary

The above is all about the analysis (data preprocessing) of Java programming through matching and merging data instances. I hope it will be helpful to you. Interested friends can continue to refer to other relevant topics of this site. If there are deficiencies, please leave a message. Thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>