This repository was archived by the owner on Dec 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +45
-1
lines changed Expand file tree Collapse file tree 7 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+ # cython: cdivision=True
3+ # cython: boundscheck=False
4+ # cython: wraparound=False
5+ # cython: language_level=3
6+ #
17# Author: Mathieu Blondel
28# License: BSD
39
Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+ # cython: cdivision=True
3+ # cython: boundscheck=False
4+ # cython: wraparound=False
5+ # cython: language_level=3
6+ #
7+ # Authors: Fabian Pedregosa
8+ # License: BSD
19
210cimport numpy as np
311from cython cimport floating
Original file line number Diff line number Diff line change 55# cython: language_level=3
66#
77# Authors: Fabian Pedregosa
8- #
8+ # License: BSD
99
1010"""
1111These are some helper functions to compute the proximal operator of some common penalties
Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+ # cython: cdivision=True
3+ # cython: boundscheck=False
4+ # cython: wraparound=False
5+ # cython: language_level=3
6+ #
7+ # Copyright 2005 Robert Kern (robert.kern@gmail.com)
18
29cdef extern from " randomkit.h" :
310
Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+ # cython: cdivision=True
3+ # cython: boundscheck=False
4+ # cython: wraparound=False
5+ # cython: language_level=3
6+ #
17# Copyright 2005 Robert Kern (robert.kern@gmail.com)
28
39from libc cimport stdlib
Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+ # cython: cdivision=True
3+ # cython: boundscheck=False
4+ # cython: wraparound=False
5+ # cython: language_level=3
6+ #
7+ # Authors: Mathieu Blondel
8+ # Fabian Pedregosa
9+ # Arnaud Rachez
10+ # License: BSD
111
212cimport numpy as np
313
Original file line number Diff line number Diff line change 1+ # encoding: utf-8
2+ # cython: cdivision=True
3+ # cython: boundscheck=False
4+ # cython: wraparound=False
5+ # cython: language_level=3
6+ #
17# Author: Mathieu Blondel
8+ # Peter Prettenhofer (loss functions)
29# License: BSD
310
411cdef class LossFunction:
You can’t perform that action at this time.
0 commit comments