Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 SVM error
The following error is due to svm code
clf = svm.SVR()
C:\Users\Ayaz\AppData\Roaming\Python\Python37\site-packages\sklearn\svm\ FutureWarning: The default value of gamma will change from 'auto' to 'scale' in version 0.22 to account better for unscaled features. Set gamma explicitly to 'auto' or 'scale' to avoid this warning. "avoid this warning.", FutureWarning)
Anybody knows how to fix it?
it's not error, but warning. as it says, specify gamma explicitly
clf = svm.SVR(gamma='auto') # or gamma='scale'

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)