I have few queries which is listed below.
- 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?
- 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.
- 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.