forked from Mateusz-Strozyk/lab5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
#pragma once | ||
|
||
/* | ||
- Stwórz klasę `Dataset`, zawierającą: | ||
- wektor obiektów klasy `Sample`, | ||
- metodę `push_back()`, dodającą nową próbkę do wektora: | ||
- metoda ta powinna sprawdzać, czy wektor `features` dla każdej z wprowadzanych próbek jest tej samej długości. | ||
*/ | ||
|
||
class Dataset { | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
#pragma once | ||
|
||
/* | ||
- Stwórz klasę `Sample`, zawierającą: | ||
- zmienną całkowitą `label`, | ||
- wektor liczb zmiennoprzecinkowych `features`, | ||
- w konstruktorze klasy `Sample` przyjmuj oba te parametry, | ||
- stwórz też dla nich *gettery*. | ||
*/ | ||
|
||
class Sample { | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters