The RFM model: R (Recency) indicates how long the customer's last purchase was, and F (Frequency) represents the number of times the customer purchased in the most recent period, and M (monetary) represents the amount the customer purchased in the most recent period. The general raw data is 3 fields: Customer ID, purchase time, purchase amount, processed with data mining software, weighted (consider weight) get RF
Case: rfm analysis of member customer transaction data using Excel
Background:
A Member Service Enterprise has about 1200 member customers in the past year. As the company wants to activate promotions for different categories of inactive customers, it also plans to launch a series of promotions for key customers to retain these customers and maintain their activity. Therefore, we hope to use this data for customer classification research.
Analysis:
T
RFM model
In many customer value analysis models, the RFM model is widely used, especially in the retail and enterprise Services areas as a classic classification method. Its core definition is from the basic transaction data, with the help of the appropriate clustering algorithm, reflecting the more intuitive classification of customers, for the lack of data analysis and machine learning technology s
Operating system: Windows Server R2 (64-bit)C:\Windows\System32\WindowsPowerShell\v1.0\Modules under the Servermanager, but still can not find.To solve this problem, it takes 2 steps:1. Implementation strategy in PowerShell (execution policy)One reason is that the default execution policy for PowerShell is restricted, which means that you can run a single command, but you cannot run scripts, including format and configuration files (. ps1xml), module
The following content of this article will be updated here: "http-flv Live Module (nginx-http-flv-module) based on Nginx-rtmp-module module" continued. Note: Many of the configurations below are no longer available because the implementation is somewhat different from the earlier implementations. In order to see the hi
one, sys module1. Definition:A module that interacts with the Python interpreter2, sys module commonly used methods(1) sys.argv methodDefinition: Command line Arguments list, the first element is the path of the program itselfCases:Import Sysprint (SYS.ARGV) # SYS.ARGV just reflects the current module name, with a list of # and Pycharm software automatically adds
I. Hashlib module Python's hashlib provides a common digest algorithm, such as MD5,SHA1 and so on.Abstract the algorithm is also called hash algorithm and hashing algorithm. It uses a function to convert any length of data into a fixed length data string (usually represented by a 16-binary string). abstract the algorithm is to calculate the fixed-length summary digest by the Digest function f () to the data of arbitrary length, in order to find out
Python3 OS module sys module hashlib module, python3os Module
1 '''2 OS Module 3 very important module 4 '''5 import OS 6 # print (OS. getcwd () # Get the current working directory 7 # OS. chdir (r 'pathname') # change the curre
Python3 time module datetime module random module, python3time Module
1 '''2 time module 3 '''4 5 # import time 6 # print (help (time) # help () help 7 # print (time. time () # number of seconds (timestamp) from January 1, 1970-key 8 # time. sleep (3) # CPU does not work,
Time module of python module, time module of python ModuleTime
Three Forms of time
Timestamp: Generally, the timestamp indicates the offset calculated in seconds from 00:00:00, January 1, January 1, 1970. We run "type (time. time ()" and return the float type.
Formatted time String (Format String): '2017-12-06'
''' % Y two-digit year indicates
format, same as Time.strftime ()Stream: Specifies the output stream that will log, can specify output to Sys.stderr,sys.stdout or file, default output to Sys.stderr, stream is ignored when stream and filename are specified simultaneouslyLogging.getlogger ([name]): Create a Log object:Returns a logger instance that returns root logger if no name is specified. As long as name is the same, the returned logger instances are the same and only one, that is, the name and the logger instance are one by
the directory if it is empty, if the upper level is also empty, also delete, etc.# Os.removedirs (R ' a/b/c/d ')# Delete a file# Os.remove (R ' d ')# os.rename (' oldname ', ' newname ')# get file \ Directory information# Obj=os.stat (R '/users/zhangrenguo/pycharmprojects/passers-by dialogue/day18/os module. Py ')# print (obj)# The path delimiter for the current file# Print (OS.SEP)# line Delimiter# Print (OS.LINESEP)# Environment Delimiter# Print (O
Regular expressionsMeta-character quantifier (?)Metacharacters:.\w \d \s \w \d \s\ t \ \b() |[] [^]^ $Quantifiers:* + ?{n}, {n,}, {n,m}Re moduleHow to invoke the RE moduleFind: FindAll search match FinditerSplit and replace: Split Sub SubnCompile: Compile Save timeHow many places is the RE module used in?Quantifier: Indicates a match 0 or 1 timesAfter the quantifier: is the sign of the lazy matchGroup naming: (? pFindall/split Ungroup Priority: (?: Re
The seajs module depends on loading and module execution, and the seajs module depends on loading.
This article describes how to load dependencies between seajs modules and how to execute modules. The following is a detailed introduction.
Entry Method
Each program has an entry method, similar to c'smainFunctions and seajs are no exception. Series 1 demo is used o
In Nodejs, modules can be divided into core modules and file modules.
The core module is compiled into binary code, which can be referenced only with require notation, such as (Require (' net ')).
File module refers to a JS file, a JSON file, or a. node file. The path to add the file after referencing the file module:/.../.../xxx.js represents the absolute path
Python Road (13th) "Day21" Time module, random module, string module, verification code practiceOne, Time modulethree types of time representationIn Python, there are usually several ways to represent time:
Timestamp (timestamp): Typically, a timestamp represents an offset that is calculated in seconds, starting January 1, 1970 00:00:00. (from 1970 to no
Day5 module learning-sys module, day5 module-sys
Sys module
The sys module is a system-related module. The following describes common methods of the sys module:
1. sys. argv # command l
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.