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
from multiprocessing import Process | |
import os | |
import time | |
import sys | |
def f_sleep(): | |
time.sleep(1) | |
if __name__ == '__main__': | |
import datetime | |
starttime = datetime.datetime.now() |
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
# Poskusimo predvidevati razino insulina na temelju ostalih parametrov | |
import pandas | |
from sklearn.model_selection import train_test_split | |
from sklearn.linear_model import LinearRegression, LogisticRegression | |
from tensorflow.keras import layers | |
from tensorflow import keras | |
import tensorflow | |
# Prvi del, kje uporabljamo linearno regresijo z standardnimi podatki in jo testiramo na standardnih podatkih in optimiziranih podatkih | |
# Potem imamo inteligentni algoritem z optimiziranimi, katerega testiramo z standardnimi in optimiziraimi podatki |
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
<html> | |
<head> | |
<title> | |
Moja stranica | |
</title> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<h1>Naslov</h1> | |
<?php |
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
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string>; | |
using namespace std; | |
int main() | |
{ | |
int prvi_broj = 0; |
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
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
void ispis_duzega_imena_x_puta(string ime1, string ime2) { | |
if (ime1.length() < ime2.length()) { | |
cout << "-------------------------" << endl; |
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
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
bool sadrzi_slovo(string rijec, char slovo) { | |
for (int pozicija = 0; pozicija < rijec.length(); pozicija++) { | |
if (rijec[pozicija] == slovo) { |
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
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
void usporedba_duzina(string ime1, string ime2) { | |
if (ime1.length() > ime2.length()) { cout << "Prvo ime je duze od drugog." << endl; } | |
else if (ime2.length() > ime1.length()) { cout << "Drugo ime je duze od prvog." << endl ; } |
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
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
// funkcija koja ime onoliko puta koliki je broj slova. | |
//void ispis_imena(string ime) { | |
// for (int pozicija = 0; pozicija < ime.length(); pozicija++) |
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
// ConsoleApplication1.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string>; | |
using namespace std; | |
int main() | |
{ |
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
#include "stdafx.h" | |
#include <iostream> | |
#include <string>; | |
using namespace std; | |
int main() | |
{ | |
string rijec; | |
int brojac_a = 0; | |
int brojac_b = 0; |
NewerOlder