how to increase a weight for two class

Dear Sir, i am doing binary classification to find the four attacks from KDD'99 , i find two attacks very easily but two can't. U2R & R2l. as I am beginner of Mat lab , one can advice me that add a weights of U2R and R2l samples in your code how i can do this please help me in the code, i don't known how to do this, i will remain thankful to you for your help.

Answers (1)

You appear to be addressing the authors of Sparse Learning with Efficient Projections, which is a third party package, not written by Mathworks, and not present in the File Exchange.
We have no chance of answering the question without you at the very least showing your coding.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Tags

Asked:

on 19 Oct 2015

Edited:

on 9 Nov 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!