Quantcast
Channel: Data Science, Analytics and Big Data discussions - Topics tagged data_science
Viewing all articles
Browse latest Browse all 787

Assign weights and parameterize input variables using R

$
0
0

@Rajaram1986 wrote:

Hi Friends,

I have few queries which is listed below.
1. How to assign weights to variables While building a model. Say I have four input variables(X1,X2,X3,X4) and one output variable (Y). I want to assign weights( X1=50%,X2=20%,X3=10%,X4=20%). Can someone explain how to do this using R?
2. Is it possible to parameterize the weights of input variable on a deployed R model. Say the user feeds in the weights of variables through a console(Code should not be modified each and every time(no manual intervention)when the user alters the weight). One more example would be the user might specify the number of clusters (Say K=5) and dynamically the values has to be passed to R model and new clusters should be displayed.
3. Say my bank has 1000 customers, and I have formed 4 clusters of 250 customers in each luster. When a new customer is added, should I re-run the entire cluster on all(1000+1 =1001 customers)? Or is they other ways of doing it.

Thanks,Rajaram

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 787

Trending Articles