This is because Abolone dataset is a multi-class classification dataset
(response variable has values - M, F, and I) and SVM supports only binary
classification. No more than 2 distinct values should be there in response
variable.

Maybe we need to tell this in a nicer way rather than just saying that
"input validation failed".

On Tue, Jul 14, 2015 at 4:56 PM, Srinath Perera <srin...@wso2.com> wrote:

> Got the following error tying the dataset
> https://archive.ics.uci.edu/ml/datasets/Abalone. Please check.
> --Srinath
>
> An error occurred while building supervised machine learning model: An
> error occurred while building SVM model: Input validation failed. Model
> Configuration [algorithmName=SVM, algorithmClass=Classification,
> responseVariable=M, trainDataFraction=0.7, hyperParameters={Iterations=100,
> SGD_Data_Fraction=1, Reg_Type=L1, Reg_Parameter=0.001,
> Learning_Rate=0.001}, features=[Feature [name=0.095, index=3,
> type=NUMERICAL, imputeOption=DISCARD, include=true], Feature [name=0.101,
> index=6, type=NUMERICAL, imputeOption=DISCARD, include=true], Feature
> [name=0.15, index=7, type=NUMERICAL, imputeOption=DISCARD, include=true],
> Feature [name=0.2245, index=5, type=NUMERICAL, imputeOption=DISCARD,
> include=true], Feature [name=0.365, index=2, type=NUMERICAL,
> imputeOption=DISCARD, include=true], Feature [name=0.455, index=1,
> type=NUMERICAL, imputeOption=DISCARD, include=true], Feature [name=0.514,
> index=4, type=NUMERICAL, imputeOption=DISCARD, include=true], Feature
> [name=15, index=8, type=NUMERICAL, imputeOption=DISCARD, include=true],
> Feature [name=M, index=0, type=CATEGORICAL, imputeOption=DISCARD,
> include=true]]]
>
> --
> ============================
> Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
> Site: http://people.apache.org/~hemapani/
> Photos: http://www.flickr.com/photos/hemapani/
> Phone: 0772360902
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pruthuvi Maheshakya Wijewardena
Software Engineer
WSO2 : http://wso2.com/
Email: mahesha...@wso2.com
Mobile: +94711228855
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to