Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
wendelin
Commits
f38f371c
Commit
f38f371c
authored
Jul 13, 2020
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
product: allow sklearn for machine learning
parent
1845dc9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
product/Wendelin/__init__.py
product/Wendelin/__init__.py
+4
-0
No files found.
product/Wendelin/__init__.py
View file @
f38f371c
...
@@ -57,6 +57,8 @@ sz = np.array([('2017-07-12T12:30:20',)], dtype=[('date', 'M8[s]')])
...
@@ -57,6 +57,8 @@ sz = np.array([('2017-07-12T12:30:20',)], dtype=[('date', 'M8[s]')])
allow_type
(
type
(
sz
[
0
][
'date'
]))
allow_type
(
type
(
sz
[
0
][
'date'
]))
allow_module
(
'sklearn'
)
allow_module
(
'sklearn'
)
allow_module
(
'sklearn.model_selection'
)
allow_module
(
'sklearn.linear_model'
)
allow_module
(
'scipy'
)
allow_module
(
'scipy'
)
allow_module
(
'wendelin.bigarray.array_zodb'
)
allow_module
(
'wendelin.bigarray.array_zodb'
)
...
@@ -76,6 +78,8 @@ allow_type(pd.Index)
...
@@ -76,6 +78,8 @@ allow_type(pd.Index)
allow_type
(
pd
.
core
.
groupby
.
DataFrameGroupBy
)
allow_type
(
pd
.
core
.
groupby
.
DataFrameGroupBy
)
allow_class
(
pd
.
DataFrame
)
allow_class
(
pd
.
DataFrame
)
import
sklearn.linear_model
allow_class
(
sklearn
.
linear_model
.
LinearRegression
)
# Modify 'safetype' dict in full_write_guard function
# Modify 'safetype' dict in full_write_guard function
# of RestrictedPython (closure) directly To allow
# of RestrictedPython (closure) directly To allow
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment