Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EDdA Classification
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projet GEODE
EDdA Classification
Merge requests
!3
Branch dev
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Branch dev
branch_dev
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Ludovic Moncla
requested to merge
branch_dev
into
master
3 years ago
Overview
0
Commits
3
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Viewing commit
b9d052a7
Prev
Next
Show latest version
2 files
+
16
−
10
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
b9d052a7
[FIX] update experimentationclassicclassifiers by saving and loading models
· b9d052a7
Khalleud
authored
3 years ago
classifiers.py
+
2
−
0
Options
@@ -22,6 +22,8 @@ classifiers = [
param_grid_svm
=
{
'
C
'
:[
1
,
10
,
100
,
1000
],
'
gamma
'
:[
1
,
0.1
,
0.001
,
0.0001
],
'
kernel
'
:[
'
linear
'
,
'
rbf
'
]}
#param_grid_svm = {'C':[1,10],'gamma':[1], 'kernel':['linear','rbf']}
#param_grid_svm = [{'kernel': ['rbf'], 'gamma': [1e-3, 1e-4], 'C': [1, 10, 100, 1000]}, {'kernel': ['linear'], 'C': [1, 10, 100, 1000]}]
param_grid_decisionTree
=
{
'
criterion
'
:
[
'
gini
'
,
'
entropy
'
],
'
max_depth
'
:
range
(
5
,
10
),
'
min_samples_split
'
:
range
(
5
,
10
),
'
min_samples_leaf
'
:
range
(
1
,
5
)
}
param_grid_rfc
=
{
'
n_estimators
'
:
[
200
,
500
],
'
max_features
'
:
[
'
auto
'
,
'
sqrt
'
,
'
log2
'
],
'
max_depth
'
:
[
4
,
5
,
6
,
7
,
8
],
'
criterion
'
:[
'
gini
'
,
'
entropy
'
]
}
param_grid_lr
=
{
"
C
"
:
np
.
logspace
(
-
3
,
3
,
7
),
"
penalty
"
:[
"
l1
"
,
"
l2
"
]}
Loading