freenode/lisp - IRC Chatlog
Search
20:49:48
puchacz
phoe: most ML is done by wrapping C++ or C libraries in Python, basically - how does it compare, do you know?
20:50:24
puchacz
with Matlab being astonishingly slow, and Python C/C++ fast, do you know where does cl-mlep sit?
21:13:27
puchacz
jfb4: I am on a course in a bank, there was just one class as of now, with neural network recognising handwriting digits, honestly I did not check the full curriculum.
21:13:53
puchacz
but I would like to know if a library can "scale" to be used out of the course as well
21:44:55
no-defun-allowed
puchacz: Depends on your compiler, but you should expect fairly close to C.
22:36:29
_death
I thought cl-online-learning would be cool for actual use, though I've not yet had the chance
0:04:40
no-defun-allowed
As in, (find-class '(your . cons)) will give you that class, or that the class-name of that class is your cons?
0:05:25
mfiano
The latter. Don't ask why. I think both of our heads would explode if I tried to explain it. It just seems like the best abstraction for a hard problem I've been trying to solve.
0:05:37
no-defun-allowed
I think you can do (make-instance 'standard-class :name '(your . cons)) to make a class that has a cons for a name, but I don't know if it's portable.
0:05:56
mfiano
I would like to (make-instance '(pkg1:foo pkg2:bar) ..) but if it's not possible I'll continue my search
0:11:57
pjb
mfiano: make-instance is a generic function. If you can map your list onto a symbol, then you can do it.
4:27:08
jcowan
Question for anyone: When you think of an alist, do you think by default of one with atomic keys that can be tested with EQL, or of one with keys that aren't necessarily atomic and are testd with EQUAL?
4:28:33
no-defun-allowed
Probably atomic keys that are EQL, so probably symbols. FWIW, EQL is the default test for assoc among other alist managing things.
4:33:58
White_Flame
I have a lot of macros that set alist & plist functions' :test to #'eq, so I often use the former
4:54:10
jcowan
As I've said before, EQ is basically a performance hack, and it's EQL that is Lisp's identity predicate.
4:55:29
White_Flame
but even with numbers, if you have array or list indexes/lengths, those numbers are always going to be fixnum, as they can only be as big as address space anyway