Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kfino
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Isabelle Sanchez
kfino
Commits
d5639ca8
Commit
d5639ca8
authored
2 years ago
by
sanchezi
Browse files
Options
Downloads
Patches
Plain Diff
correc DESCRIPTION pour voir si correc CI/CD
parent
de5cb030
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#55529
failed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
DESCRIPTION
+6
-5
6 additions, 5 deletions
DESCRIPTION
R/kfino.R
+4
-4
4 additions, 4 deletions
R/kfino.R
with
11 additions
and
9 deletions
.gitlab-ci.yml
+
1
−
0
View file @
d5639ca8
...
...
@@ -30,3 +30,4 @@ installpkg:
stage
:
deploy
script
:
-
R -e 'devtools::install(build_vignettes=TRUE,dependencies = TRUE)'
This diff is collapsed.
Click to expand it.
DESCRIPTION
+
6
−
5
View file @
d5639ca8
...
...
@@ -17,14 +17,15 @@ Encoding: UTF-8
LazyData: TRUE
URL: https://forgemia.inra.fr/isabelle.sanchez/kfino
BugReports: https://forgemia.inra.fr/isabelle.sanchez/kfino/issues
Imports: ggplot2, dplyr
Imports:
ggplot2,
dplyr,
foreach,
doParallel,
parallel
Suggests:
rmarkdown,
knitr,
RColorBrewer,
foreach,
parallel,
doParallel,
testthat (>= 3.0.0)
VignetteBuilder: knitr
RoxygenNote: 7.1.2
...
...
This diff is collapsed.
Click to expand it.
R/kfino.R
+
4
−
4
View file @
d5639ca8
...
...
@@ -193,8 +193,8 @@ kfino_fit<-function(datain,Tvar,Yvar,
TpsTps
=
Tps
NN
=
N
#
Subechant=sort(sample(1:NN,50))
Subechant
=
sort
(
.Internal
(
sample
(
NN
,
50L
,
FALSE
,
NULL
)))
Subechant
=
sort
(
sample
(
1
:
NN
,
50
))
#
Subechant=sort(.Internal(sample(NN, 50L, FALSE, NULL)))
Y
=
YY
[
Subechant
]
Tps
=
TpsTps
[
Subechant
]
N
=
50
...
...
@@ -215,8 +215,8 @@ kfino_fit<-function(datain,Tvar,Yvar,
for
(
p
in
seqp
){
# A voir si 50 sous-echantillons au hasard suffisent. Comme dans
# Robbins Monroe, permet aussi de reduire l'impact de la troncature
#
Subechant=sort(sample(1:NN,50))
Subechant
=
sort
(
.Internal
(
sample
(
NN
,
50L
,
FALSE
,
NULL
)))
Subechant
=
sort
(
sample
(
1
:
NN
,
50
))
#
Subechant=sort(.Internal(sample(NN, 50L, FALSE, NULL)))
Y
=
YY
[
Subechant
]
Tps
=
TpsTps
[
Subechant
]
...
...
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