Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigData
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Majorczyk
BigData
Commits
7b247ec0
Commit
7b247ec0
authored
4 months ago
by
Mohamed Sebabti
Browse files
Options
Downloads
Patches
Plain Diff
model pickle
parent
4884cf9c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
modelsup0final.txt
+6
-47
6 additions, 47 deletions
modelsup0final.txt
random_forest_model_sup.pkl
+0
-0
0 additions, 0 deletions
random_forest_model_sup.pkl
with
6 additions
and
47 deletions
modelsup0final.txt
+
6
−
47
View file @
7b247ec0
...
...
@@ -34,50 +34,9 @@ Data columns (total 27 columns):
dtypes: float64(10), int64(11), object(6)
memory usage: 20.2+ MB
None
📊 RandomForestRegressor - MAE: 8.82, RMSE: 12.04, R²: 0.607
🔥 Importance des variables :
year: 0.5028
instrumentalness: 0.0748
nb_caracteres_sans_espaces: 0.0516
loudness: 0.0402
duree_minute: 0.0397
liveness: 0.0385
acousticness: 0.0375
energy: 0.0343
danceability: 0.0343
valence: 0.0336
⏱️ Temps d'exécution : 284.81 secondes
popularity pred_rf
0 24 NaN
1 38 NaN
2 40 NaN
3 20 NaN
4 47 NaN
5 32 NaN
6 52 NaN
7 21 NaN
8 36 36.570159
9 6 NaN
10 35 NaN
11 9 NaN
12 37 NaN
13 63 NaN
14 21 NaN
15 1 NaN
16 30 NaN
17 48 NaN
18 57 NaN
19 19 NaN
20 34 NaN
21 18 NaN
22 31 NaN
23 58 NaN
24 5 NaN
25 34 NaN
26 15 NaN
27 5 NaN
28 30 NaN
29 35 NaN
Traceback (most recent call last):
File "/home/mohamed.sebabti/Private/bigdata_git/bigdata/mlsup0final.py", line 67, in <module>
df = train_random_forest(df)
File "/home/mohamed.sebabti/Private/bigdata_git/bigdata/mlsup0final.py", line 36, in train_random_forest
pickle.dump(rf, model_file)
NameError: name 'pickle' is not defined
This diff is collapsed.
Click to expand it.
random_forest_model_sup.pkl
0 → 100644
+
0
−
0
View file @
7b247ec0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment