Skip to content
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

Merged
merged 6 commits into from
Sep 6, 2017
Merged

SvmTrain #10

merged 6 commits into from
Sep 6, 2017

Conversation

ben-albrecht
Copy link
Collaborator

@ben-albrecht ben-albrecht commented Aug 22, 2017

Started SvmTrain - work-in-progress

  • Reads in data
  • Calls calcKernel
  • Also updated Makefiles for pulling datasets

Ben Albrecht added 6 commits August 18, 2017 22:41
To see the available datasets, use:

```bash
make help
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this Makefile!

use KernelType;


// TODO: Chapelify these names!
Copy link
Owner

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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:
Copy link
Owner

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.

Copy link
Collaborator Author

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.

Copy link
Owner

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?

@ben-albrecht ben-albrecht merged commit e0ac2ee into pgrew:master Sep 6, 2017
@ben-albrecht ben-albrecht deleted the psvm-predict branch September 6, 2017 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants