We are currently showing the back-end exception in failed model's log. We'll see if Spark gives a meaningful error in this case, and if it is giving such it should ideally be seen here. I wonder whether Spark hides the real error in this case. We'll check it. Thanks.
On Tue, Jul 14, 2015 at 5:41 PM, Srinath Perera <[email protected]> wrote: > +1 please create a issue and if possible fix to give a nicer error. > > On Tue, Jul 14, 2015 at 5:31 PM, Maheshakya Wijewardena < > [email protected]> wrote: > >> 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 <[email protected]> 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 >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Pruthuvi Maheshakya Wijewardena >> Software Engineer >> WSO2 : http://wso2.com/ >> Email: [email protected] >> Mobile: +94711228855 >> >> >> > > > -- > ============================ > 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 > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thanks & regards, Nirmal Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
