-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add basic business logic of training a model on a dataset #45
Conversation
…ng a model Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
ed257d7
to
4d09a9f
Compare
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
4f8fae3
to
0ab28aa
Compare
agent/service.go
Outdated
// Construct the Python script content with CSV data as a command-line argument | ||
script := string(algoContent) | ||
data := string(dataContent) | ||
socketPath := "unix_socket" |
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.
It would be good to put this file descriptor in some part of the file-system that is guaranteed to be in RAM - like for example in /tmp
.
Of course, verify previously that in our Linux config (fstab
or similar) /tmp
is mounted over tmpfs
in RAM.
- https://blog.programster.org/keep-tmp-in-ram
- https://forums.raspberrypi.com/viewtopic.php?t=226425
- https://askubuntu.com/questions/173094/how-can-i-use-ram-storage-for-the-tmp-directory-and-how-to-set-a-maximum-amount
- https://medium.com/@sandeeparneja/how-to-make-tmp-directory-use-ram-over-filesystem-d50bc1966aee
- https://lwn.net/Articles/499410/
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
1d05db3
to
7cb1916
Compare
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
38bf8f0
to
b78b15e
Compare
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
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.
LGTM
Add basic business logic of training a model on a dataset
closes #44