-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SvmTrain #10
SvmTrain #10
Conversation
TODO: Add useful dataset details in help output?
- Add Makefile - More skeleton code - Lots of TODOs!
To see the available datasets, use: | ||
|
||
```bash | ||
make help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this Makefile!
src/psvm/SvmTrain.chpl
Outdated
use KernelType; | ||
|
||
|
||
// TODO: Chapelify these names! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do I Chapelify a name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chapel tends to use camelCase
naming for variables, functions, object instances, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no official Chapel style guide (today), but some of the stylistic guidelines are being discussed in #6698
proc innerProduct(a: Sample, b: Sample) { | ||
var norm: real; | ||
|
||
// TODO: Refactor as iterator: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good exercise for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly! I'm happy to help you with that, if you're interested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind pushing this branch?
Started
SvmTrain
- work-in-progresscalcKernel