Dear community,
I was wondering if it is possible to combine permutation test score with
leaveOneOut cross validation
My code:
>>>loo = cross_validation.LeaveOneOut(len(age))
>>> score, permutation_scores, pvalue =
>>> cross_validation.permutation_test_score(svr_rbf, ALL,age,
>>> scoring='mean_squared_error', cv=loo, n_permutations=10, n_jobs=-1)
returned me the same permutation score for all the permutations...
>>> permutation_scores
array([-8.37920475, -8.37920475, -8.37920475, -8.37920475, -8.37920475,
-8.37920475, -8.37920475, -8.37920475, -8.37920475, -8.37920475])
Thanks a lot for any suggestion,
Fabrizio
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general