Data mining series (2)_Excel data mining plug-in to connect to SQL Server

1. Connection

My Computer - "Right Click -" Manage - "

insert image description here
will MSSQLServerOLAPServiceopen:

insert image description here
Open SQL Server:
insert image description here
insert image description here
Create a new database:
insert image description here

Open the data mining plug-in of Excel:
insert image description here
insert image description here
insert image description here
the connection is successful at this time.
insert image description here
At this point, you can use Excel to complete the data mining work:
insert image description here

2. Use

Simply use the data to familiarize yourself with the functions of data mining:

1. Data browsing function

insert image description here
First, Ctrl+A selects all the data
insert image description here
insert image description here
insert image description here
. This is similar to cut and qcut in python.

2. Data classification

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
The structure just created above can also be found in SQL Server:
insert image description here
right-click and select Browse:
insert image description here
At this time, you can also see the mining model in Excel in SQL Server
insert image description here

Guess you like

Origin blog.csdn.net/wxfighting/article/details/124329699