-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from nleroy917/seeding
Set Seed + Iterations
- Loading branch information
Showing
10 changed files
with
143 additions
and
28 deletions.
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,2 +1,11 @@ | ||
{ | ||
} | ||
"css.validate": false, | ||
"editor.tabSize": 2, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.fixAll.eslint": true | ||
}, | ||
"editor.formatOnSave": true, // Tell VSCode to format files on save | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" // Tell VSCode to use Prettier as default file formatter | ||
} | ||
|
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,4 +1,4 @@ | ||
VERSION = "0.1.4" | ||
VERSION = "0.2.0" | ||
|
||
VALID_AMINO_ACIDS = "ARNDCQEGHILKMFPSTWYV" | ||
|
||
|
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { Dispatch, FC, SetStateAction } from 'react' | ||
|
||
interface Props { | ||
iterations: number | null | ||
setIterations: Dispatch<SetStateAction<number | null>> | ||
seed: number | string | null | ||
setSeed: Dispatch<SetStateAction<number | string | null>> | ||
} | ||
|
||
const HyperParameterSelection: FC<Props> = (props) => { | ||
const { iterations, setIterations, seed, setSeed } = props | ||
return ( | ||
<div className="flex flex-col md:flex-row"> | ||
<div> | ||
<p className="mt-2 text-lg font-bold text-blue-600"> | ||
Number of iterations: | ||
</p> | ||
<input | ||
value={iterations || undefined} | ||
onChange={(e) => setIterations(parseInt(e.target.value))} | ||
placeholder="1000" | ||
type="number" | ||
className="p-2 mb-2 text-sm text-gray-600 border border-black rounded-lg shadow-md" | ||
/> | ||
</div> | ||
<div className="md:ml-2"> | ||
<p className="mt-2 text-lg font-bold text-blue-600">Random Seed:</p> | ||
<input | ||
value={seed || undefined} | ||
onChange={(e) => setSeed(e.target.value)} | ||
className="p-2 mb-2 text-sm text-gray-600 border border-black rounded-lg shadow-md" | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default HyperParameterSelection |
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
1b42882
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
optipyzer – ./
optipyzer.vercel.app
optipyzer-git-master-nleroy917.vercel.app
optipyzer-nleroy917.vercel.app
optipyzer.com
www.optipyzer.com