Skip to content

Instantly share code, notes, and snippets.

@sleepingcat4
Created April 10, 2024 21:37
Show Gist options
  • Select an option

  • Save sleepingcat4/aa46f50c989fef9a2eb87ceacc379f29 to your computer and use it in GitHub Desktop.

Select an option

Save sleepingcat4/aa46f50c989fef9a2eb87ceacc379f29 to your computer and use it in GitHub Desktop.
from sklearn import svm
# Create an SVM classifier
classifier = svm.SVC()
## X Being the Energy
### Y Being the Pressure (Particle Beam Pressure)
classifier.fit(X, Y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment