Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pipelines
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
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
bob
bob.pipelines
Commits
5ff8b6fa
Commit
5ff8b6fa
authored
4 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Merge branch 'supervised' into 'master'"
This reverts merge request
!36
parent
bd57d13a
No related branches found
No related tags found
1 merge request
!37
Revert "For some reason, the class information is not passed in the sample wrapper"
Pipeline
#42331
failed
4 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/pipelines/wrappers.py
+1
-1
1 addition, 1 deletion
bob/pipelines/wrappers.py
doc/checkpoint.rst
+1
-1
1 addition, 1 deletion
doc/checkpoint.rst
with
2 additions
and
2 deletions
bob/pipelines/wrappers.py
+
1
−
1
View file @
5ff8b6fa
...
...
@@ -163,7 +163,7 @@ class SampleWrapper(BaseWrapper, TransformerMixin):
X
=
SampleBatch
(
samples
)
self
.
estimator
=
self
.
estimator
.
fit
(
X
,
y
=
y
,
**
kwargs
)
self
.
estimator
=
self
.
estimator
.
fit
(
X
,
**
kwargs
)
copy_learned_attributes
(
self
.
estimator
,
self
)
return
self
...
...
This diff is collapsed.
Click to expand it.
doc/checkpoint.rst
+
1
−
1
View file @
5ff8b6fa
...
...
@@ -40,7 +40,7 @@ transformer.
... print(f"Transforming {len(X)} samples ...")
... return np.array(X) + np.array(sample_specific_offsets)
...
... def fit(self, X
, y=None
):
... def fit(self, X):
... print("Fit was called!")
... return self
...
...
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