- Linear Regression - To make predictions for sales forecast, price optimization, marketing optimization, financial risk assessment.
- Logistic Regression - To predict customer churn, to predict response versus advertisement spending, predict lifetime value of customer, and to monitor how business decisions affect predicted churn rates.
- Naive Bayes - Build spam detector, analyze customer sentiments, or automatically categorize products, customers or competitors.
- K-means clustering - Useful for cost modeling and customer segmentation
- Hierarchical clustering - Model business processes, or to segment customers based on survey responses, hierarchical clustering will probably come in handy.
- K-nearest neighbor classification - Type of instance based learning. use it for text document classification, financial distress prediction modeling, and competitor analysis and classification.
- Principal component analysis - Dimensionality reduction method that you can use for detecting fraud, for speech recognition, and for spam detection.
Input Collection - [ { 'k' : 'Troubleshooting' , 'hour' : '2024-10-10T16' , 'v' : [ 'WebPage, Login' ] }, { 'k' : 'TroubleshootingMe' , 'hour' : '2024-10-07T01' , 'v' : [ 'Accounts, etc' ] } ] Expected Output - [ { 'hour' : '2024-10-10T16' , 'Troubleshooting' : [ 'WebPage, Login' ] }, { 'hour' : '2024-10-07T01' , 'TroubleshootingMe' : [ 'Accounts, etc' ] } ] Above Can be achieved by $replaceRoot / $replaceWith as follows - { $replaceWith : { $mergeObjects : [ { hour : "$hour" }, { "$arrayToObject" : [ [ { k : "$k" , v : "$v" } ] ] } ] } } or { $replaceRoo...
Comments
Post a Comment